OSDN Git Service

Included good default for Windows and standardized <pre> font families
[wvm/gitlab.git] / app / assets / stylesheets / highlight / white.scss
1 table.highlighttable
2 {
3   margin:0px;
4   padding:0px;
5   font-size:12px;
6   table-layout:fixed;
7   background: #EEE;
8 }
9
10 td.code,
11 td.linenos{
12   padding:0;
13   margin:0;
14   border-top:0;
15   vertical-align:top;
16 }
17
18 .highlighttable .highlight{
19   background:none;
20   padding:10px 0px 0px 10px;
21   margin-left:0px;
22   border-left: 1px solid #DEE2E3;
23   background: white;
24 }
25
26 .linenodiv pre,
27 .highlighttable .highlight pre{
28   margin:0;
29   padding:0;
30   background:none;
31   border:none;
32 }
33
34 .linenodiv pre {
35   white-space:pre-line;
36 }
37
38 td.linenos {
39   /*background:#F7F7F7;*/
40   color:#666;
41   padding:10px 0px 0px 10px;
42   float:left;
43   width:45px;
44   border-right: 1px solid #ccc;
45
46 }
47
48 td.code .highlight {
49   overflow: auto;
50 }
51 table.highlighttable pre{
52   padding:0;
53   margin:0;
54   font-family: 'Menlo', 'Liberation Mono', 'Consolas', 'Courier New', 'andale mono','lucida console',monospace;
55   color: #333;
56   text-align:left;
57 }
58
59 .git-empty .highlight {
60   pre{
61     padding:15px;
62     line-height:2.0;
63     margin:0;
64     font-family: 'Menlo', 'Liberation Mono', 'Consolas', 'Courier New', 'andale mono','lucida console',monospace;
65     color: #333;
66     text-align:left;}
67   }
68
69 .shadow{
70   -webkit-box-shadow:0 5px 15px #000;
71   -moz-box-shadow:0 5px 15px #000;
72   box-shadow:0 5px 15px #000;
73 }
74
75 .hll { background-color: #ffffff }
76 .c { color: #888888; font-style: italic } /* Comment */
77 .err { color: #a61717; background-color: #e3d2d2 } /* Error */
78 .k { color: #000000; font-weight: bold } /* Keyword */
79 .cm { color: #888888 } /* Comment.Multiline */
80 .cp { color: #cc0000; font-weight: bold } /* Comment.Preproc */
81 .c1 { color: #888888 } /* Comment.Single */
82 .cs { color: #cc0000; font-weight: bold; background-color: #fff0f0 } /* Comment.Special */
83 .gd { color: #000000; background-color: #ffdddd } /* Generic.Deleted */
84 .ge { font-style: italic } /* Generic.Emph */
85 .gr { color: #aa0000 } /* Generic.Error */
86 .gh { color: #303030 } /* Generic.Heading */
87 .gi { color: #000000; background-color: #ddffdd } /* Generic.Inserted */
88 .go { color: #888888 } /* Generic.Output */
89 .gp { color: #555555 } /* Generic.Prompt */
90 .gs { font-weight: bold } /* Generic.Strong */
91 .gu { color: #606060 } /* Generic.Subheading */
92 .gt { color: #aa0000 } /* Generic.Traceback */
93 .highlight .kc{font-weight:bold;} /* Keyword.Constant */
94 .highlight .kd{font-weight:bold;} /* Keyword.Declaration */
95 .highlight .kn{font-weight:bold;} /* Keyword.Namespace */
96 .highlight .kp{font-weight:bold;} /* Keyword.Pseudo */
97 .highlight .kr{font-weight:bold;} /* Keyword.Reserved */
98 .highlight .kt{color:#458;font-weight:bold;} /* Keyword.Type */
99 .m { color: #0000DD; font-weight: bold } /* Literal.Number */
100 .s { color: #dd2200; background-color: #fff0f0 } /* Literal.String */
101 .highlight .na{color:#008080;} /* Name.Attribute */
102 .highlight .nb{color:#0086B3;} /* Name.Builtin */
103 .highlight .nc{color:#458;font-weight:bold;} /* Name.Class */
104 .highlight .no{color:#008080;} /* Name.Constant */
105 .highlight .ni{color:#800080;}
106 .highlight .ne{color:#900;font-weight:bold;} /* Name.Exception */
107 .highlight .nf{color:#900;font-weight:bold;} /* Name.Function */
108 .highlight .nn{color:#005;font-weight:bold;} /* Name.Namespace */
109 .highlight .nt{color:#000080;} /* Name.Tag */
110 .highlight .nv{color:#008080;} /* Name.Variable */
111 .py { color: #336699; font-weight: bold } /* Name.Property */
112 .ow { color: #008800 } /* Operator.Word */
113 .w { color: #bbbbbb } /* Text.Whitespace */
114 .mf { color: #0000DD; font-weight: bold } /* Literal.Number.Float */
115 .mh { color: #0000DD; font-weight: bold } /* Literal.Number.Hex */
116 .highlight .mi {color:#099;} /* Literal.Number.Integer */
117 .mo { color: #0000DD; font-weight: bold } /* Literal.Number.Oct */
118 .sb { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Backtick */
119 .highlight .sc{color:#d14;} /* Literal.String.Char */
120 .sd { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Doc */
121 .highlight .s2{color:#d14;} /* Literal.String.Double */
122 .highlight .se{color:#d14;} /* Literal.String.Escape */
123 .highlight .sh{color:#d14;} /* Literal.String.Heredoc */
124 .highlight .si{color:#d14;} /* Literal.String.Interpol */
125 .highlight .sx{color:#d14;} /* Literal.String.Other */
126 .highlight .sr{color:#d14;} /* Literal.String.Regex */
127 .highlight .s1{color:#d14;} /* Literal.String.Single */
128 .highlight .ss{color:#d14;} /* Literal.String.Symbol */
129 .bp { color: #003388 } /* Name.Builtin.Pseudo */
130 .vc { color: #336699 } /* Name.Variable.Class */
131 .vg { color: #dd7700 } /* Name.Variable.Global */
132 .vi { color: #3333bb }