• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1
2/*=============================================================================
3Copyright (c) 2004 Joel de Guzman
4http://spirit.sourceforge.net/
5
6Copyright 2013 Niall Douglas additions for colors and alignment.
7Copyright 2013 Paul A. Bristow additions for more colors and alignments.
8
9Distributed under the Boost Software License, Version 1.0. (See accompany-
10ing file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
11=============================================================================*/
12
13/*=============================================================================
14Body defaults
15=============================================================================*/
16
17    body
18    {
19        margin: 1em;
20        font-family: sans-serif;
21    }
22
23/*=============================================================================
24Paragraphs
25=============================================================================*/
26
27    p
28    {
29        text-align: left;
30        font-size: 10pt;
31        line-height: 1.15;
32    }
33
34/*=============================================================================
35Program listings
36=============================================================================*/
37
38    /* Code on paragraphs */
39    p tt.computeroutput
40    {
41        font-size: 9pt;
42    }
43
44    pre.synopsis
45    {
46        font-size: 9pt;
47        margin: 1pc 4% 0pc 4%;
48        padding: 0.5pc 0.5pc 0.5pc 0.5pc;
49    }
50
51    .programlisting,
52    .screen,
53    pre > code,
54    div.codehilite
55    {
56        font-size: 9pt;
57        display: block;
58        margin: 1pc 4% 0pc 4%;
59        padding: 0.5pc 0.5pc 0.5pc 0.5pc;
60    }
61
62    /* Program listings in tables don't get borders */
63    td .programlisting,
64    td .screen
65    {
66        margin: 0pc 0pc 0pc 0pc;
67        padding: 0pc 0pc 0pc 0pc;
68    }
69
70/*=============================================================================
71Headings
72=============================================================================*/
73
74    h1, h2, h3, h4, h5, h6
75    {
76        text-align: left;
77        margin: 1em 0em 0.5em 0em;
78        font-weight: bold;
79    }
80
81    h1 { font-size: 150%; padding-top: 0.5em; }
82    h2 { font-weight: bold; font-size: 130%; }
83    h3 { font-weight: bold; font-size: 120%; }
84    h4 { font-weight: bold; font-size: 110%; }
85    h5 { font-weight: normal; font-style: italic; font-size: 100%; }
86    h6 { font-weight: normal; font-style: italic; font-size: 100%; }
87
88    /* Top page titles */
89    title,
90    h1.title,
91    h2.title
92    h3.title,
93    h4.title,
94    h5.title,
95    h6.title,
96    .refentrytitle
97    {
98        font-weight: bold;
99        margin-bottom: 1pc;
100    }
101
102    h1.title { font-size: 150% }
103    h2.title { font-size: 130% }
104    h3.title { font-size: 120% }
105    h4.title { font-size: 110% }
106    h5.title { font-size: 100% }
107    h6.title { font-size: 100% }
108
109    .section h1
110    {
111        margin: 0em 0em 0.5em 0em;
112        font-size: 150%;
113    }
114
115    .section h2 { font-size: 130% }
116    .section h3 { font-size: 120% }
117    .section h4 { font-size: 110% }
118    .section h5 { font-size: 100% }
119    .section h6 { font-size: 100% }
120
121    /* Code on titles */
122    h1 tt.computeroutput { font-size: 140% }
123    h2 tt.computeroutput { font-size: 140% }
124    h3 tt.computeroutput { font-size: 130% }
125    h4 tt.computeroutput { font-size: 130% }
126    h5 tt.computeroutput { font-size: 130% }
127    h6 tt.computeroutput { font-size: 130% }
128
129
130/*=============================================================================
131Author
132=============================================================================*/
133
134    h3.author
135    {
136        font-size: 100%
137    }
138
139/*=============================================================================
140Lists
141=============================================================================*/
142
143    li
144    {
145        font-size: 10pt;
146        line-height: 1.3;
147    }
148
149    /* Unordered lists */
150    ul
151    {
152        text-align: left;
153    }
154
155    /* Ordered lists */
156    ol
157    {
158        text-align: left;
159    }
160
161/*=============================================================================
162Links
163=============================================================================*/
164
165    a
166    {
167        text-decoration: none; /* no underline */
168    }
169
170    a:hover
171    {
172        text-decoration: underline;
173    }
174
175/*=============================================================================
176Spirit style navigation
177=============================================================================*/
178
179    .spirit-nav
180    {
181        text-align: right;
182    }
183
184    .spirit-nav a
185    {
186        color: white;
187        padding-left: 0.5em;
188    }
189
190    .spirit-nav img
191    {
192        border-width: 0px;
193    }
194
195/*=============================================================================
196Copyright footer
197=============================================================================*/
198    .copyright-footer
199    {
200        text-align: right;
201        font-size: 70%;
202    }
203
204    .copyright-footer p
205    {
206        text-align: right;
207        font-size: 80%;
208    }
209
210/*=============================================================================
211Table of contents
212=============================================================================*/
213
214    div.toc
215    {
216       margin: 1pc 4% 0pc 4%;
217       padding: 0.1pc 1pc 0.1pc 1pc;
218       font-size: 80%;
219       line-height: 1.15;
220    }
221
222    .boost-toc
223    {
224       float: right;
225       padding: 0.5pc;
226    }
227
228    /* Code on toc */
229    .toc .computeroutput { font-size: 120% }
230
231    /* No margin on nested menus */
232
233    .toc dl dl { margin: 0; }
234
235/*=============================================================================
236Tables
237=============================================================================*/
238
239    .table-title,
240    div.table p.title
241    {
242        margin-left: 4%;
243        padding-right: 0.5em;
244        padding-left: 0.5em;
245    }
246
247    .informaltable table,
248    .table table
249    {
250        width: 92%;
251        margin-left: 4%;
252        margin-right: 4%;
253    }
254
255    div.informaltable table,
256    div.table table
257    {
258        padding: 4px;
259    }
260
261    /* Table Cells */
262    div.informaltable table tr td,
263    div.table table tr td
264    {
265        padding: 0.5em;
266        text-align: left;
267        font-size: 9pt;
268    }
269
270    div.informaltable table tr th,
271    div.table table tr th
272    {
273        padding: 0.5em 0.5em 0.5em 0.5em;
274        border: 1pt solid white;
275        font-size: 80%;
276    }
277
278    table.simplelist
279    {
280        width: auto !important;
281        margin: 0em !important;
282        padding: 0em !important;
283        border: none !important;
284    }
285    table.simplelist td
286    {
287        margin: 0em !important;
288        padding: 0em !important;
289        text-align: left !important;
290        font-size: 9pt !important;
291        border: none !important;
292    }
293
294/*=============================================================================
295Suppress margins in tables
296=============================================================================*/
297
298    table th > *:first-child,
299    table td > *:first-child
300    {
301        margin-top: 0;
302    }
303
304    table th > *:last-child,
305    table td > *:last-child
306    {
307        margin-bottom: 0;
308    }
309
310/*=============================================================================
311Blurbs
312=============================================================================*/
313
314    div.note,
315    div.tip,
316    div.important,
317    div.caution,
318    div.warning,
319    p.blurb
320    {
321        font-size: 9pt; /* A little bit smaller than the main text */
322        line-height: 1.2;
323        display: block;
324        margin: 1pc 4% 0pc 4%;
325        padding: 0.5pc 0.5pc 0.5pc 0.5pc;
326    }
327
328    p.blurb img
329    {
330        padding: 1pt;
331    }
332
333/*=============================================================================
334Variable Lists
335=============================================================================*/
336
337    div.variablelist
338    {
339        margin: 1em 0;
340    }
341
342    /* Make the terms in definition lists bold */
343    div.variablelist dl dt,
344    span.term
345    {
346        font-weight: bold;
347        font-size: 10pt;
348    }
349
350    div.variablelist table tbody tr td
351    {
352        text-align: left;
353        vertical-align: top;
354        padding: 0em 2em 0em 0em;
355        font-size: 10pt;
356        margin: 0em 0em 0.5em 0em;
357        line-height: 1;
358    }
359
360    div.variablelist dl dt
361    {
362        margin-bottom: 0.2em;
363    }
364
365    div.variablelist dl dd
366    {
367        margin: 0em 0em 0.5em 2em;
368        font-size: 10pt;
369    }
370
371    div.variablelist table tbody tr td p,
372    div.variablelist dl dd p
373    {
374        margin: 0em 0em 0.5em 0em;
375        line-height: 1;
376    }
377
378/*=============================================================================
379Misc
380=============================================================================*/
381
382    /* Title of books and articles in bibliographies */
383    span.title
384    {
385        font-style: italic;
386    }
387
388    span.underline
389    {
390        text-decoration: underline;
391    }
392
393    span.strikethrough
394    {
395        text-decoration: line-through;
396    }
397
398    /* Copyright, Legal Notice */
399    div div.legalnotice p
400    {
401        text-align: left
402    }
403
404/*=============================================================================
405Colors
406=============================================================================*/
407
408    @media screen
409    {
410        body {
411            background-color: #FFFFFF;
412            color: #000000;
413        }
414
415    /* Syntax Highlighting */
416        .keyword,
417        .codehilite .k,
418        .codehilite .kc,
419        .codehilite .kd,
420        .codehilite .kn,
421        .codehilite .kp,
422        .codehilite .kr,
423        .codehilite .kt
424        { color: #0000AA; }
425        .identifier,
426        .codehilite .n,
427        .codehilite .na,
428        .codehilite .nb,
429        .codehilite .bp,
430        .codehilite .nc,
431        .codehilite .no,
432        .codehilite .nd,
433        .codehilite .ni,
434        .codehilite .ne,
435        .codehilite .nf,
436        .codehilite .py,
437        .codehilite .nl,
438        .codehilite .nn,
439        .codehilite .nx,
440        .codehilite .nt,
441        .codehilite .nv,
442        .codehilite .vc,
443        .codehilite .vg,
444        .codehilite .vi
445        { color: #000000; }
446        .special
447        { color: #707070; }
448        .preprocessor,
449        .codehilite .cp
450        { color: #402080; }
451        .char,
452        .codehilite .sc
453        { color: teal; }
454        .comment,
455        .codehilite .cm,
456        .codehilite .c1,
457        .codehilite .cs
458        { color: #800000; }
459        .string,
460        .codehilite .s,
461        .codehilite .s2,
462        .codehilite .se,
463        .codehilite .sh,
464        .codehilite .si,
465        .codehilite .sx,
466        .codehilite .sr,
467        .codehilite .s1,
468        .codehilite .ss
469        { color: teal; }
470        .number,
471        .codehilite .m,
472        .codehilite .mf,
473        .codehilite .mh,
474        .codehilite .mi,
475        .codehilite .mo
476        { color: teal; }
477        .white_bkd { background-color: #FFFFFF; }
478        .dk_grey_bkd { background-color: #999999; }
479
480    /* Links */
481        a, a .keyword, a .identifier, a .special, a .preprocessor
482        a .char, a .comment, a .string, a .number
483        {
484            color: #005a9c;
485        }
486
487        a:visited, a:visited .keyword, a:visited .identifier,
488        a:visited .special, a:visited .preprocessor a:visited .char,
489        a:visited .comment, a:visited .string, a:visited .number
490        {
491            color: #9c5a9c;
492        }
493
494        h1 a, h2 a, h3 a, h4 a, h5 a, h6 a,
495        h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover,
496        h1 a:visited, h2 a:visited, h3 a:visited, h4 a:visited, h5 a:visited, h6 a:visited
497        {
498            text-decoration: none; /* no underline */
499            color: #000000;
500        }
501
502    /* Copyright, Legal Notice */
503        .copyright
504        {
505            color: #666666;
506            font-size: small;
507        }
508
509        div div.legalnotice p
510        {
511            color: #666666;
512        }
513
514    /* Program listing */
515        pre.synopsis
516        {
517            border: 1px solid #DCDCDC;
518        }
519
520        .programlisting,
521        .screen,
522        pre > code,
523        div.codehilite
524        {
525            border: 1px solid #DCDCDC;
526        }
527
528        td .programlisting,
529        td .screen
530        {
531            border: 0px solid #DCDCDC;
532        }
533
534    /* Blurbs */
535        div.note,
536        div.tip,
537        div.important,
538        div.caution,
539        div.warning,
540        p.blurb
541        {
542            border: 1px solid #DCDCDC;
543        }
544
545    /* Table of contents */
546        div.toc
547        {
548            border: 1px solid #DCDCDC;
549        }
550
551    /* Tables */
552        div.informaltable table tr td,
553        div.table table tr td
554        {
555            border: 1px solid #DCDCDC;
556        }
557
558        div.informaltable table tr th,
559        div.table table tr th
560        {
561            background-color: #F0F0F0;
562            border: 1px solid #DCDCDC;
563        }
564
565        .copyright-footer
566        {
567            color: #8F8F8F;
568        }
569
570    /* Misc */
571        span.highlight
572        {
573            color: #00A000;
574        }
575    }
576
577    @media print
578    {
579    /* Links */
580        a
581        {
582            color: black;
583        }
584
585        a:visited
586        {
587            color: black;
588        }
589
590        .spirit-nav
591        {
592            display: none;
593        }
594
595    /* Program listing */
596        pre.synopsis
597        {
598            border: 1px solid gray;
599        }
600
601        .programlisting,
602        .screen
603        {
604            border: 1px solid gray;
605        }
606
607        td .programlisting,
608        td .screen
609        {
610            border: 0px solid #DCDCDC;
611        }
612
613    /* Table of contents */
614        div.toc
615        {
616            border: 1px solid gray;
617        }
618
619        .informaltable table,
620        .table table
621        {
622            border: 1px solid gray;
623            border-collapse: collapse;
624        }
625
626    /* Tables */
627        div.informaltable table tr td,
628        div.table table tr td
629        {
630            border: 1px solid gray;
631        }
632
633        div.informaltable table tr th,
634        div.table table tr th
635        {
636            border: 1px solid gray;
637        }
638
639        table.simplelist tr td
640        {
641            border: none !important;
642        }
643
644    /* Misc */
645        span.highlight
646        {
647            font-weight: bold;
648        }
649    }
650
651/*=============================================================================
652Images
653=============================================================================*/
654
655    span.inlinemediaobject img
656    {
657        vertical-align: middle;
658    }
659
660/*==============================================================================
661Super and Subscript: style so that line spacing isn't effected, see
662http://www.adobe.com/cfusion/communityengine/index.cfm?event=showdetails&productId=1&postId=5341
663==============================================================================*/
664
665sup,
666sub {
667height: 0;
668line-height: 1;
669vertical-align: baseline;
670position: relative;
671
672}
673
674/* For internet explorer: */
675
676* html sup,
677* html sub {
678vertical-align: bottom;
679}
680
681sup {
682bottom: 1ex;
683}
684
685sub {
686top: .5ex;
687}
688
689/*==============================================================================
690Indexes: pretty much the same as the TOC.
691==============================================================================*/
692
693    .index
694    {
695       font-size: 80%;
696       padding-top: 0px;
697       padding-bottom: 0px;
698       margin-top: 0px;
699       margin-bottom: 0px;
700       margin-left: 0px;
701    }
702
703    .index ul
704    {
705       padding-left: 3em;
706    }
707
708    .index p
709    {
710       padding: 2px;
711       margin: 2px;
712    }
713
714    .index-entry-level-0
715    {
716        font-weight: bold;
717    }
718
719    .index em
720    {
721        font-weight: bold;
722    }
723
724
725/*==============================================================================
726Alignment and coloring use 'role' feature, available from Quickbook 1.6 up.
727Added from Niall Douglas for role color and alignment.
728http://article.gmane.org/gmane.comp.lib.boost.devel/243318
729*/
730
731/* Add text alignment (see http://www.w3schools.com/cssref/pr_text_text-align.asp) */
732span.aligncenter
733{
734  display: inline-block; width: 100%; text-align: center;
735}
736span.alignright
737{
738  display: inline-block; width: 100%; text-align: right;
739}
740/* alignleft is the default. */
741span.alignleft
742{
743  display: inline-block; width: 100%; text-align: left;
744}
745
746/* alignjustify stretches the word spacing so that each line has equal width
747within a chosen fraction of page width (here arbitrarily 20%).
748*Not* useful inside table items as the column width remains the total string width.
749Nor very useful, except to temporarily restrict the width.
750*/
751span.alignjustify
752{
753  display: inline-block; width: 20%; text-align: justify;
754}
755
756/* Text colors.
757Names at http://www.w3.org/TR/2002/WD-css3-color-20020219/ 4.3. X11 color keywords.
758Quickbook Usage: [role red Some red text]
759
760*/
761span.red { inline-block; color: red; }
762span.green { color: green; }
763span.lime { color: #00FF00; }
764span.blue { color: blue; }
765span.navy { color: navy; }
766span.yellow { color: yellow; }
767span.magenta { color: magenta; }
768span.indigo { color: #4B0082; }
769span.cyan { color: cyan; }
770span.purple { color: purple; }
771span.gold { color: gold; }
772span.silver { color: silver; } /* lighter gray */
773span.gray { color: #808080; } /* light gray */
774
775span.warning {
776  display: inline-block;
777  border:1px solid #C0C0C0;
778  border-collapse:collapse;
779  margin-bottom: 20px;
780  padding:5px;
781}
782
783/*=============================================================================
784Sphinx Styles Adjustments
785=============================================================================*/
786
787    div.toctree-wrapper
788    {
789       margin: 1pc 4% 0pc 4%;
790       padding: 0.1pc 1pc 0.1pc 1pc;
791       font-size: 80%;
792       line-height: 1.15;
793       border: 1px solid #DCDCDC;
794       padding-top: 1em;
795    }
796
797    div.toctree-wrapper:before
798    {
799        content: "Table of Contents";
800        font-weight: bold;
801        font-size: 10pt;
802        line-height: 1.15;
803    }
804
805    .boost-toc
806    {
807       float: right;
808       padding: 0.5pc;
809    }
810
811    /* Code on toc */
812    .toctree-wrapper .computeroutput { font-size: 120% }
813
814    .toctree-wrapper ul ul { margin: 0; }
815    .toctree-wrapper ul, .toctree-wrapper li
816    {
817        font-size: inherit;
818        line-height: inherit;
819        list-style-type:none;
820    }
821
822    .toctree-wrapper ul
823    {
824        padding-left: 0;
825    }
826
827    li.toctree-l2,
828    li.toctree-l3,
829    li.toctree-l4,
830    li.toctree-l5
831    {
832        padding-left: 3em;
833    }
834
835    a.headerlink:visited,
836    a.headerlink
837    {
838        color: white;
839        background: white;
840        padding: 0 4px;
841        text-decoration: none;
842    }
843
844    a.headerlink:hover
845    {
846        color: lightgray;
847        background: white;
848    }
849
850    div.highlight
851    {
852        border: 1px solid #DCDCDC;
853        font-size: 9pt;
854        display: block;
855        margin: 1pc 4% 0pc 4%;
856        padding: 0.5pc 0.5pc 0.5pc 0.5pc;
857    }
858
859    /* Tables */
860    table.docutils
861    {
862        width: 92%;
863        margin-left: 4%;
864        margin-right: 4%;
865        border: none;
866        padding: 4px;
867    }
868
869    /* Table Cells */
870    table.docutils tr td
871    {
872        padding: 0.5em;
873        text-align: left;
874        font-size: 9pt;
875    }
876
877    table.docutils tr th
878    {
879        padding: 0.5em 0.5em 0.5em 0.5em;
880        border: 1pt solid white;
881        font-size: 80%;
882    }
883    table.docutils tr td
884    {
885        border: 1px solid #DCDCDC;
886    }
887
888    table.docutils tr th
889    {
890        background-color: #F0F0F0;
891        border: 1px solid #DCDCDC;
892    }
893