-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathprettify.css
128 lines (110 loc) · 3.18 KB
/
prettify.css
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
@font-face {
font-family: 'PT Sans';
font-style: normal;
font-weight: 400;
src: local('PT Sans'), local('PTSans-Regular'), url(http://themes.googleusercontent.com/static/fonts/ptsans/v6/LKf8nhXsWg5ybwEGXk8UBQ.woff) format('woff');
}
@font-face {
font-family: 'PT Sans';
font-style: italic;
font-weight: 400;
src: local('PT Sans Italic'), local('PTSans-Italic'), url(http://themes.googleusercontent.com/static/fonts/ptsans/v6/PIPMHY90P7jtyjpXuZ2cLD8E0i7KZn-EPnyo3HZu7kw.woff) format('woff');
}
@font-face {
font-family: 'Inconsolata';
font-style: normal;
font-weight: 400;
src: local('Inconsolata'), url(http://themes.googleusercontent.com/static/fonts/inconsolata/v7/BjAYBlHtW3CJxDcjzrnZCIbN6UDyHWBl620a-IRfuBk.woff) format('woff');
}
body {
background-color: #444; color: #eee;
font-family: 'PT Sans', sans-serif;
font-size: 1.0em;
min-width: 843px; max-width: 50em; margin: 0 auto;
padding: 1.5em;
}
a {
color: #bee916;
text-decoration: none;
}
h2[id] { border-top: 1px solid; }
h1 a, h2 a, h3 a { color: #eee; }
h1 a:hover, h2 a:hover, h3 a:hover { color: #bee916; }
h2, h3 { margin-top: 3ex; }
pre {
background-color: #bbb;
padding-left: 6px; padding-right: 4px; padding-top: 2px; padding-bottom: 3px;
border-radius: 0.2em;
}
pre, pre code {
font-family: monospace, monospace;
font-size: 0.95em;
}
code { font-size: 1.1em; }
ul > li { list-style-type: square; }
img { border: none; }
.links a { padding-right: 1em; }
.type { font-weight: bolder; }
.contents {
background-color: #666;
border-radius: 0.2em;
font-size: 90%;
}
ol.contents { padding-top: 1ex; padding-bottom: 1ex; }
.navBar {
background: #bee916;
padding: 3px; margin-top: 3px;
border-radius: 0.2em; width: 100%;
}
.navBar a { color: #444; }
.navigation { display: inline; float: right; }
.navigation img {
margin-left: 2px; margin-right: 2px;
width: 22px; height: 22px;
}
.header { margin: 0; }
.header a { font-family: serif; font-size: 150%; color: #bee916; }
.header > span { font-size: 50%; padding-left: 2em; position: relative; top: -1ex; }
.header .navigation { margin-top: 3ex; }
.footer {
text-align: center;
font-size: 80%;
margin-top: 4ex;
}
pre code {
display: block;
color: black;
}
pre .class .title { color: #660066; }
pre .comment, pre .javadoc { color: #800; }
code.annotation { color: #a0a000; }
pre .annotation { color: #707000; }
pre .tag .title, pre .keyword {
font-weight: bold;
color: #000080;
}
pre .attribute {
font-weight: bold;
color: #0000ff;
}
pre .number { color: #0000ff; }
pre .string, pre .value {
font-weight: bold;
color: #008000;
}
pre b { color: #660E7A; }
code var { font-style: normal; font-weight: bold; color: #9876AA; }
@media print {
* { background: transparent; color: black !important; text-shadow: none; }
pre { border: 1px solid #999; page-break-inside: avoid; }
img { max-width: 100% !important; page-break-inside: avoid; }
h2, h3 { page-break-after: avoid; }
h2[id] { border-top-color: black; }
.navBar, .navigation, .contents { display: none; }
@page {
margin-left: 0.5cm;
margin-right: 0.5cm;
margin-top: 1.2cm;
margin-bottom: 1.2cm;
}
}