]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | /*============================================================================= |
2 | Copyright (c) 2004 Joel de Guzman | |
3 | http://spirit.sourceforge.net/ | |
4 | ||
5 | Distributed under the Boost Software License, Version 1.0. (See accompany- | |
6 | ing file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) | |
7 | =============================================================================*/ | |
8 | ||
9 | /*============================================================================= | |
10 | Body defaults | |
11 | =============================================================================*/ | |
12 | ||
13 | body | |
14 | { | |
15 | margin: 1em; | |
16 | font-family: sans-serif; | |
17 | } | |
18 | ||
19 | /*============================================================================= | |
20 | Paragraphs | |
21 | =============================================================================*/ | |
22 | ||
23 | p | |
24 | { | |
25 | text-align: left; | |
26 | font-size: 10pt; | |
27 | line-height: 1.15; | |
28 | } | |
29 | ||
30 | /*============================================================================= | |
31 | Program listings | |
32 | =============================================================================*/ | |
33 | ||
34 | /* Code on paragraphs */ | |
35 | p tt.computeroutput | |
36 | { | |
37 | font-size: 9pt; | |
38 | } | |
39 | ||
40 | pre.synopsis | |
41 | { | |
42 | font-size: 90%; | |
43 | margin: 1pc 4% 0pc 4%; | |
44 | padding: 0.5pc 0.5pc 0.5pc 0.5pc; | |
45 | } | |
46 | ||
47 | .programlisting, | |
48 | .screen | |
49 | { | |
50 | font-size: 9pt; | |
51 | display: block; | |
52 | margin: 1pc 4% 0pc 4%; | |
53 | padding: 0.5pc 0.5pc 0.5pc 0.5pc; | |
54 | } | |
55 | ||
56 | /* Program listings in tables don't get borders */ | |
57 | td .programlisting, | |
58 | td .screen | |
59 | { | |
60 | margin: 0pc 0pc 0pc 0pc; | |
61 | padding: 0pc 0pc 0pc 0pc; | |
62 | } | |
63 | ||
64 | /*============================================================================= | |
65 | Headings | |
66 | =============================================================================*/ | |
67 | ||
68 | h1, h2, h3, h4, h5, h6 | |
69 | { | |
70 | text-align: left; | |
71 | margin: 1em 0em 0.5em 0em; | |
72 | font-weight: bold; | |
73 | } | |
74 | ||
75 | h1 { font: 140% } | |
76 | h2 { font: bold 140% } | |
77 | h3 { font: bold 130% } | |
78 | h4 { font: bold 120% } | |
79 | h5 { font: italic 110% } | |
80 | h6 { font: italic 100% } | |
81 | ||
82 | /* Top page titles */ | |
83 | title, | |
84 | h1.title, | |
85 | h2.title | |
86 | h3.title, | |
87 | h4.title, | |
88 | h5.title, | |
89 | h6.title, | |
90 | .refentrytitle | |
91 | { | |
92 | font-weight: bold; | |
93 | margin-bottom: 1pc; | |
94 | } | |
95 | ||
96 | h1.title { font-size: 140% } | |
97 | h2.title { font-size: 140% } | |
98 | h3.title { font-size: 130% } | |
99 | h4.title { font-size: 120% } | |
100 | h5.title { font-size: 110% } | |
101 | h6.title { font-size: 100% } | |
102 | ||
103 | .section h1 | |
104 | { | |
105 | margin: 0em 0em 0.5em 0em; | |
106 | font-size: 140%; | |
107 | } | |
108 | ||
109 | .section h2 { font-size: 140% } | |
110 | .section h3 { font-size: 130% } | |
111 | .section h4 { font-size: 120% } | |
112 | .section h5 { font-size: 110% } | |
113 | .section h6 { font-size: 100% } | |
114 | ||
115 | /* Code on titles */ | |
116 | h1 tt.computeroutput { font-size: 140% } | |
117 | h2 tt.computeroutput { font-size: 140% } | |
118 | h3 tt.computeroutput { font-size: 130% } | |
119 | h4 tt.computeroutput { font-size: 120% } | |
120 | h5 tt.computeroutput { font-size: 110% } | |
121 | h6 tt.computeroutput { font-size: 100% } | |
122 | ||
123 | /*============================================================================= | |
124 | Author | |
125 | =============================================================================*/ | |
126 | ||
127 | h3.author | |
128 | { | |
129 | font-size: 100% | |
130 | } | |
131 | ||
132 | /*============================================================================= | |
133 | Lists | |
134 | =============================================================================*/ | |
135 | ||
136 | li | |
137 | { | |
138 | font-size: 10pt; | |
139 | line-height: 1.3; | |
140 | } | |
141 | ||
142 | /* Unordered lists */ | |
143 | ul | |
144 | { | |
145 | text-align: left; | |
146 | } | |
147 | ||
148 | /* Ordered lists */ | |
149 | ol | |
150 | { | |
151 | text-align: left; | |
152 | } | |
153 | ||
154 | /*============================================================================= | |
155 | Links | |
156 | =============================================================================*/ | |
157 | ||
158 | a | |
159 | { | |
160 | text-decoration: none; /* no underline */ | |
161 | } | |
162 | ||
163 | a:hover | |
164 | { | |
165 | text-decoration: underline; | |
166 | } | |
167 | ||
168 | /*============================================================================= | |
169 | Spirit style navigation | |
170 | =============================================================================*/ | |
171 | ||
172 | .spirit-nav | |
173 | { | |
174 | text-align: right; | |
175 | } | |
176 | ||
177 | .spirit-nav a | |
178 | { | |
179 | color: white; | |
180 | padding-left: 0.5em; | |
181 | } | |
182 | ||
183 | .spirit-nav img | |
184 | { | |
185 | border-width: 0px; | |
186 | } | |
187 | ||
188 | /*============================================================================= | |
189 | Copyright footer | |
190 | =============================================================================*/ | |
191 | .copyright-footer | |
192 | { | |
193 | text-align: right; | |
194 | font-size: 70%; | |
195 | } | |
196 | ||
197 | .copyright-footer p | |
198 | { | |
199 | text-align: right; | |
200 | font-size: 80%; | |
201 | } | |
202 | ||
203 | /*============================================================================= | |
204 | Table of contents | |
205 | =============================================================================*/ | |
206 | ||
207 | .toc | |
208 | { | |
209 | margin: 1pc 4% 0pc 4%; | |
210 | padding: 0.1pc 1pc 0.1pc 1pc; | |
211 | font-size: 80%; | |
212 | line-height: 1.15; | |
213 | } | |
214 | ||
215 | .boost-toc | |
216 | { | |
217 | float: right; | |
218 | padding: 0.5pc; | |
219 | } | |
220 | ||
221 | /*============================================================================= | |
222 | Tables | |
223 | =============================================================================*/ | |
224 | ||
225 | .table-title, | |
226 | div.table p.title | |
227 | { | |
228 | margin-left: 4%; | |
229 | padding-right: 0.5em; | |
230 | padding-left: 0.5em; | |
231 | } | |
232 | ||
233 | .informaltable table, | |
234 | .table table | |
235 | { | |
236 | width: 92%; | |
237 | margin-left: 4%; | |
238 | margin-right: 4%; | |
239 | } | |
240 | ||
241 | div.informaltable table, | |
242 | div.table table | |
243 | { | |
244 | padding: 4px; | |
245 | } | |
246 | ||
247 | /* Table Cells */ | |
248 | div.informaltable table tr td, | |
249 | div.table table tr td | |
250 | { | |
251 | padding: 0.5em; | |
252 | text-align: left; | |
253 | font-size: 9pt; | |
254 | } | |
255 | ||
256 | div.informaltable table tr th, | |
257 | div.table table tr th | |
258 | { | |
259 | padding: 0.5em 0.5em 0.5em 0.5em; | |
260 | border: 1pt solid white; | |
261 | font-size: 80%; | |
262 | } | |
263 | ||
264 | table.simplelist | |
265 | { | |
266 | width: auto !important; | |
267 | margin: 0em !important; | |
268 | padding: 0em !important; | |
269 | border: none !important; | |
270 | } | |
271 | table.simplelist td | |
272 | { | |
273 | margin: 0em !important; | |
274 | padding: 0em !important; | |
275 | text-align: left !important; | |
276 | font-size: 9pt !important; | |
277 | border: none !important; | |
278 | } | |
279 | ||
280 | /*============================================================================= | |
281 | Blurbs | |
282 | =============================================================================*/ | |
283 | ||
284 | div.note, | |
285 | div.tip, | |
286 | div.important, | |
287 | div.caution, | |
288 | div.warning, | |
289 | p.blurb | |
290 | { | |
291 | font-size: 9pt; /* A little bit smaller than the main text */ | |
292 | line-height: 1.2; | |
293 | display: block; | |
294 | margin: 1pc 4% 0pc 4%; | |
295 | padding: 0.5pc 0.5pc 0.5pc 0.5pc; | |
296 | } | |
297 | ||
298 | p.blurb img | |
299 | { | |
300 | padding: 1pt; | |
301 | } | |
302 | ||
303 | /*============================================================================= | |
304 | Variable Lists | |
305 | =============================================================================*/ | |
306 | ||
307 | /* Make the terms in definition lists bold */ | |
308 | div.variablelist dl dt, | |
309 | span.term | |
310 | { | |
311 | font-weight: bold; | |
312 | font-size: 10pt; | |
313 | } | |
314 | ||
315 | div.variablelist table tbody tr td | |
316 | { | |
317 | text-align: left; | |
318 | vertical-align: top; | |
319 | padding: 0em 2em 0em 0em; | |
320 | font-size: 10pt; | |
321 | margin: 0em 0em 0.5em 0em; | |
322 | line-height: 1; | |
323 | } | |
324 | ||
325 | div.variablelist dl dt | |
326 | { | |
327 | margin-bottom: 0.2em; | |
328 | } | |
329 | ||
330 | div.variablelist dl dd | |
331 | { | |
332 | margin: 0em 0em 0.5em 2em; | |
333 | font-size: 10pt; | |
334 | } | |
335 | ||
336 | div.variablelist table tbody tr td p, | |
337 | div.variablelist dl dd p | |
338 | { | |
339 | margin: 0em 0em 0.5em 0em; | |
340 | line-height: 1; | |
341 | } | |
342 | ||
343 | /*============================================================================= | |
344 | Misc | |
345 | =============================================================================*/ | |
346 | ||
347 | /* Title of books and articles in bibliographies */ | |
348 | span.title | |
349 | { | |
350 | font-style: italic; | |
351 | } | |
352 | ||
353 | span.underline | |
354 | { | |
355 | text-decoration: underline; | |
356 | } | |
357 | ||
358 | span.strikethrough | |
359 | { | |
360 | text-decoration: line-through; | |
361 | } | |
362 | ||
363 | /* Copyright, Legal Notice */ | |
364 | div div.legalnotice p | |
365 | { | |
366 | text-align: left | |
367 | } | |
368 | ||
369 | /*============================================================================= | |
370 | Colors | |
371 | =============================================================================*/ | |
372 | ||
373 | @media screen | |
374 | { | |
375 | body { | |
376 | background-color: #FFFFFF; | |
377 | } | |
378 | ||
379 | /* Links */ | |
380 | a | |
381 | { | |
382 | color: #005a9c; | |
383 | } | |
384 | ||
385 | a:visited | |
386 | { | |
387 | color: #9c5a9c; | |
388 | } | |
389 | ||
390 | h1 a, h2 a, h3 a, h4 a, h5 a, h6 a, | |
391 | h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover, | |
392 | h1 a:visited, h2 a:visited, h3 a:visited, h4 a:visited, h5 a:visited, h6 a:visited | |
393 | { | |
394 | text-decoration: none; /* no underline */ | |
395 | color: #000000; | |
396 | } | |
397 | ||
398 | /* Syntax Highlighting */ | |
399 | .keyword { color: #0000AA; } | |
400 | .identifier { color: #000000; } | |
401 | .special { color: #707070; } | |
402 | .preprocessor { color: #402080; } | |
403 | .char { color: teal; } | |
404 | .comment { color: #800000; } | |
405 | .string { color: teal; } | |
406 | .number { color: teal; } | |
407 | .white_bkd { background-color: #FFFFFF; } | |
408 | .dk_grey_bkd { background-color: #999999; } | |
409 | ||
410 | /* Copyright, Legal Notice */ | |
411 | .copyright | |
412 | { | |
413 | color: #666666; | |
414 | font-size: small; | |
415 | } | |
416 | ||
417 | div div.legalnotice p | |
418 | { | |
419 | color: #666666; | |
420 | } | |
421 | ||
422 | /* Program listing */ | |
423 | pre.synopsis | |
424 | { | |
425 | border: 1px solid #DCDCDC; | |
426 | } | |
427 | ||
428 | .programlisting, | |
429 | .screen | |
430 | { | |
431 | border: 1px solid #DCDCDC; | |
432 | } | |
433 | ||
434 | td .programlisting, | |
435 | td .screen | |
436 | { | |
437 | border: 0px solid #DCDCDC; | |
438 | } | |
439 | ||
440 | /* Blurbs */ | |
441 | div.note, | |
442 | div.tip, | |
443 | div.important, | |
444 | div.caution, | |
445 | div.warning, | |
446 | p.blurb | |
447 | { | |
448 | border: 1px solid #DCDCDC; | |
449 | } | |
450 | ||
451 | /* Table of contents */ | |
452 | .toc | |
453 | { | |
454 | border: 1px solid #DCDCDC; | |
455 | } | |
456 | ||
457 | /* Tables */ | |
458 | div.informaltable table tr td, | |
459 | div.table table tr td | |
460 | { | |
461 | border: 1px solid #DCDCDC; | |
462 | } | |
463 | ||
464 | div.informaltable table tr th, | |
465 | div.table table tr th | |
466 | { | |
467 | background-color: #F0F0F0; | |
468 | border: 1px solid #DCDCDC; | |
469 | } | |
470 | ||
471 | .copyright-footer | |
472 | { | |
473 | color: #8F8F8F; | |
474 | } | |
475 | ||
476 | /* Misc */ | |
477 | span.highlight | |
478 | { | |
479 | color: #00A000; | |
480 | } | |
481 | } | |
482 | ||
483 | @media print | |
484 | { | |
485 | /* Links */ | |
486 | a | |
487 | { | |
488 | color: black; | |
489 | } | |
490 | ||
491 | a:visited | |
492 | { | |
493 | color: black; | |
494 | } | |
495 | ||
496 | .spirit-nav | |
497 | { | |
498 | display: none; | |
499 | } | |
500 | ||
501 | /* Program listing */ | |
502 | pre.synopsis | |
503 | { | |
504 | border: 1px solid gray; | |
505 | } | |
506 | ||
507 | .programlisting, | |
508 | .screen | |
509 | { | |
510 | border: 1px solid gray; | |
511 | } | |
512 | ||
513 | td .programlisting, | |
514 | td .screen | |
515 | { | |
516 | border: 0px solid #DCDCDC; | |
517 | } | |
518 | ||
519 | /* Table of contents */ | |
520 | .toc | |
521 | { | |
522 | border: 1px solid gray; | |
523 | } | |
524 | ||
525 | .informaltable table, | |
526 | .table table | |
527 | { | |
528 | border: 1px solid gray; | |
529 | border-collapse: collapse; | |
530 | } | |
531 | ||
532 | /* Tables */ | |
533 | div.informaltable table tr td, | |
534 | div.table table tr td | |
535 | { | |
536 | border: 1px solid gray; | |
537 | } | |
538 | ||
539 | div.informaltable table tr th, | |
540 | div.table table tr th | |
541 | { | |
542 | border: 1px solid gray; | |
543 | } | |
544 | ||
545 | table.simplelist tr td | |
546 | { | |
547 | border: none !important; | |
548 | } | |
549 | ||
550 | /* Misc */ | |
551 | span.highlight | |
552 | { | |
553 | font-weight: bold; | |
554 | } | |
555 | } | |
556 | ||
557 | /*============================================================================= | |
558 | Images | |
559 | =============================================================================*/ | |
560 | ||
561 | span.inlinemediaobject img | |
562 | { | |
563 | vertical-align: middle; | |
564 | } | |
565 | ||
566 | /*============================================================================== | |
567 | Super and Subscript: style so that line spacing isn't effected, see | |
568 | http://www.adobe.com/cfusion/communityengine/index.cfm?event=showdetails&productId=1&postId=5341 | |
569 | ==============================================================================*/ | |
570 | ||
571 | sup, | |
572 | sub { | |
573 | height: 0; | |
574 | line-height: 1; | |
575 | vertical-align: baseline; | |
576 | _vertical-align: bottom; | |
577 | position: relative; | |
578 | ||
579 | } | |
580 | ||
581 | sup { | |
582 | bottom: 1ex; | |
583 | } | |
584 | ||
585 | sub { | |
586 | top: .5ex; | |
587 | } | |
588 |