]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | /*============================================================================= |
2 | Copyright (c) 2004 Joel de Guzman | |
3 | http://spirit.sourceforge.net/ | |
4 | ||
5 | Use, modification and distribution is subject to the Boost Software | |
6 | License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at | |
7 | http://www.boost.org/LICENSE_1_0.txt) | |
8 | =============================================================================*/ | |
9 | ||
10 | /*============================================================================= | |
11 | Body defaults | |
12 | =============================================================================*/ | |
13 | ||
14 | body | |
15 | { | |
16 | margin: 1em; | |
17 | font-family: sans-serif; | |
18 | } | |
19 | ||
20 | /*============================================================================= | |
21 | Paragraphs | |
22 | =============================================================================*/ | |
23 | ||
24 | p | |
25 | { | |
26 | text-align: left; | |
27 | font-size: 10pt; | |
28 | line-height: 1.15; | |
29 | } | |
30 | ||
31 | /*============================================================================= | |
32 | Program listings | |
33 | =============================================================================*/ | |
34 | ||
35 | /* Code on paragraphs */ | |
36 | p tt.computeroutput | |
37 | { | |
38 | font-size: 10pt; | |
39 | } | |
40 | ||
41 | pre.synopsis | |
42 | { | |
43 | font-size: 10pt; | |
44 | margin: 1pc 4% 0pc 4%; | |
45 | padding: 0.5pc 0.5pc 0.5pc 0.5pc; | |
46 | } | |
47 | ||
48 | .programlisting, | |
49 | .screen | |
50 | { | |
51 | font-size: 10pt; | |
52 | display: block; | |
53 | margin: 1pc 4% 0pc 4%; | |
54 | padding: 0.5pc 0.5pc 0.5pc 0.5pc; | |
55 | } | |
56 | ||
57 | /* Program listings in tables don't get borders */ | |
58 | td .programlisting, | |
59 | td .screen | |
60 | { | |
61 | margin: 0pc 0pc 0pc 0pc; | |
62 | padding: 0pc 0pc 0pc 0pc; | |
63 | } | |
64 | ||
65 | /*============================================================================= | |
66 | Headings | |
67 | =============================================================================*/ | |
68 | ||
69 | h1, h2, h3, h4, h5, h6 | |
70 | { | |
71 | text-align: left; | |
72 | margin: 1em 0em 0.5em 0em; | |
73 | font-weight: bold; | |
74 | } | |
75 | ||
76 | h1 { font: 140% } | |
77 | h2 { font: bold 140% } | |
78 | h3 { font: bold 130% } | |
79 | h4 { font: bold 120% } | |
80 | h5 { font: italic 110% } | |
81 | h6 { font: italic 100% } | |
82 | ||
83 | /* Top page titles */ | |
84 | title, | |
85 | h1.title, | |
86 | h2.title | |
87 | h3.title, | |
88 | h4.title, | |
89 | h5.title, | |
90 | h6.title, | |
91 | .refentrytitle | |
92 | { | |
93 | font-weight: bold; | |
94 | margin-bottom: 1pc; | |
95 | } | |
96 | ||
97 | h1.title { font-size: 140% } | |
98 | h2.title { font-size: 140% } | |
99 | h3.title { font-size: 130% } | |
100 | h4.title { font-size: 120% } | |
101 | h5.title { font-size: 110% } | |
102 | h6.title { font-size: 100% } | |
103 | ||
104 | .section h1 | |
105 | { | |
106 | margin: 0em 0em 0.5em 0em; | |
107 | font-size: 140%; | |
108 | } | |
109 | ||
110 | .section h2 { font-size: 140% } | |
111 | .section h3 { font-size: 130% } | |
112 | .section h4 { font-size: 120% } | |
113 | .section h5 { font-size: 110% } | |
114 | .section h6 { font-size: 100% } | |
115 | ||
116 | /* Code on titles */ | |
117 | h1 tt.computeroutput { font-size: 140% } | |
118 | h2 tt.computeroutput { font-size: 140% } | |
119 | h3 tt.computeroutput { font-size: 130% } | |
120 | h4 tt.computeroutput { font-size: 120% } | |
121 | h5 tt.computeroutput { font-size: 110% } | |
122 | h6 tt.computeroutput { font-size: 100% } | |
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 | Table of contents | |
191 | =============================================================================*/ | |
192 | ||
193 | .toc | |
194 | { | |
195 | margin: 1pc 4% 0pc 4%; | |
196 | padding: 0.1pc 1pc 0.1pc 1pc; | |
197 | font-size: 10pt; | |
198 | line-height: 1.15; | |
199 | } | |
200 | ||
201 | .toc-main | |
202 | { | |
203 | text-align: center; | |
204 | margin: 3pc 16% 3pc 16%; | |
205 | padding: 3pc 1pc 3pc 1pc; | |
206 | line-height: 0.1; | |
207 | } | |
208 | ||
209 | .boost-toc | |
210 | { | |
211 | float: right; | |
212 | padding: 0.5pc; | |
213 | } | |
214 | ||
215 | /*============================================================================= | |
216 | Tables | |
217 | =============================================================================*/ | |
218 | ||
219 | .table-title, | |
220 | div.table p.title | |
221 | { | |
222 | margin-left: 4%; | |
223 | padding-right: 0.5em; | |
224 | padding-left: 0.5em; | |
225 | } | |
226 | ||
227 | .informaltable table, | |
228 | .table table | |
229 | { | |
230 | width: 92%; | |
231 | margin-left: 4%; | |
232 | margin-right: 4%; | |
233 | } | |
234 | ||
235 | div.informaltable table, | |
236 | div.table table | |
237 | { | |
238 | padding: 4px; | |
239 | } | |
240 | ||
241 | /* Table Cells */ | |
242 | div.informaltable table tr td, | |
243 | div.table table tr td | |
244 | { | |
245 | padding: 0.5em; | |
246 | text-align: left; | |
247 | } | |
248 | ||
249 | div.informaltable table tr th, | |
250 | div.table table tr th | |
251 | { | |
252 | padding: 0.5em 0.5em 0.5em 0.5em; | |
253 | border: 1pt solid white; | |
254 | font-size: 120%; | |
255 | } | |
256 | ||
257 | /*============================================================================= | |
258 | Blurbs | |
259 | =============================================================================*/ | |
260 | ||
261 | div.note, | |
262 | div.tip, | |
263 | div.important, | |
264 | div.caution, | |
265 | div.warning, | |
266 | div.sidebar | |
267 | { | |
268 | font-size: 10pt; | |
269 | line-height: 1.2; | |
270 | display: block; | |
271 | margin: 1pc 4% 0pc 4%; | |
272 | padding: 0.5pc 0.5pc 0.5pc 0.5pc; | |
273 | } | |
274 | ||
275 | div.sidebar img | |
276 | { | |
277 | padding: 1pt; | |
278 | } | |
279 | ||
280 | ||
281 | ||
282 | /*============================================================================= | |
283 | Callouts | |
284 | =============================================================================*/ | |
285 | .line_callout_bug img | |
286 | { | |
287 | float: left; | |
288 | position:relative; | |
289 | left: 4px; | |
290 | top: -12px; | |
291 | clear: left; | |
292 | margin-left:-22px; | |
293 | } | |
294 | ||
295 | .callout_bug img | |
296 | { | |
297 | } | |
298 | ||
299 | ||
300 | ||
301 | /*============================================================================= | |
302 | Variable Lists | |
303 | =============================================================================*/ | |
304 | ||
305 | /* Make the terms in definition lists bold */ | |
306 | div.variablelist dl dt, | |
307 | span.term | |
308 | { | |
309 | font-weight: bold; | |
310 | font-size: 10pt; | |
311 | } | |
312 | ||
313 | div.variablelist table tbody tr td | |
314 | { | |
315 | text-align: left; | |
316 | vertical-align: top; | |
317 | padding: 0em 2em 0em 0em; | |
318 | font-size: 10pt; | |
319 | margin: 0em 0em 0.5em 0em; | |
320 | line-height: 1; | |
321 | } | |
322 | ||
323 | /* Make the terms in definition lists bold */ | |
324 | div.variablelist dl dt | |
325 | { | |
326 | margin-bottom: 0.2em; | |
327 | } | |
328 | ||
329 | div.variablelist dl dd | |
330 | { | |
331 | margin: 0em 0em 0.5em 2em; | |
332 | font-size: 10pt; | |
333 | } | |
334 | ||
335 | div.variablelist table tbody tr td p | |
336 | div.variablelist dl dd p | |
337 | { | |
338 | margin: 0em 0em 0.5em 0em; | |
339 | line-height: 1; | |
340 | } | |
341 | ||
342 | /*============================================================================= | |
343 | Misc | |
344 | =============================================================================*/ | |
345 | ||
346 | /* Title of books and articles in bibliographies */ | |
347 | span.title | |
348 | { | |
349 | font-style: italic; | |
350 | } | |
351 | ||
352 | span.underline | |
353 | { | |
354 | text-decoration: underline; | |
355 | } | |
356 | ||
357 | span.strikethrough | |
358 | { | |
359 | text-decoration: line-through; | |
360 | } | |
361 | ||
362 | /* Copyright, Legal Notice */ | |
363 | div div.legalnotice p | |
364 | { | |
365 | text-align: left | |
366 | } | |
367 | ||
368 | /*============================================================================= | |
369 | Colors | |
370 | =============================================================================*/ | |
371 | ||
372 | @media screen | |
373 | { | |
374 | /* Links */ | |
375 | a | |
376 | { | |
377 | color: #0C7445; | |
378 | } | |
379 | ||
380 | a:visited | |
381 | { | |
382 | color: #663974; | |
383 | } | |
384 | ||
385 | h1 a, h2 a, h3 a, h4 a, h5 a, h6 a, | |
386 | h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover, | |
387 | h1 a:visited, h2 a:visited, h3 a:visited, h4 a:visited, h5 a:visited, h6 a:visited | |
388 | { | |
389 | text-decoration: none; /* no underline */ | |
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: #E8FBE9; } | |
403 | .dk_grey_bkd { background-color: #A0DAAC; } | |
404 | ||
405 | /* Copyright, Legal Notice */ | |
406 | .copyright | |
407 | { | |
408 | color: #666666; | |
409 | font-size: small; | |
410 | } | |
411 | ||
412 | div div.legalnotice p | |
413 | { | |
414 | color: #666666; | |
415 | } | |
416 | ||
417 | /* Program listing */ | |
418 | pre.synopsis | |
419 | { | |
420 | border: 1px solid #DCDCDC; | |
421 | border-bottom: 3px solid #9D9D9D; | |
422 | border-right: 3px solid #9D9D9D; | |
423 | background-color: #FAFFFB; | |
424 | } | |
425 | ||
426 | .programlisting, | |
427 | .screen | |
428 | { | |
429 | border: 1px solid #DCDCDC; | |
430 | border-bottom: 3px solid #9D9D9D; | |
431 | border-right: 3px solid #9D9D9D; | |
432 | background-color: #FAFFFB; | |
433 | } | |
434 | ||
435 | td .programlisting, | |
436 | td .screen | |
437 | { | |
438 | border: 0px solid #DCDCDC; | |
439 | } | |
440 | ||
441 | /* Blurbs */ | |
442 | div.note, | |
443 | div.tip, | |
444 | div.important, | |
445 | div.caution, | |
446 | div.warning, | |
447 | div.sidebar | |
448 | { | |
449 | border: 1px solid #DCDCDC; | |
450 | border-bottom: 3px solid #9D9D9D; | |
451 | border-right: 3px solid #9D9D9D; | |
452 | background-color: #FAFFFB; | |
453 | } | |
454 | ||
455 | /* Table of contents */ | |
456 | .toc | |
457 | { | |
458 | border: 1px solid #DCDCDC; | |
459 | border-bottom: 3px solid #9D9D9D; | |
460 | border-right: 3px solid #9D9D9D; | |
461 | background-color: #FAFFFB; | |
462 | } | |
463 | ||
464 | /* Table of contents */ | |
465 | .toc-main | |
466 | { | |
467 | border: 1px solid #DCDCDC; | |
468 | border-bottom: 3px solid #9D9D9D; | |
469 | border-right: 3px solid #9D9D9D; | |
470 | background-color: #FAFFFB; | |
471 | } | |
472 | ||
473 | ||
474 | /* Tables */ | |
475 | div.informaltable table tr td, | |
476 | div.table table tr td | |
477 | { | |
478 | border: 1px solid #DCDCDC; | |
479 | background-color: #FAFFFB; | |
480 | } | |
481 | ||
482 | div.informaltable table tr th, | |
483 | div.table table tr th | |
484 | { | |
485 | background-color: #E3F9E4; | |
486 | border: 1px solid #DCDCDC; | |
487 | } | |
488 | ||
489 | /* Misc */ | |
490 | span.highlight | |
491 | { | |
492 | color: #00A000; | |
493 | } | |
494 | } | |
495 | ||
496 | @media print | |
497 | { | |
498 | /* Links */ | |
499 | a | |
500 | { | |
501 | color: black; | |
502 | } | |
503 | ||
504 | a:visited | |
505 | { | |
506 | color: black; | |
507 | } | |
508 | ||
509 | .spirit-nav | |
510 | { | |
511 | display: none; | |
512 | } | |
513 | ||
514 | /* Program listing */ | |
515 | pre.synopsis | |
516 | { | |
517 | border: 1px solid gray; | |
518 | background-color: #FAFFFB; | |
519 | } | |
520 | ||
521 | .programlisting, | |
522 | .screen | |
523 | { | |
524 | border: 1px solid gray; | |
525 | background-color: #FAFFFB; | |
526 | } | |
527 | ||
528 | td .programlisting, | |
529 | td .screen | |
530 | { | |
531 | border: 0px solid #DCDCDC; | |
532 | } | |
533 | ||
534 | /* Table of contents */ | |
535 | .toc | |
536 | { | |
537 | border: 1px solid #DCDCDC; | |
538 | border-bottom: 3px solid #9D9D9D; | |
539 | border-right: 3px solid #9D9D9D; | |
540 | background-color: #FAFFFB; | |
541 | } | |
542 | ||
543 | /* Table of contents */ | |
544 | .toc-main | |
545 | { | |
546 | border: 1px solid #DCDCDC; | |
547 | border-bottom: 3px solid #9D9D9D; | |
548 | border-right: 3px solid #9D9D9D; | |
549 | background-color: #FAFFFB; | |
550 | } | |
551 | ||
552 | .informaltable table, | |
553 | .table table | |
554 | { | |
555 | border: 1px solid #DCDCDC; | |
556 | border-bottom: 3px solid #9D9D9D; | |
557 | border-right: 3px solid #9D9D9D; | |
558 | border-collapse: collapse; | |
559 | background-color: #FAFFFB; | |
560 | } | |
561 | ||
562 | /* Tables */ | |
563 | div.informaltable table tr td, | |
564 | div.table table tr td | |
565 | { | |
566 | border: 1px solid #DCDCDC; | |
567 | background-color: #FAFFFB; | |
568 | } | |
569 | ||
570 | div.informaltable table tr th, | |
571 | div.table table tr th | |
572 | { | |
573 | border: 1px solid #DCDCDC; | |
574 | background-color: #FAFFFB; | |
575 | } | |
576 | ||
577 | /* Misc */ | |
578 | span.highlight | |
579 | { | |
580 | font-weight: bold; | |
581 | } | |
582 | } |