BigW Consortium Gitlab

highlight.css.scss 4.34 KB
Newer Older
Nihad Abbasov committed
1
@mixin round-borders-all($radius) {
gitlabhq committed
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
  border: 1px solid #eaeaea;
  -moz-border-radius: $radius;
  -webkit-border-radius: $radius;
  border-radius: $radius;
}

table.highlighttable
{
  margin:0px;
  padding:0px;
  font-size:12px;
  table-layout:fixed
}

td.code,
td.linenos{
  padding:0;
  margin:0;
  vertical-align:top;
}

.highlight{
  background:none;
gitlabhq committed
25 26
  padding:10px 0px 0px 10px;
  margin-left:0px;
gitlabhq committed
27 28 29 30
}
.highlight pre{
}

Nihad Abbasov committed
31
.linenodiv pre {
gitlabhq committed
32 33 34
  white-space:pre-line;
}

Nihad Abbasov committed
35
td.linenos {
gitlabhq committed
36
  /*background:#F7F7F7;*/
gitlabhq committed
37 38 39 40 41 42 43 44
  color:#777;
  padding:10px 0px 0px 10px;
  float:left;
  width:45px;
  border-right: 1px solid #ccc;

}

Nihad Abbasov committed
45
td.code .highlight {
gitlabhq committed
46
  overflow: auto;
gitlabhq committed
47 48 49 50 51 52 53 54 55 56
}
table.highlighttable pre{
  padding:0;
  margin:0;
  font-family: 'Courier New', 'andale mono','lucida console',monospace;
  color: #333;
  text-align:left;
}

.git-empty .highlight {
Nihad Abbasov committed
57
  @include round-borders-all(4px);
gitlabhq committed
58 59 60 61 62 63 64 65 66 67 68 69 70 71 72
  background:#eee;
  padding:5px;
  //overflow-x:scroll;
  pre{
    padding:0;
    line-height:2.0;
    margin:0;
    font-family: 'Courier New', 'andale mono','lucida console',monospace;
    color: #333;
    text-align:left;}
  }

.shadow{
  -webkit-box-shadow:0 5px 15px #000;
  -moz-box-shadow:0 5px 15px #000;
Nihad Abbasov committed
73
  box-shadow:0 5px 15px #000;
gitlabhq committed
74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105
}

.hll { background-color: #ffffff }
.c { color: #888888; font-style: italic } /* Comment */
.err { color: #a61717; background-color: #e3d2d2 } /* Error */
.k { color: #000000; font-weight: bold } /* Keyword */
.cm { color: #888888 } /* Comment.Multiline */
.cp { color: #cc0000; font-weight: bold } /* Comment.Preproc */
.c1 { color: #888888 } /* Comment.Single */
.cs { color: #cc0000; font-weight: bold; background-color: #fff0f0 } /* Comment.Special */
.gd { color: #000000; background-color: #ffdddd } /* Generic.Deleted */
.ge { font-style: italic } /* Generic.Emph */
.gr { color: #aa0000 } /* Generic.Error */
.gh { color: #303030 } /* Generic.Heading */
.gi { color: #000000; background-color: #ddffdd } /* Generic.Inserted */
.go { color: #888888 } /* Generic.Output */
.gp { color: #555555 } /* Generic.Prompt */
.gs { font-weight: bold } /* Generic.Strong */
.gu { color: #606060 } /* Generic.Subheading */
.gt { color: #aa0000 } /* Generic.Traceback */
.highlight .kc{font-weight:bold;} /* Keyword.Constant */
.highlight .kd{font-weight:bold;} /* Keyword.Declaration */
.highlight .kn{font-weight:bold;} /* Keyword.Namespace */
.highlight .kp{font-weight:bold;} /* Keyword.Pseudo */
.highlight .kr{font-weight:bold;} /* Keyword.Reserved */
.highlight .kt{color:#458;font-weight:bold;} /* Keyword.Type */
.m { color: #0000DD; font-weight: bold } /* Literal.Number */
.s { color: #dd2200; background-color: #fff0f0 } /* Literal.String */
.highlight .na{color:#008080;} /* Name.Attribute */
.highlight .nb{color:#0086B3;} /* Name.Builtin */
.highlight .nc{color:#458;font-weight:bold;} /* Name.Class */
.highlight .no{color:#008080;} /* Name.Constant */
Nihad Abbasov committed
106
.highlight .ni{color:#800080;}
gitlabhq committed
107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133
.highlight .ne{color:#900;font-weight:bold;} /* Name.Exception */
.highlight .nf{color:#900;font-weight:bold;} /* Name.Function */
.highlight .nn{color:#005;font-weight:bold;} /* Name.Namespace */
.highlight .nt{color:#000080;} /* Name.Tag */
.highlight .nv{color:#008080;} /* Name.Variable */
.py { color: #336699; font-weight: bold } /* Name.Property */
.ow { color: #008800 } /* Operator.Word */
.w { color: #bbbbbb } /* Text.Whitespace */
.mf { color: #0000DD; font-weight: bold } /* Literal.Number.Float */
.mh { color: #0000DD; font-weight: bold } /* Literal.Number.Hex */
.highlight .mi {color:#099;} /* Literal.Number.Integer */
.mo { color: #0000DD; font-weight: bold } /* Literal.Number.Oct */
.sb { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Backtick */
.highlight .sc{color:#d14;} /* Literal.String.Char */
.sd { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Doc */
.highlight .s2{color:#d14;} /* Literal.String.Double */
.highlight .se{color:#d14;} /* Literal.String.Escape */
.highlight .sh{color:#d14;} /* Literal.String.Heredoc */
.highlight .si{color:#d14;} /* Literal.String.Interpol */
.highlight .sx{color:#d14;} /* Literal.String.Other */
.highlight .sr{color:#d14;} /* Literal.String.Regex */
.highlight .s1{color:#d14;} /* Literal.String.Single */
.highlight .ss{color:#d14;} /* Literal.String.Symbol */
.bp { color: #003388 } /* Name.Builtin.Pseudo */
.vc { color: #336699 } /* Name.Variable.Class */
.vg { color: #dd7700 } /* Name.Variable.Global */
.vi { color: #3333bb }