• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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: 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: 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/*=============================================================================
226    Tables
227=============================================================================*/
228
229    .table-title,
230    div.table p.title
231    {
232        margin-left: 4%;
233        padding-right: 0.5em;
234        padding-left: 0.5em;
235    }
236
237    .informaltable table,
238    .table table
239    {
240        width: 92%;
241        margin-left: 4%;
242        margin-right: 4%;
243    }
244
245    div.informaltable table,
246    div.table table
247    {
248        padding: 4px;
249    }
250
251    /* Table Cells */
252    div.informaltable table tr td,
253    div.table table tr td
254    {
255        padding: 0.5em;
256        text-align: left;
257        font-size: 9pt;
258    }
259
260    div.informaltable table tr th,
261    div.table table tr th
262    {
263        padding: 0.5em 0.5em 0.5em 0.5em;
264        border: 1pt solid white;
265        font-size: 80%;
266    }
267
268    table.simplelist
269    {
270        width: auto !important;
271        margin: 0em !important;
272        padding: 0em !important;
273        border: none !important;
274    }
275    table.simplelist td
276    {
277        margin: 0em !important;
278        padding: 0em !important;
279        text-align: left !important;
280        font-size: 9pt !important;
281        border: none !important;
282    }
283
284/*=============================================================================
285    Blurbs
286=============================================================================*/
287
288    div.note,
289    div.tip,
290    div.important,
291    div.caution,
292    div.warning,
293    p.blurb
294    {
295        font-size: 9pt; /* A little bit smaller than the main text */
296        line-height: 1.2;
297        display: block;
298        margin: 1pc 4% 0pc 4%;
299        padding: 0.5pc 0.5pc 0.5pc 0.5pc;
300    }
301
302    p.blurb img
303    {
304        padding: 1pt;
305    }
306
307/*=============================================================================
308    Variable Lists
309=============================================================================*/
310
311    div.variablelist
312    {
313        margin: 1em 0;
314    }
315
316    /* Make the terms in definition lists bold */
317    div.variablelist dl dt,
318    span.term
319    {
320        font-weight: bold;
321        font-size: 10pt;
322    }
323
324    div.variablelist table tbody tr td
325    {
326        text-align: left;
327        vertical-align: top;
328        padding: 0em 2em 0em 0em;
329        font-size: 10pt;
330        margin: 0em 0em 0.5em 0em;
331        line-height: 1;
332    }
333
334    div.variablelist dl dt
335    {
336        margin-bottom: 0.2em;
337    }
338
339    div.variablelist dl dd
340    {
341        margin: 0em 0em 0.5em 2em;
342        font-size: 10pt;
343    }
344
345    div.variablelist table tbody tr td p,
346    div.variablelist dl dd p
347    {
348        margin: 0em 0em 0.5em 0em;
349        line-height: 1;
350    }
351
352/*=============================================================================
353    Misc
354=============================================================================*/
355
356    /* Title of books and articles in bibliographies */
357    span.title
358    {
359        font-style: italic;
360    }
361
362    span.underline
363    {
364        text-decoration: underline;
365    }
366
367    span.strikethrough
368    {
369        text-decoration: line-through;
370    }
371
372    /* Copyright, Legal Notice */
373    div div.legalnotice p
374    {
375        text-align: left
376    }
377
378/*=============================================================================
379    Colors
380=============================================================================*/
381
382    @media screen
383    {
384        body {
385            background-color: #FFFFFF;
386            color: #000000;
387        }
388
389    /* Syntax Highlighting */
390        .keyword        { color: #0000AA; }
391        .identifier     { color: #000000; }
392        .special        { color: #707070; }
393        .preprocessor   { color: #402080; }
394        .char           { color: teal; }
395        .comment        { color: #800000; }
396        .string         { color: teal; }
397        .number         { color: teal; }
398        .white_bkd      { background-color: #FFFFFF; }
399        .dk_grey_bkd    { background-color: #999999; }
400
401    /* Links */
402        a, a .keyword, a .identifier, a .special, a .preprocessor
403        a .char, a .comment, a .string, a .number
404        {
405            color: #005a9c;
406        }
407
408        a:visited, a:visited .keyword, a:visited .identifier,
409        a:visited .special, a:visited .preprocessor a:visited .char,
410        a:visited .comment, a:visited .string, a:visited .number
411        {
412            color: #9c5a9c;
413        }
414
415        h1 a, h2 a, h3 a, h4 a, h5 a, h6 a,
416        h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover,
417        h1 a:visited, h2 a:visited, h3 a:visited, h4 a:visited, h5 a:visited, h6 a:visited
418        {
419            text-decoration: none; /* no underline */
420            color: #000000;
421        }
422
423    /* Copyright, Legal Notice */
424        .copyright
425        {
426            color: #666666;
427            font-size: small;
428        }
429
430        div div.legalnotice p
431        {
432            color: #666666;
433        }
434
435    /* Program listing */
436        pre.synopsis
437        {
438            border: 1px solid #DCDCDC;
439        }
440
441        .programlisting,
442        .screen
443        {
444            border: 1px solid #DCDCDC;
445        }
446
447        td .programlisting,
448        td .screen
449        {
450            border: 0px solid #DCDCDC;
451        }
452
453    /* Blurbs */
454        div.note,
455        div.tip,
456        div.important,
457        div.caution,
458        div.warning,
459        p.blurb
460        {
461            border: 1px solid #DCDCDC;
462        }
463
464    /* Table of contents */
465        .toc
466        {
467            border: 1px solid #DCDCDC;
468        }
469
470    /* Tables */
471        div.informaltable table tr td,
472        div.table table tr td
473        {
474            border: 1px solid #DCDCDC;
475        }
476
477        div.informaltable table tr th,
478        div.table table tr th
479        {
480            background-color: #F0F0F0;
481            border: 1px solid #DCDCDC;
482        }
483
484        .copyright-footer
485        {
486            color: #8F8F8F;
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        }
519
520        .programlisting,
521        .screen
522        {
523            border: 1px solid gray;
524        }
525
526        td .programlisting,
527        td .screen
528        {
529            border: 0px solid #DCDCDC;
530        }
531
532    /* Table of contents */
533        .toc
534        {
535            border: 1px solid gray;
536        }
537
538        .informaltable table,
539        .table table
540        {
541            border: 1px solid gray;
542            border-collapse: collapse;
543        }
544
545    /* Tables */
546        div.informaltable table tr td,
547        div.table table tr td
548        {
549            border: 1px solid gray;
550        }
551
552        div.informaltable table tr th,
553        div.table table tr th
554        {
555            border: 1px solid gray;
556        }
557
558        table.simplelist tr td
559        {
560            border: none !important;
561        }
562
563    /* Misc */
564        span.highlight
565        {
566            font-weight: bold;
567        }
568    }
569
570/*=============================================================================
571    Images
572=============================================================================*/
573
574    span.inlinemediaobject img
575    {
576        vertical-align: middle;
577    }
578
579/*==============================================================================
580    Super and Subscript: style so that line spacing isn't effected, see
581    http://www.adobe.com/cfusion/communityengine/index.cfm?event=showdetails&productId=1&postId=5341
582==============================================================================*/
583
584sup,
585sub {
586	height: 0;
587	line-height: 1;
588	vertical-align: baseline;
589	_vertical-align: bottom;
590	position: relative;
591
592}
593
594sup {
595	bottom: 1ex;
596}
597
598sub {
599	top: .5ex;
600}
601
602