• 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: 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    div.variablelist
308    {
309        margin: 1em 0;
310    }
311
312    /* Make the terms in definition lists bold */
313    div.variablelist dl dt,
314    span.term
315    {
316        font-weight: bold;
317        font-size: 10pt;
318    }
319
320    div.variablelist table tbody tr td
321    {
322        text-align: left;
323        vertical-align: top;
324        padding: 0em 2em 0em 0em;
325        font-size: 10pt;
326        margin: 0em 0em 0.5em 0em;
327        line-height: 1;
328    }
329
330    div.variablelist dl dt
331    {
332        margin-bottom: 0.2em;
333    }
334
335    div.variablelist dl dd
336    {
337        margin: 0em 0em 0.5em 2em;
338        font-size: 10pt;
339    }
340
341    div.variablelist table tbody tr td p,
342    div.variablelist dl dd p
343    {
344        margin: 0em 0em 0.5em 0em;
345        line-height: 1;
346    }
347
348/*=============================================================================
349    Misc
350=============================================================================*/
351
352    /* Title of books and articles in bibliographies */
353    span.title
354    {
355        font-style: italic;
356    }
357
358    span.underline
359    {
360        text-decoration: underline;
361    }
362
363    span.strikethrough
364    {
365        text-decoration: line-through;
366    }
367
368    /* Copyright, Legal Notice */
369    div div.legalnotice p
370    {
371        text-align: left
372    }
373
374/*=============================================================================
375    Colors
376=============================================================================*/
377
378    @media screen
379    {
380        body {
381            background-color: #FFFFFF;
382            color: #000000;
383        }
384
385    /* Links */
386        a
387        {
388            color: #005a9c;
389        }
390
391        a:visited
392        {
393            color: #9c5a9c;
394        }
395
396        h1 a, h2 a, h3 a, h4 a, h5 a, h6 a,
397        h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover,
398        h1 a:visited, h2 a:visited, h3 a:visited, h4 a:visited, h5 a:visited, h6 a:visited
399        {
400            text-decoration: none; /* no underline */
401            color: #000000;
402        }
403
404    /* Syntax Highlighting */
405        .keyword        { color: #0000AA; }
406        .identifier     { color: #000000; }
407        .special        { color: #707070; }
408        .preprocessor   { color: #402080; }
409        .char           { color: teal; }
410        .comment        { color: #800000; }
411        .string         { color: teal; }
412        .number         { color: teal; }
413        .white_bkd      { background-color: #FFFFFF; }
414        .dk_grey_bkd    { background-color: #999999; }
415
416    /* Copyright, Legal Notice */
417        .copyright
418        {
419            color: #666666;
420            font-size: small;
421        }
422
423        div div.legalnotice p
424        {
425            color: #666666;
426        }
427
428    /* Program listing */
429        pre.synopsis
430        {
431            border: 1px solid #DCDCDC;
432        }
433
434        .programlisting,
435        .screen
436        {
437            border: 1px solid #DCDCDC;
438        }
439
440        td .programlisting,
441        td .screen
442        {
443            border: 0px solid #DCDCDC;
444        }
445
446    /* Blurbs */
447        div.note,
448        div.tip,
449        div.important,
450        div.caution,
451        div.warning,
452        p.blurb
453        {
454            border: 1px solid #DCDCDC;
455        }
456
457    /* Table of contents */
458        .toc
459        {
460            border: 1px solid #DCDCDC;
461        }
462
463    /* Tables */
464        div.informaltable table tr td,
465        div.table table tr td
466        {
467            border: 1px solid #DCDCDC;
468        }
469
470        div.informaltable table tr th,
471        div.table table tr th
472        {
473            background-color: #F0F0F0;
474            border: 1px solid #DCDCDC;
475        }
476
477        .copyright-footer
478        {
479            color: #8F8F8F;
480        }
481
482    /* Misc */
483        span.highlight
484        {
485            color: #00A000;
486        }
487    }
488
489    @media print
490    {
491    /* Links */
492        a
493        {
494            color: black;
495        }
496
497        a:visited
498        {
499            color: black;
500        }
501
502        .spirit-nav
503        {
504            display: none;
505        }
506
507    /* Program listing */
508        pre.synopsis
509        {
510            border: 1px solid gray;
511        }
512
513        .programlisting,
514        .screen
515        {
516            border: 1px solid gray;
517        }
518
519        td .programlisting,
520        td .screen
521        {
522            border: 0px solid #DCDCDC;
523        }
524
525    /* Table of contents */
526        .toc
527        {
528            border: 1px solid gray;
529        }
530
531        .informaltable table,
532        .table table
533        {
534            border: 1px solid gray;
535            border-collapse: collapse;
536        }
537
538    /* Tables */
539        div.informaltable table tr td,
540        div.table table tr td
541        {
542            border: 1px solid gray;
543        }
544
545        div.informaltable table tr th,
546        div.table table tr th
547        {
548            border: 1px solid gray;
549        }
550
551        table.simplelist tr td
552        {
553            border: none !important;
554        }
555
556    /* Misc */
557        span.highlight
558        {
559            font-weight: bold;
560        }
561    }
562
563/*=============================================================================
564    Images
565=============================================================================*/
566
567    span.inlinemediaobject img
568    {
569        vertical-align: middle;
570    }
571
572/*==============================================================================
573    Super and Subscript: style so that line spacing isn't effected, see
574    http://www.adobe.com/cfusion/communityengine/index.cfm?event=showdetails&productId=1&postId=5341
575==============================================================================*/
576
577sup,
578sub {
579	height: 0;
580	line-height: 1;
581	vertical-align: baseline;
582	_vertical-align: bottom;
583	position: relative;
584
585}
586
587sup {
588	bottom: 1ex;
589}
590
591sub {
592	top: .5ex;
593}
594
595