-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtoychest.less
58 lines (52 loc) · 1.38 KB
/
toychest.less
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
.prettyprint {
display: block;
background-color: #2f475d;
border-color: #3a526b;
color: #ddd;
padding: .5em;
line-height: 1.3;
overflow: auto;
white-space: pre-wrap;
word-wrap: break-word;
.nocode { background-color: none; color: #2f475d }
.str { color: #16a085 } // string
.kwd { color: #e67055; font-weight: bold }
.com { color: #407c9b } // comment
.typ { color: #34d58e } // type
.lit { color: #3eb5e1 } // literal
.pun { color: #34d58e } // punctuation
.pln { color: #ddd } // plaintext
.tag { color: #e39f32; font-weight: bold } // html/xml tag
.atn { color: #e67e22; font-weight: bold } // attribute name
.atv { color: #ecdd5d } // attribute value
.dec { color: #16a085 } // decimal
// Specify class=linenums on a pre to get line numbering
ol.linenums {
margin-top: 0;
margin-bottom: 0;
color: #16a085;
position: relative;
}
ol.linenums li {
margin: 0;
list-style-type: decimal;
background-color: transparent;
}
// highlight current line
ol li:hover { background-color: #1a2631; }
}
@media print {
.prettyprint {
background-color: none;
.str { color: #060 }
.kwd { color: #006; font-weight: bold }
.com { color: #600; font-style: italic }
.typ { color: #404; font-weight: bold }
.lit { color: #044 }
.pun { color: #440 }
.pln { color: #000 }
.tag { color: #006; font-weight: bold }
.atn { color: #404 }
.atv { color: #060 }
}
}