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 | Table of contents |
---|
190 | =============================================================================*/ |
---|
191 | |
---|
192 | .toc |
---|
193 | { |
---|
194 | margin: 1pc 4% 0pc 4%; |
---|
195 | padding: 0.1pc 1pc 0.1pc 1pc; |
---|
196 | font-size: 80%; |
---|
197 | line-height: 1.15; |
---|
198 | } |
---|
199 | |
---|
200 | .boost-toc |
---|
201 | { |
---|
202 | float: right; |
---|
203 | padding: 0.5pc; |
---|
204 | } |
---|
205 | |
---|
206 | /*============================================================================= |
---|
207 | Tables |
---|
208 | =============================================================================*/ |
---|
209 | |
---|
210 | .table-title, |
---|
211 | div.table p.title |
---|
212 | { |
---|
213 | margin-left: 4%; |
---|
214 | padding-right: 0.5em; |
---|
215 | padding-left: 0.5em; |
---|
216 | } |
---|
217 | |
---|
218 | .informaltable table, |
---|
219 | .table table |
---|
220 | { |
---|
221 | width: 92%; |
---|
222 | margin-left: 4%; |
---|
223 | margin-right: 4%; |
---|
224 | } |
---|
225 | |
---|
226 | div.informaltable table, |
---|
227 | div.table table |
---|
228 | { |
---|
229 | padding: 4px; |
---|
230 | } |
---|
231 | |
---|
232 | /* Table Cells */ |
---|
233 | div.informaltable table tr td, |
---|
234 | div.table table tr td |
---|
235 | { |
---|
236 | padding: 0.5em; |
---|
237 | text-align: left; |
---|
238 | font-size: 9pt; |
---|
239 | } |
---|
240 | |
---|
241 | div.informaltable table tr th, |
---|
242 | div.table table tr th |
---|
243 | { |
---|
244 | padding: 0.5em 0.5em 0.5em 0.5em; |
---|
245 | border: 1pt solid white; |
---|
246 | font-size: 80%; |
---|
247 | } |
---|
248 | |
---|
249 | /*============================================================================= |
---|
250 | Blurbs |
---|
251 | =============================================================================*/ |
---|
252 | |
---|
253 | div.note, |
---|
254 | div.tip, |
---|
255 | div.important, |
---|
256 | div.caution, |
---|
257 | div.warning, |
---|
258 | p.blurb |
---|
259 | { |
---|
260 | font-size: 9pt; /* A little bit smaller than the main text */ |
---|
261 | line-height: 1.2; |
---|
262 | display: block; |
---|
263 | margin: 1pc 4% 0pc 4%; |
---|
264 | padding: 0.5pc 0.5pc 0.5pc 0.5pc; |
---|
265 | } |
---|
266 | |
---|
267 | p.blurb img |
---|
268 | { |
---|
269 | padding: 1pt; |
---|
270 | } |
---|
271 | |
---|
272 | /*============================================================================= |
---|
273 | Variable Lists |
---|
274 | =============================================================================*/ |
---|
275 | |
---|
276 | /* Make the terms in definition lists bold */ |
---|
277 | div.variablelist dl dt, |
---|
278 | span.term |
---|
279 | { |
---|
280 | font-weight: bold; |
---|
281 | font-size: 10pt; |
---|
282 | } |
---|
283 | |
---|
284 | div.variablelist table tbody tr td |
---|
285 | { |
---|
286 | text-align: left; |
---|
287 | vertical-align: top; |
---|
288 | padding: 0em 2em 0em 0em; |
---|
289 | font-size: 10pt; |
---|
290 | margin: 0em 0em 0.5em 0em; |
---|
291 | line-height: 1; |
---|
292 | } |
---|
293 | |
---|
294 | div.variablelist dl dt |
---|
295 | { |
---|
296 | margin-bottom: 0.2em; |
---|
297 | } |
---|
298 | |
---|
299 | div.variablelist dl dd |
---|
300 | { |
---|
301 | margin: 0em 0em 0.5em 2em; |
---|
302 | font-size: 10pt; |
---|
303 | } |
---|
304 | |
---|
305 | div.variablelist table tbody tr td p, |
---|
306 | div.variablelist dl dd p |
---|
307 | { |
---|
308 | margin: 0em 0em 0.5em 0em; |
---|
309 | line-height: 1; |
---|
310 | } |
---|
311 | |
---|
312 | /*============================================================================= |
---|
313 | Misc |
---|
314 | =============================================================================*/ |
---|
315 | |
---|
316 | /* Title of books and articles in bibliographies */ |
---|
317 | span.title |
---|
318 | { |
---|
319 | font-style: italic; |
---|
320 | } |
---|
321 | |
---|
322 | span.underline |
---|
323 | { |
---|
324 | text-decoration: underline; |
---|
325 | } |
---|
326 | |
---|
327 | span.strikethrough |
---|
328 | { |
---|
329 | text-decoration: line-through; |
---|
330 | } |
---|
331 | |
---|
332 | /* Copyright, Legal Notice */ |
---|
333 | div div.legalnotice p |
---|
334 | { |
---|
335 | text-align: left |
---|
336 | } |
---|
337 | |
---|
338 | /*============================================================================= |
---|
339 | Colors |
---|
340 | =============================================================================*/ |
---|
341 | |
---|
342 | @media screen |
---|
343 | { |
---|
344 | /* Links */ |
---|
345 | a |
---|
346 | { |
---|
347 | color: #005a9c; |
---|
348 | } |
---|
349 | |
---|
350 | a:visited |
---|
351 | { |
---|
352 | color: #9c5a9c; |
---|
353 | } |
---|
354 | |
---|
355 | h1 a, h2 a, h3 a, h4 a, h5 a, h6 a, |
---|
356 | h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover, |
---|
357 | h1 a:visited, h2 a:visited, h3 a:visited, h4 a:visited, h5 a:visited, h6 a:visited |
---|
358 | { |
---|
359 | text-decoration: none; /* no underline */ |
---|
360 | color: #000000; |
---|
361 | } |
---|
362 | |
---|
363 | /* Syntax Highlighting */ |
---|
364 | .keyword { color: #0000AA; } |
---|
365 | .identifier { color: #000000; } |
---|
366 | .special { color: #707070; } |
---|
367 | .preprocessor { color: #402080; } |
---|
368 | .char { color: teal; } |
---|
369 | .comment { color: #800000; } |
---|
370 | .string { color: teal; } |
---|
371 | .number { color: teal; } |
---|
372 | .white_bkd { background-color: #FFFFFF; } |
---|
373 | .dk_grey_bkd { background-color: #999999; } |
---|
374 | |
---|
375 | /* Copyright, Legal Notice */ |
---|
376 | .copyright |
---|
377 | { |
---|
378 | color: #666666; |
---|
379 | font-size: small; |
---|
380 | } |
---|
381 | |
---|
382 | div div.legalnotice p |
---|
383 | { |
---|
384 | color: #666666; |
---|
385 | } |
---|
386 | |
---|
387 | /* Program listing */ |
---|
388 | pre.synopsis |
---|
389 | { |
---|
390 | border: 1px solid #DCDCDC; |
---|
391 | } |
---|
392 | |
---|
393 | .programlisting, |
---|
394 | .screen |
---|
395 | { |
---|
396 | border: 1px solid #DCDCDC; |
---|
397 | } |
---|
398 | |
---|
399 | td .programlisting, |
---|
400 | td .screen |
---|
401 | { |
---|
402 | border: 0px solid #DCDCDC; |
---|
403 | } |
---|
404 | |
---|
405 | /* Blurbs */ |
---|
406 | div.note, |
---|
407 | div.tip, |
---|
408 | div.important, |
---|
409 | div.caution, |
---|
410 | div.warning, |
---|
411 | p.blurb |
---|
412 | { |
---|
413 | border: 1px solid #DCDCDC; |
---|
414 | } |
---|
415 | |
---|
416 | /* Table of contents */ |
---|
417 | .toc |
---|
418 | { |
---|
419 | border: 1px solid #DCDCDC; |
---|
420 | } |
---|
421 | |
---|
422 | /* Tables */ |
---|
423 | div.informaltable table tr td, |
---|
424 | div.table table tr td |
---|
425 | { |
---|
426 | border: 1px solid #DCDCDC; |
---|
427 | } |
---|
428 | |
---|
429 | div.informaltable table tr th, |
---|
430 | div.table table tr th |
---|
431 | { |
---|
432 | background-color: #F0F0F0; |
---|
433 | border: 1px solid #DCDCDC; |
---|
434 | } |
---|
435 | |
---|
436 | /* Misc */ |
---|
437 | span.highlight |
---|
438 | { |
---|
439 | color: #00A000; |
---|
440 | } |
---|
441 | } |
---|
442 | |
---|
443 | @media print |
---|
444 | { |
---|
445 | /* Links */ |
---|
446 | a |
---|
447 | { |
---|
448 | color: black; |
---|
449 | } |
---|
450 | |
---|
451 | a:visited |
---|
452 | { |
---|
453 | color: black; |
---|
454 | } |
---|
455 | |
---|
456 | .spirit-nav |
---|
457 | { |
---|
458 | display: none; |
---|
459 | } |
---|
460 | |
---|
461 | /* Program listing */ |
---|
462 | pre.synopsis |
---|
463 | { |
---|
464 | border: 1px solid gray; |
---|
465 | } |
---|
466 | |
---|
467 | .programlisting, |
---|
468 | .screen |
---|
469 | { |
---|
470 | border: 1px solid gray; |
---|
471 | } |
---|
472 | |
---|
473 | td .programlisting, |
---|
474 | td .screen |
---|
475 | { |
---|
476 | border: 0px solid #DCDCDC; |
---|
477 | } |
---|
478 | |
---|
479 | /* Table of contents */ |
---|
480 | .toc |
---|
481 | { |
---|
482 | border: 1px solid gray; |
---|
483 | } |
---|
484 | |
---|
485 | .informaltable table, |
---|
486 | .table table |
---|
487 | { |
---|
488 | border: 1px solid gray; |
---|
489 | border-collapse: collapse; |
---|
490 | } |
---|
491 | |
---|
492 | /* Tables */ |
---|
493 | div.informaltable table tr td, |
---|
494 | div.table table tr td |
---|
495 | { |
---|
496 | border: 1px solid gray; |
---|
497 | } |
---|
498 | |
---|
499 | div.informaltable table tr th, |
---|
500 | div.table table tr th |
---|
501 | { |
---|
502 | border: 1px solid gray; |
---|
503 | } |
---|
504 | |
---|
505 | /* Misc */ |
---|
506 | span.highlight |
---|
507 | { |
---|
508 | font-weight: bold; |
---|
509 | } |
---|
510 | } |
---|
511 | |
---|
512 | /*============================================================================= |
---|
513 | Images |
---|
514 | =============================================================================*/ |
---|
515 | |
---|
516 | span.inlinemediaobject img |
---|
517 | { |
---|
518 | vertical-align: middle; |
---|
519 | } |
---|