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