]>
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: 9pt; | |
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-size: 140%; } | |
76 | h2 { font-weight: bold; font-size: 140%; } | |
77 | h3 { font-weight: bold; font-size: 130%; } | |
78 | h4 { font-weight: bold; font-size: 120%; } | |
79 | h5 { font-weight: normal; font-style: italic; font-size: 110%; } | |
80 | h6 { font-weight: normal; font-style: italic; font-size: 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: 130% } | |
120 | h5 tt.computeroutput { font-size: 130% } | |
121 | h6 tt.computeroutput { font-size: 130% } | |
122 | ||
123 | ||
124 | /*============================================================================= | |
125 | Author | |
126 | =============================================================================*/ | |
127 | ||
128 | h3.author | |
129 | { | |
130 | font-size: 100% | |
131 | } | |
132 | ||
133 | /*============================================================================= | |
134 | Lists | |
135 | =============================================================================*/ | |
136 | ||
137 | li | |
138 | { | |
139 | font-size: 10pt; | |
140 | line-height: 1.3; | |
141 | } | |
142 | ||
143 | /* Unordered lists */ | |
144 | ul | |
145 | { | |
146 | text-align: left; | |
147 | } | |
148 | ||
149 | /* Ordered lists */ | |
150 | ol | |
151 | { | |
152 | text-align: left; | |
153 | } | |
154 | ||
155 | /*============================================================================= | |
156 | Links | |
157 | =============================================================================*/ | |
158 | ||
159 | a | |
160 | { | |
161 | text-decoration: none; /* no underline */ | |
162 | } | |
163 | ||
164 | a:hover | |
165 | { | |
166 | text-decoration: underline; | |
167 | } | |
168 | ||
169 | /*============================================================================= | |
170 | Spirit style navigation | |
171 | =============================================================================*/ | |
172 | ||
173 | .spirit-nav | |
174 | { | |
175 | text-align: right; | |
176 | } | |
177 | ||
178 | .spirit-nav a | |
179 | { | |
180 | color: white; | |
181 | padding-left: 0.5em; | |
182 | } | |
183 | ||
184 | .spirit-nav img | |
185 | { | |
186 | border-width: 0px; | |
187 | } | |
188 | ||
189 | /*============================================================================= | |
190 | Copyright footer | |
191 | =============================================================================*/ | |
192 | .copyright-footer | |
193 | { | |
194 | text-align: right; | |
195 | font-size: 70%; | |
196 | } | |
197 | ||
198 | .copyright-footer p | |
199 | { | |
200 | text-align: right; | |
201 | font-size: 80%; | |
202 | } | |
203 | ||
204 | /*============================================================================= | |
205 | Table of contents | |
206 | =============================================================================*/ | |
207 | ||
208 | .toc | |
209 | { | |
210 | margin: 1pc 4% 0pc 4%; | |
211 | padding: 0.1pc 1pc 0.1pc 1pc; | |
212 | font-size: 80%; | |
213 | line-height: 1.15; | |
214 | } | |
215 | ||
216 | .boost-toc | |
217 | { | |
218 | float: right; | |
219 | padding: 0.5pc; | |
220 | } | |
221 | ||
222 | /* Code on toc */ | |
223 | .toc .computeroutput { font-size: 120% } | |
224 | ||
225 | /* No margin on nested menus */ | |
226 | ||
227 | .toc dl dl { margin: 0; } | |
228 | ||
229 | /*============================================================================= | |
230 | Tables | |
231 | =============================================================================*/ | |
232 | ||
233 | .table-title, | |
234 | div.table p.title | |
235 | { | |
236 | margin-left: 4%; | |
237 | padding-right: 0.5em; | |
238 | padding-left: 0.5em; | |
239 | } | |
240 | ||
241 | .informaltable table, | |
242 | .table table | |
243 | { | |
244 | width: 92%; | |
245 | margin-left: 4%; | |
246 | margin-right: 4%; | |
247 | } | |
248 | ||
249 | div.informaltable table, | |
250 | div.table table | |
251 | { | |
252 | padding: 4px; | |
253 | } | |
254 | ||
255 | /* Table Cells */ | |
256 | div.informaltable table tr td, | |
257 | div.table table tr td | |
258 | { | |
259 | padding: 0.5em; | |
260 | text-align: left; | |
261 | font-size: 9pt; | |
262 | } | |
263 | ||
264 | div.informaltable table tr th, | |
265 | div.table table tr th | |
266 | { | |
267 | padding: 0.5em 0.5em 0.5em 0.5em; | |
268 | border: 1pt solid white; | |
269 | font-size: 80%; | |
270 | } | |
271 | ||
272 | table.simplelist | |
273 | { | |
274 | width: auto !important; | |
275 | margin: 0em !important; | |
276 | padding: 0em !important; | |
277 | border: none !important; | |
278 | } | |
279 | table.simplelist td | |
280 | { | |
281 | margin: 0em !important; | |
282 | padding: 0em !important; | |
283 | text-align: left !important; | |
284 | font-size: 9pt !important; | |
285 | border: none !important; | |
286 | } | |
287 | ||
288 | /*============================================================================= | |
289 | Blurbs | |
290 | =============================================================================*/ | |
291 | ||
292 | div.note, | |
293 | div.tip, | |
294 | div.important, | |
295 | div.caution, | |
296 | div.warning, | |
297 | p.blurb | |
298 | { | |
299 | font-size: 9pt; /* A little bit smaller than the main text */ | |
300 | line-height: 1.2; | |
301 | display: block; | |
302 | margin: 1pc 4% 0pc 4%; | |
303 | padding: 0.5pc 0.5pc 0.5pc 0.5pc; | |
304 | } | |
305 | ||
306 | p.blurb img | |
307 | { | |
308 | padding: 1pt; | |
309 | } | |
310 | ||
311 | /*============================================================================= | |
312 | Variable Lists | |
313 | =============================================================================*/ | |
314 | ||
315 | div.variablelist | |
316 | { | |
317 | margin: 1em 0; | |
318 | } | |
319 | ||
320 | /* Make the terms in definition lists bold */ | |
321 | div.variablelist dl dt, | |
322 | span.term | |
323 | { | |
324 | font-weight: bold; | |
325 | font-size: 10pt; | |
326 | } | |
327 | ||
328 | div.variablelist table tbody tr td | |
329 | { | |
330 | text-align: left; | |
331 | vertical-align: top; | |
332 | padding: 0em 2em 0em 0em; | |
333 | font-size: 10pt; | |
334 | margin: 0em 0em 0.5em 0em; | |
335 | line-height: 1; | |
336 | } | |
337 | ||
338 | div.variablelist dl dt | |
339 | { | |
340 | margin-bottom: 0.2em; | |
341 | } | |
342 | ||
343 | div.variablelist dl dd | |
344 | { | |
345 | margin: 0em 0em 0.5em 2em; | |
346 | font-size: 10pt; | |
347 | } | |
348 | ||
349 | div.variablelist table tbody tr td p, | |
350 | div.variablelist dl dd p | |
351 | { | |
352 | margin: 0em 0em 0.5em 0em; | |
353 | line-height: 1; | |
354 | } | |
355 | ||
356 | /*============================================================================= | |
357 | Misc | |
358 | =============================================================================*/ | |
359 | ||
360 | /* Title of books and articles in bibliographies */ | |
361 | span.title | |
362 | { | |
363 | font-style: italic; | |
364 | } | |
365 | ||
366 | span.underline | |
367 | { | |
368 | text-decoration: underline; | |
369 | } | |
370 | ||
371 | span.strikethrough | |
372 | { | |
373 | text-decoration: line-through; | |
374 | } | |
375 | ||
376 | /* Copyright, Legal Notice */ | |
377 | div div.legalnotice p | |
378 | { | |
379 | text-align: left | |
380 | } | |
381 | ||
382 | /*============================================================================= | |
383 | Colors | |
384 | =============================================================================*/ | |
385 | ||
386 | @media screen | |
387 | { | |
388 | body { | |
389 | background-color: #FFFFFF; | |
390 | color: #000000; | |
391 | } | |
392 | ||
393 | /* Syntax Highlighting */ | |
394 | .keyword { color: #0000AA; } | |
395 | .identifier { color: #000000; } | |
396 | .special { color: #707070; } | |
397 | .preprocessor { color: #402080; } | |
398 | .char { color: teal; } | |
399 | .comment { color: #800000; } | |
400 | .string { color: teal; } | |
401 | .number { color: teal; } | |
402 | .white_bkd { background-color: #FFFFFF; } | |
403 | .dk_grey_bkd { background-color: #999999; } | |
404 | ||
405 | /* Links */ | |
406 | a, a .keyword, a .identifier, a .special, a .preprocessor | |
407 | a .char, a .comment, a .string, a .number | |
408 | { | |
409 | color: #005a9c; | |
410 | } | |
411 | ||
412 | a:visited, a:visited .keyword, a:visited .identifier, | |
413 | a:visited .special, a:visited .preprocessor a:visited .char, | |
414 | a:visited .comment, a:visited .string, a:visited .number | |
415 | { | |
416 | color: #9c5a9c; | |
417 | } | |
418 | ||
419 | h1 a, h2 a, h3 a, h4 a, h5 a, h6 a, | |
420 | h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover, | |
421 | h1 a:visited, h2 a:visited, h3 a:visited, h4 a:visited, h5 a:visited, h6 a:visited | |
422 | { | |
423 | text-decoration: none; /* no underline */ | |
424 | color: #000000; | |
425 | } | |
426 | ||
427 | /* Copyright, Legal Notice */ | |
428 | .copyright | |
429 | { | |
430 | color: #666666; | |
431 | font-size: small; | |
432 | } | |
433 | ||
434 | div div.legalnotice p | |
435 | { | |
436 | color: #666666; | |
437 | } | |
438 | ||
439 | /* Program listing */ | |
440 | pre.synopsis | |
441 | { | |
442 | border: 1px solid #DCDCDC; | |
443 | } | |
444 | ||
445 | .programlisting, | |
446 | .screen | |
447 | { | |
448 | border: 1px solid #DCDCDC; | |
449 | } | |
450 | ||
451 | td .programlisting, | |
452 | td .screen | |
453 | { | |
454 | border: 0px solid #DCDCDC; | |
455 | } | |
456 | ||
457 | /* Blurbs */ | |
458 | div.note, | |
459 | div.tip, | |
460 | div.important, | |
461 | div.caution, | |
462 | div.warning, | |
463 | p.blurb | |
464 | { | |
465 | border: 1px solid #DCDCDC; | |
466 | } | |
467 | ||
468 | /* Table of contents */ | |
469 | .toc | |
470 | { | |
471 | border: 1px solid #DCDCDC; | |
472 | } | |
473 | ||
474 | /* Tables */ | |
475 | div.informaltable table tr td, | |
476 | div.table table tr td | |
477 | { | |
478 | border: 1px solid #DCDCDC; | |
479 | } | |
480 | ||
481 | div.informaltable table tr th, | |
482 | div.table table tr th | |
483 | { | |
484 | background-color: #F0F0F0; | |
485 | border: 1px solid #DCDCDC; | |
486 | } | |
487 | ||
488 | .copyright-footer | |
489 | { | |
490 | color: #8F8F8F; | |
491 | } | |
492 | ||
493 | /* Misc */ | |
494 | span.highlight | |
495 | { | |
496 | color: #00A000; | |
497 | } | |
498 | } | |
499 | ||
500 | @media print | |
501 | { | |
502 | /* Links */ | |
503 | a | |
504 | { | |
505 | color: black; | |
506 | } | |
507 | ||
508 | a:visited | |
509 | { | |
510 | color: black; | |
511 | } | |
512 | ||
513 | .spirit-nav | |
514 | { | |
515 | display: none; | |
516 | } | |
517 | ||
518 | /* Program listing */ | |
519 | pre.synopsis | |
520 | { | |
521 | border: 1px solid gray; | |
522 | } | |
523 | ||
524 | .programlisting, | |
525 | .screen | |
526 | { | |
527 | border: 1px solid gray; | |
528 | } | |
529 | ||
530 | td .programlisting, | |
531 | td .screen | |
532 | { | |
533 | border: 0px solid #DCDCDC; | |
534 | } | |
535 | ||
536 | /* Table of contents */ | |
537 | .toc | |
538 | { | |
539 | border: 1px solid gray; | |
540 | } | |
541 | ||
542 | .informaltable table, | |
543 | .table table | |
544 | { | |
545 | border: 1px solid gray; | |
546 | border-collapse: collapse; | |
547 | } | |
548 | ||
549 | /* Tables */ | |
550 | div.informaltable table tr td, | |
551 | div.table table tr td | |
552 | { | |
553 | border: 1px solid gray; | |
554 | } | |
555 | ||
556 | div.informaltable table tr th, | |
557 | div.table table tr th | |
558 | { | |
559 | border: 1px solid gray; | |
560 | } | |
561 | ||
562 | table.simplelist tr td | |
563 | { | |
564 | border: none !important; | |
565 | } | |
566 | ||
567 | /* Misc */ | |
568 | span.highlight | |
569 | { | |
570 | font-weight: bold; | |
571 | } | |
572 | } | |
573 | ||
574 | /*============================================================================= | |
575 | Images | |
576 | =============================================================================*/ | |
577 | ||
578 | span.inlinemediaobject img | |
579 | { | |
580 | vertical-align: middle; | |
581 | } | |
582 | ||
583 | /*============================================================================== | |
584 | Super and Subscript: style so that line spacing isn't effected, see | |
585 | http://www.adobe.com/cfusion/communityengine/index.cfm?event=showdetails&productId=1&postId=5341 | |
586 | ==============================================================================*/ | |
587 | ||
588 | sup, | |
589 | sub { | |
590 | height: 0; | |
591 | line-height: 1; | |
592 | vertical-align: baseline; | |
593 | position: relative; | |
594 | ||
595 | } | |
596 | ||
597 | /* For internet explorer: */ | |
598 | ||
599 | * html sup, | |
600 | * html sub { | |
601 | vertical-align: bottom; | |
602 | } | |
603 | ||
604 | sup { | |
605 | bottom: 1ex; | |
606 | } | |
607 | ||
608 | sub { | |
609 | top: .5ex; | |
610 | } | |
611 |