2 /*=============================================================================
3 Copyright (c) 2004 Joel de Guzman
4 http://spirit.sourceforge.net/
6 Copyright 2013 Niall Douglas additions for colors and alignment.
7 Copyright 2013 Paul A. Bristow additions for more colors and alignments.
9 Distributed under the Boost Software License, Version 1.0. (See accompany-
10 ing file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
11 =============================================================================*/
13 /*=============================================================================
15 =============================================================================*/
20 font-family: sans-serif;
23 /*=============================================================================
25 =============================================================================*/
34 /*=============================================================================
36 =============================================================================*/
38 /* Code on paragraphs */
47 margin: 1pc 4% 0pc 4%;
48 padding: 0.5pc 0.5pc 0.5pc 0.5pc;
56 margin: 1pc 4% 0pc 4%;
57 padding: 0.5pc 0.5pc 0.5pc 0.5pc;
60 /* Program listings in tables don't get borders */
64 margin: 0pc 0pc 0pc 0pc;
65 padding: 0pc 0pc 0pc 0pc;
68 /*=============================================================================
70 =============================================================================*/
72 h1, h2, h3, h4, h5, h6
75 margin: 1em 0em 0.5em 0em;
79 h1 { font-size: 140%; }
80 h2 { font-weight: bold; font-size: 140%; }
81 h3 { font-weight: bold; font-size: 130%; }
82 h4 { font-weight: bold; font-size: 120%; }
83 h5 { font-weight: normal; font-style: italic; font-size: 110%; }
84 h6 { font-weight: normal; font-style: italic; font-size: 100%; }
100 h1.title { font-size: 140% }
101 h2.title { font-size: 140% }
102 h3.title { font-size: 130% }
103 h4.title { font-size: 120% }
104 h5.title { font-size: 110% }
105 h6.title { font-size: 100% }
109 margin: 0em 0em 0.5em 0em;
113 .section h2 { font-size: 140% }
114 .section h3 { font-size: 130% }
115 .section h4 { font-size: 120% }
116 .section h5 { font-size: 110% }
117 .section h6 { font-size: 100% }
120 h1 tt.computeroutput { font-size: 140% }
121 h2 tt.computeroutput { font-size: 140% }
122 h3 tt.computeroutput { font-size: 130% }
123 h4 tt.computeroutput { font-size: 130% }
124 h5 tt.computeroutput { font-size: 130% }
125 h6 tt.computeroutput { font-size: 130% }
128 /*=============================================================================
130 =============================================================================*/
137 /*=============================================================================
139 =============================================================================*/
147 /* Unordered lists */
159 /*=============================================================================
161 =============================================================================*/
165 text-decoration: none; /* no underline */
170 text-decoration: underline;
173 /*=============================================================================
174 Spirit style navigation
175 =============================================================================*/
193 /*=============================================================================
195 =============================================================================*/
208 /*=============================================================================
210 =============================================================================*/
214 margin: 1pc 4% 0pc 4%;
215 padding: 0.1pc 1pc 0.1pc 1pc;
227 .toc .computeroutput { font-size: 120% }
229 /* No margin on nested menus */
231 .toc dl dl { margin: 0; }
233 /*=============================================================================
235 =============================================================================*/
241 padding-right: 0.5em;
245 .informaltable table,
253 div.informaltable table,
260 div.informaltable table tr td,
261 div.table table tr td
268 div.informaltable table tr th,
269 div.table table tr th
271 padding: 0.5em 0.5em 0.5em 0.5em;
272 border: 1pt solid white;
278 width: auto !important;
279 margin: 0em !important;
280 padding: 0em !important;
281 border: none !important;
285 margin: 0em !important;
286 padding: 0em !important;
287 text-align: left !important;
288 font-size: 9pt !important;
289 border: none !important;
292 /*=============================================================================
294 =============================================================================*/
303 font-size: 9pt; /* A little bit smaller than the main text */
306 margin: 1pc 4% 0pc 4%;
307 padding: 0.5pc 0.5pc 0.5pc 0.5pc;
315 /*=============================================================================
317 =============================================================================*/
324 /* Make the terms in definition lists bold */
325 div.variablelist dl dt,
332 div.variablelist table tbody tr td
336 padding: 0em 2em 0em 0em;
338 margin: 0em 0em 0.5em 0em;
342 div.variablelist dl dt
344 margin-bottom: 0.2em;
347 div.variablelist dl dd
349 margin: 0em 0em 0.5em 2em;
353 div.variablelist table tbody tr td p,
354 div.variablelist dl dd p
356 margin: 0em 0em 0.5em 0em;
360 /*=============================================================================
362 =============================================================================*/
364 /* Title of books and articles in bibliographies */
372 text-decoration: underline;
377 text-decoration: line-through;
380 /* Copyright, Legal Notice */
381 div div.legalnotice p
386 /*=============================================================================
388 =============================================================================*/
393 background-color: #FFFFFF;
397 /* Syntax Highlighting */
398 .keyword { color: #0000AA; }
399 .identifier { color: #000000; }
400 .special { color: #707070; }
401 .preprocessor { color: #402080; }
402 .char { color: teal; }
403 .comment { color: #800000; }
404 .string { color: teal; }
405 .number { color: teal; }
406 .white_bkd { background-color: #FFFFFF; }
407 .dk_grey_bkd { background-color: #999999; }
410 a, a .keyword, a .identifier, a .special, a .preprocessor
411 a .char, a .comment, a .string, a .number
416 a:visited, a:visited .keyword, a:visited .identifier,
417 a:visited .special, a:visited .preprocessor a:visited .char,
418 a:visited .comment, a:visited .string, a:visited .number
423 h1 a, h2 a, h3 a, h4 a, h5 a, h6 a,
424 h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover,
425 h1 a:visited, h2 a:visited, h3 a:visited, h4 a:visited, h5 a:visited, h6 a:visited
427 text-decoration: none; /* no underline */
431 /* Copyright, Legal Notice */
438 div div.legalnotice p
443 /* Program listing */
446 border: 1px solid #DCDCDC;
452 border: 1px solid #DCDCDC;
458 border: 0px solid #DCDCDC;
469 border: 1px solid #DCDCDC;
472 /* Table of contents */
475 border: 1px solid #DCDCDC;
479 div.informaltable table tr td,
480 div.table table tr td
482 border: 1px solid #DCDCDC;
485 div.informaltable table tr th,
486 div.table table tr th
488 background-color: #F0F0F0;
489 border: 1px solid #DCDCDC;
522 /* Program listing */
525 border: 1px solid gray;
531 border: 1px solid gray;
537 border: 0px solid #DCDCDC;
540 /* Table of contents */
543 border: 1px solid gray;
546 .informaltable table,
549 border: 1px solid gray;
550 border-collapse: collapse;
554 div.informaltable table tr td,
555 div.table table tr td
557 border: 1px solid gray;
560 div.informaltable table tr th,
561 div.table table tr th
563 border: 1px solid gray;
566 table.simplelist tr td
568 border: none !important;
578 /*=============================================================================
580 =============================================================================*/
582 span.inlinemediaobject img
584 vertical-align: middle;
587 /*==============================================================================
588 Super and Subscript: style so that line spacing isn't effected, see
589 http://www.adobe.com/cfusion/communityengine/index.cfm?event=showdetails&productId=1&postId=5341
590 ==============================================================================*/
596 vertical-align: baseline;
601 /* For internet explorer: */
605 vertical-align: bottom;
616 /*==============================================================================
617 Indexes: pretty much the same as the TOC.
618 ==============================================================================*/
652 /*==============================================================================
653 Alignment and coloring use 'role' feature, available from Quickbook 1.6 up.
654 Added from Niall Douglas for role color and alignment.
655 http://article.gmane.org/gmane.comp.lib.boost.devel/243318
658 /* Add text alignment (see http://www.w3schools.com/cssref/pr_text_text-align.asp) */
661 display: inline-block; width: 100%; text-align: center;
665 display: inline-block; width: 100%; text-align: right;
667 /* alignleft is the default. */
670 display: inline-block; width: 100%; text-align: left;
673 /* alignjustify stretches the word spacing so that each line has equal width
674 within a chosen fraction of page width (here arbitrarily 20%).
675 *Not* useful inside table items as the column width remains the total string width.
676 Nor very useful, except to temporarily restrict the width.
680 display: inline-block; width: 20%; text-align: justify;
684 Names at http://www.w3.org/TR/2002/WD-css3-color-20020219/ 4.3. X11 color keywords.
685 Quickbook Usage: [role red Some red text]
688 span.red { inline-block; color: red; }
689 span.green { color: green; }
690 span.lime { color: #00FF00; }
691 span.blue { color: blue; }
692 span.navy { color: navy; }
693 span.yellow { color: yellow; }
694 span.magenta { color: magenta; }
695 span.indigo { color: #4B0082; }
696 span.cyan { color: cyan; }
697 span.purple { color: purple; }
698 span.gold { color: gold; }
699 span.silver { color: silver; } /* lighter gray */
700 span.gray { color: #808080; } /* light gray */