提交 | 用户 | 时间
|
58d006
|
1 |
.com { color: #93a1a1; } |
A |
2 |
.lit { color: #195f91; } |
|
3 |
.pun, .opn, .clo { color: #93a1a1; } |
|
4 |
.fun { color: #dc322f; } |
|
5 |
.str, .atv { color: #D14; } |
|
6 |
.kwd, .prettyprint .tag { color: #1e347b; } |
|
7 |
.typ, .atn, .dec, .var { color: teal; } |
|
8 |
.pln { color: #48484c; } |
|
9 |
|
|
10 |
.prettyprint { |
|
11 |
padding: 8px; |
|
12 |
background-color: #f7f7f9; |
|
13 |
border: 1px solid #e1e1e8; |
|
14 |
} |
|
15 |
.prettyprint.linenums { |
|
16 |
-webkit-box-shadow: inset 40px 0 0 #fbfbfc, inset 41px 0 0 #ececf0; |
|
17 |
box-shadow: inset 40px 0 0 #fbfbfc, inset 41px 0 0 #ececf0; |
|
18 |
} |
|
19 |
|
|
20 |
/* Specify class=linenums on a pre to get line numbering */ |
|
21 |
ol.linenums { |
|
22 |
margin: 0 0 0 33px; /* IE indents via margin-left */ |
|
23 |
} |
|
24 |
ol.linenums li { |
|
25 |
padding-left: 12px; |
|
26 |
color: #bebec5; |
|
27 |
line-height: 20px; |
|
28 |
text-shadow: 0 1px 0 #fff; |
|
29 |
} |
|
30 |
|
|
31 |
|
|
32 |
/* |
|
33 |
* Derived from einaros's Sons of Obsidian theme at |
|
34 |
* http://studiostyl.es/schemes/son-of-obsidian by |
|
35 |
* Alex Ford of CodeTunnel: |
|
36 |
* http://CodeTunnel.com/blog/post/71/google-code-prettify-obsidian-theme |
|
37 |
*/ |
|
38 |
/** |
|
39 |
.str |
|
40 |
{ |
|
41 |
color: #EC7600; |
|
42 |
} |
|
43 |
.kwd |
|
44 |
{ |
|
45 |
color: #93C763; |
|
46 |
} |
|
47 |
.com |
|
48 |
{ |
|
49 |
color: #66747B; |
|
50 |
} |
|
51 |
.typ |
|
52 |
{ |
|
53 |
color: #678CB1; |
|
54 |
} |
|
55 |
.lit |
|
56 |
{ |
|
57 |
color: #FACD22; |
|
58 |
} |
|
59 |
.pun |
|
60 |
{ |
|
61 |
color: #F1F2F3; |
|
62 |
} |
|
63 |
.pln |
|
64 |
{ |
|
65 |
color: #F1F2F3; |
|
66 |
} |
|
67 |
.tag |
|
68 |
{ |
|
69 |
color: #8AC763; |
|
70 |
} |
|
71 |
.atn |
|
72 |
{ |
|
73 |
color: #E0E2E4; |
|
74 |
} |
|
75 |
.atv |
|
76 |
{ |
|
77 |
color: #EC7600; |
|
78 |
} |
|
79 |
.dec |
|
80 |
{ |
|
81 |
color: purple; |
|
82 |
} |
|
83 |
pre.prettyprint |
|
84 |
{ |
|
85 |
border: 0px solid #888; |
|
86 |
} |
|
87 |
ol.linenums |
|
88 |
{ |
|
89 |
margin-top: 0; |
|
90 |
margin-bottom: 0; |
|
91 |
} |
|
92 |
.prettyprint { |
|
93 |
background: #000; |
|
94 |
} |
|
95 |
li.L0, li.L1, li.L2, li.L3, li.L4, li.L5, li.L6, li.L7, li.L8, li.L9 |
|
96 |
{ |
|
97 |
color: #555; |
|
98 |
list-style-type: decimal; |
|
99 |
} |
|
100 |
li.L1, li.L3, li.L5, li.L7, li.L9 { |
|
101 |
background: #111; |
|
102 |
} |
|
103 |
@media print |
|
104 |
{ |
|
105 |
.str |
|
106 |
{ |
|
107 |
color: #060; |
|
108 |
} |
|
109 |
.kwd |
|
110 |
{ |
|
111 |
color: #006; |
|
112 |
font-weight: bold; |
|
113 |
} |
|
114 |
.com |
|
115 |
{ |
|
116 |
color: #600; |
|
117 |
font-style: italic; |
|
118 |
} |
|
119 |
.typ |
|
120 |
{ |
|
121 |
color: #404; |
|
122 |
font-weight: bold; |
|
123 |
} |
|
124 |
.lit |
|
125 |
{ |
|
126 |
color: #044; |
|
127 |
} |
|
128 |
.pun |
|
129 |
{ |
|
130 |
color: #440; |
|
131 |
} |
|
132 |
.pln |
|
133 |
{ |
|
134 |
color: #000; |
|
135 |
} |
|
136 |
.tag |
|
137 |
{ |
|
138 |
color: #006; |
|
139 |
font-weight: bold; |
|
140 |
} |
|
141 |
.atn |
|
142 |
{ |
|
143 |
color: #404; |
|
144 |
} |
|
145 |
.atv |
|
146 |
{ |
|
147 |
color: #060; |
|
148 |
} |
|
149 |
} |
|
150 |
*/ |