Line | |
---|
1 | /* Pretty printing styles. Used with prettify.js. |
---|
2 | * |
---|
3 | * This version is slight modified based on the original version. |
---|
4 | * |
---|
5 | * Name: Stanley Ng |
---|
6 | * Email: stanleyhlng@googlegroups.com |
---|
7 | * |
---|
8 | * Reference: |
---|
9 | * http://code.google.com/p/google-code-prettify/source/browse/trunk/src/prettify.css |
---|
10 | */ |
---|
11 | .pln { |
---|
12 | color: #48484C; } |
---|
13 | |
---|
14 | .str { |
---|
15 | color: #DD1144; } |
---|
16 | |
---|
17 | .kwd { |
---|
18 | color: #1E347B; } |
---|
19 | |
---|
20 | .com { |
---|
21 | color: #93A1A1; } |
---|
22 | |
---|
23 | .typ { |
---|
24 | color: teal; } |
---|
25 | |
---|
26 | .lit { |
---|
27 | color: #195F91; } |
---|
28 | |
---|
29 | .pun { |
---|
30 | color: #93A1A1; } |
---|
31 | |
---|
32 | .opn { |
---|
33 | color: #93A1A1; } |
---|
34 | |
---|
35 | .clo { |
---|
36 | color: #93A1A1; } |
---|
37 | |
---|
38 | .tag { |
---|
39 | color: #008; } |
---|
40 | |
---|
41 | .atn { |
---|
42 | color: teal; } |
---|
43 | |
---|
44 | .atv { |
---|
45 | color: #DD1144; } |
---|
46 | |
---|
47 | .dec { |
---|
48 | color: teal; } |
---|
49 | |
---|
50 | .var { |
---|
51 | color: teal; } |
---|
52 | |
---|
53 | .fun { |
---|
54 | color: #DC322F; } |
---|
55 | |
---|
56 | /* Put a border around prettyprinted code snippets. */ |
---|
57 | pre.prettyprint { |
---|
58 | background-color: #F7F7F9; |
---|
59 | padding: 10px; |
---|
60 | border: 1px solid #E1E1E8; } |
---|
61 | |
---|
62 | pre.prettyprint.linenums { |
---|
63 | box-shadow: 40px 0 0 #FBFBFC inset, 41px 0 0 #ECECF0 inset; } |
---|
64 | |
---|
65 | /* Specify class=linenums on a pre to get line numbering */ |
---|
66 | ol.linenums { |
---|
67 | color: #1E347B;} |
---|
68 | |
---|
69 | ol.linenums li { |
---|
70 | color: #BEBEC5; |
---|
71 | line-height: 18px; |
---|
72 | padding-left: 12px; |
---|
73 | text-shadow: 0 1px 0 #FFFFFF; } |
---|
74 | |
---|
75 | li.L0, |
---|
76 | li.L1, |
---|
77 | li.L2, |
---|
78 | li.L3, |
---|
79 | li.L5, |
---|
80 | li.L6, |
---|
81 | li.L7, |
---|
82 | li.L8 { |
---|
83 | list-style-type: normal; } |
---|
84 | |
---|
85 | /* Alternate shading for lines */ |
---|
86 | li.L1, |
---|
87 | li.L3, |
---|
88 | li.L5, |
---|
89 | li.L7, |
---|
90 | li.L9 { |
---|
91 | background: #eee; } |
---|
Note: See
TracBrowser
for help on using the repository browser.