forked from mislav/poignant-guide
-
Notifications
You must be signed in to change notification settings - Fork 0
/
guide.css
executable file
·402 lines (399 loc) · 7.34 KB
/
guide.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
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
body {
background-image: url(images/2006.pale.jpg);
color: #222;
font-family: Utopia, Georgia, Times, serif;
line-height: 110%;
margin: 0;
padding: 0;
}
body.expansion {
background: url(images/2006.pakback.png);
padding-bottom: 36px;
}
h1, h2, h3, h4, h5, h6 {
margin: 5px;
padding: 0;
}
h1 {
font-size: 2.2em;
}
#wrapper {
z-index: 10;
}
#main h2, .content h2 {
border-bottom: solid 1px #BBB;
font-size: 1.4em;
line-height: 130%;
}
.content h2 {
margin: 32px 5px 8px 5px;
}
#main h3, .content h3 {
font-size: 1.2em;
line-height: 120%;
}
.content h3 {
margin: 18px 5px 8px 5px;
border-bottom: solid 1px #CCC;
}
strong, em {
font-size: 1.1em;
}
a img {
border: 0;
}
figure, figcaption {
-webkit-margin-start: 10px;
-webkit-margin-end: 10px;
}
figcaption {
font-size: .9em;
font-family: Sequentialist BB, Comic Sans, cursive;
}
figcaption q {
display: inline-block;
position: relative;
margin: 0 15px;
padding: 5px;
max-width: 28%;
vertical-align: middle;
border: 2px dotted black;
border-radius: 13px;
}
figcaption q:before {
top: 8px;
bottom: auto;
left: -30px;
border-width: 0px 30px 10px 0;
border-color: transparent black;
content: "";
position: absolute;
border-style: solid;
}
blockquote {
font-style: italic;
font-size: larger;
line-height: 1.2;
color: #435;
margin: 0 75px;
}
blockquote .attrib {
display: block;
text-align: right;
font-style: normal;
font-variant: small-caps;
}
blockquote code, p code, li code {
color: #936;
font-style: normal;
background-color: #FFFEF9;
padding: 2px;
line-height: 170%;
font-size: 12pt;
}
blockquote code {
padding: 5px;
font-size: .9em;
}
table {
margin: 5px 20px;
border-collapse: collapse;
}
table td {
padding: 4px 8px 4px 0;
border-bottom: 1px solid #ddd;
}
pre {
padding: 5px;
margin: 0px;
color: #936;
line-height: 170%;
}
.content > pre {
margin: 0 12px;
}
#sidepane {
float: left;
width: 420px;
z-index: 20;
}
#bookplate {
margin: 0; padding: 0;
}
#bookcontents {
background: url(images/2006.contents.jpg) no-repeat;
margin: 0; padding: 55px 120px 40px 20px;
margin-top: -3px;
font-size: 9pt;
}
#bookcontents ol li ol {
list-style: lower-alpha;
}
#bookseal {
position: absolute;
top: 433px;
left: 147px;
z-index: 2;
}
/* set the image to use and establish the lower-right position */
.foxbox, .foxbox_body, .foxbox_head
{
background: transparent url(images/2006.foxbox.jpg) no-repeat bottom right;
max-width: 760px;
margin-left: auto;
}
/* set the top-right image */
.foxbox_head
{
background-position: top left;
}
/* set the top-left image */
.foxbox_head h3
{
margin: 0; /* reset main site styles*/
border: 0; /* ditto */
padding: 10px 0 10px 30px; /* padding-left = image gap + interior padding ... no padding-right */
height: auto !important; height: 1%; /* IE Holly Hack */
}
/* set the lower-left corner image */
.foxbox_body
{
background-position: bottom left;
margin-right: 25px; /* interior-padding right */
padding: 5px 0 15px 40px; /* mirror .foxbox_head right/left */
}
.foxbox_body p {
font-size: 9pt;
margin: 8px;
padding: 0 10px 0 40px;
line-height: 120%;
}
.toc {
padding-left: 2em;
}
.toc ol {
margin: 0px;
padding-left: 1.5em;
}
.toc li {
line-height: 1.2;
}
.toc > li {
margin-top: .5em;
}
.toc ol > li {
margin-top: .2em;
}
.toc > li > a {
font-weight: bold;
}
.content li {
line-height: 170%;
padding: 10px 4px;
}
.content p {
line-height: 170%;
}
#main {
padding-top: 20px;
margin-left: 410px;
padding-bottom: 400px;
background: transparent url(images/2006.corner.jpg) no-repeat right bottom;
}
#main li {
font-size: 1.2em;
}
#main li ul li {
color: #666;
font-size: .8em;
list-style: none;
}
p {
margin: 0px 40px 0px 0px;
line-height: 20px;
padding: 10px;
}
p#terms {
font-size: .8em;
line-height: 140%;
}
.sidebar {
color: #000;
background-image: url(images/2006.pale.jpg);
width: 280px;
float: right;
padding: 0;
margin: 0;
margin-left: 14px;
z-index: 15;
}
.sidebar ul {
margin-top: 0px;
}
.sidebar li {
font-size: .9em;
line-height: 120%;
padding: 10px 4px;
}
.sidebar:before, .sidebar:after {
content: "Sidebar!";
display: block;
background-color: #7A8A9A;
color: #EFF9ED;
text-align: center;
margin: 0;
padding: 4px;
font-size: .9em;
}
.sidebar h2 {
color: #555;
font-size: 1.0em;
border-bottom: solid 4px #CCC;
margin: 0;
padding: 10px;
}
.sidebar p {
font-size: .9em;
margin: 5px;
padding: 10px;
}
.sidebar blockquote {
background-color: #FFFFFF;
color: #666666;
font-size: .8em;
width: auto;
margin: 0px 14px;
}
.sidebar pre {
border: none;
background-color: #E6EDF3;
color: #334465;
font-weight: normal;
font-size: .9em;
margin: 5px;
padding: 0px;
line-height: 120%;
}
.bulletin {
background-color: #FFF;
color: #555;
padding: 5px;
font-size: .7em;
}
#banner, #footer {
text-align: left;
color: #4A4A4A;
padding: 0;
padding-top: 10px;
width: 850px;
margin: 0px auto;
}
#banner {
padding-top: 20px;
}
#footer {
padding-bottom: 20px;
}
#banner .pager,
#footer .pager {
float: right;
padding-top: 15px;
padding-right: 15px;
font-size: 11pt;
}
#banner .pagebar,
#footer .pagebar {
font-size: 11pt;
}
#container {
background: url(images/2006.bookstripe.gif) bottom left repeat-x;
width: 850px;
margin: 0px auto;
text-align: center;
padding: 0;
padding-bottom: 4px;
}
.page {
background: white url(images/2006.bookstripe.gif) top left repeat-x;
padding: 12px;
padding-right: 0;
margin: 0;
}
body.expansion #container {
background: url(images/2006.pakstripe.png) bottom left repeat-x;
}
body.expansion .page {
background: white url(images/2006.pakstripe.png) top left repeat-x;
}
body.expansion #banner {
color: #eee;
}
body.expansion #banner a:link,
body.expansion #banner a:visited,
body.expansion #banner a:active {
color: #cdf;
}
body.expansion #banner a:hover {
color: #ffc;
}
.pageLinks {
padding: 8px 5px;
text-align: left;
font-size: 9pt;
}
.content {
text-align: left;
}
.pageTitle {
line-height: 200%;
width: 600px;
margin: 0px auto;
text-align: center;
}
.pageTitle p {
margin: 0px;
line-height: 20px;
padding: 10px;
}
/* printing */
@page { size 8.5in 11in; margin: 0cm; }
/* syntax highlighting */
.highlight {
border: solid 1px #C9B;
background-color: #FFF5F9;
padding: 3px;
margin: 5px 40px 5px 22px;
}
.highlight > pre {
background-color: #FFFEF9;
padding: 5px 10px;
margin: 0px;
color: #936;
line-height: 170%;
}
.highlight .k { /* keyword */
font-weight: bold;
}
.highlight .c1 { /* comment */
color: #555;
}
.highlight .s1, .highlight .s2, .highlight .mi { /* string, number */
color: #396;
}
.highlight .s1, .highlight .s2 { /* string */
background-color: #E9F5F5;
}
.highlight .sr { /* regex */
background-color: #E9F1F5;
color: #435;
}
.highlight .nf { /* identifier */
color: #369;
}
.highlight .ss { /* symbol */
color: #000;
}
.highlight .nc { /* constant */
color: #630;
font-weight: bold;
}