commit | author | age
|
48fe87
|
1 |
/* Pretty printing styles. Used with prettify.js. |
M |
2 |
* |
|
3 |
* Name: Stanley Ng |
|
4 |
* Email: stanleyhlng@googlegroups.com |
|
5 |
* |
|
6 |
*/ |
|
7 |
.pln { |
|
8 |
color: #bd3613; } |
|
9 |
|
|
10 |
.str { |
|
11 |
color: #269186; } |
|
12 |
|
|
13 |
.kwd { |
|
14 |
color: #859900; } |
|
15 |
|
|
16 |
.com { |
|
17 |
color: #586175; |
|
18 |
font-style: italic; } |
|
19 |
|
|
20 |
.typ { |
|
21 |
color: #b58900; } |
|
22 |
|
|
23 |
.lit { |
|
24 |
color: #2aa198; } |
|
25 |
|
|
26 |
.pun { |
|
27 |
color: #839496; } |
|
28 |
|
|
29 |
.opn { |
|
30 |
color: #839496; } |
|
31 |
|
|
32 |
.clo { |
|
33 |
color: #839496; } |
|
34 |
|
|
35 |
.tag { |
|
36 |
color: #268bd2; } |
|
37 |
|
|
38 |
.atn { |
|
39 |
color: #586175; } |
|
40 |
|
|
41 |
.atv { |
|
42 |
color: #2aa198; } |
|
43 |
|
|
44 |
.dec { |
|
45 |
color: #268bd2; } |
|
46 |
|
|
47 |
.var { |
|
48 |
color: #268bd2; } |
|
49 |
|
|
50 |
.fun { |
|
51 |
color: #FF0000; } |
|
52 |
|
|
53 |
/* Put a border around prettyprinted code snippets. */ |
|
54 |
pre.prettyprint { |
|
55 |
background-color: #fdf6e3; |
|
56 |
padding: 10px; |
|
57 |
border: 1px solid #E1E1E8; } |
|
58 |
|
|
59 |
/* Specify class=linenums on a pre to get line numbering */ |
|
60 |
ol.linenums { |
|
61 |
color: #4c666c; |
|
62 |
margin: 0 0 0 40px; } |
|
63 |
|
|
64 |
ol.linenums li { |
|
65 |
line-height: 18px; |
|
66 |
padding-left: 12px; } |