1 |
dpavlin |
41 |
/* CodePress compatible CSS for div class="code" */ |
2 |
|
|
|
3 |
dpavlin |
46 |
div.code-name { |
4 |
|
|
background: #eee; |
5 |
|
|
padding: 0.5em; |
6 |
|
|
} |
7 |
|
|
|
8 |
|
|
div.code { |
9 |
|
|
border: 3px solid #eee; |
10 |
|
|
margin-bottom: 1em; |
11 |
|
|
padding: 1em; |
12 |
|
|
background:white; |
13 |
|
|
font-family:monospace; |
14 |
|
|
font-size:13px; |
15 |
|
|
white-space:pre; |
16 |
|
|
line-height:16px; |
17 |
|
|
} |
18 |
dpavlin |
41 |
div.code P {margin:0;padding:0;border:0;outline:0;display:block;white-space:pre;} |
19 |
|
|
div.code b, |
20 |
|
|
div.code i, |
21 |
|
|
div.code s, |
22 |
|
|
div.code u, |
23 |
|
|
div.code a, |
24 |
|
|
div.code em, |
25 |
|
|
div.code tt, |
26 |
|
|
div.code ins, |
27 |
|
|
div.code big, |
28 |
|
|
div.code cite, |
29 |
|
|
div.code strong, |
30 |
|
|
div.code var, |
31 |
|
|
div.code dfn {text-decoration:none;font-weight:normal;font-style:normal;font-size:13px;} |
32 |
|
|
|
33 |
|
|
/* |
34 |
|
|
* CodePress color styles for Perl syntax highlighting |
35 |
|
|
* By J. Nick Koston |
36 |
|
|
*/ |
37 |
|
|
div.code b {color:#7F0055;font-weight:bold;} /* reserved words */ |
38 |
|
|
div.code i, i b, i s, i em, i a, i u {color:gray;font-weight:normal;} /* comments */ |
39 |
|
|
div.code s, s b, s a, s em, s u {color:#2A00FF;font-weight:normal;} /* strings */ |
40 |
|
|
div.code a {color:#006700;font-weight:bold;} /* variables */ |
41 |
|
|
div.code em {color:darkblue;font-weight:bold;} /* functions */ |
42 |
|
|
div.code u {font-weight:bold;} /* special chars */ |
43 |
|
|
|