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 /*=============================================================================
293 Suppress margins in tables
294 =============================================================================*/
296 table th > *:first-child,
297 table td > *:first-child
302 table th > *:last-child,
303 table td > *:last-child
308 /*=============================================================================
310 =============================================================================*/
319 font-size: 9pt; /* A little bit smaller than the main text */
322 margin: 1pc 4% 0pc 4%;
323 padding: 0.5pc 0.5pc 0.5pc 0.5pc;
331 /*=============================================================================
333 =============================================================================*/
340 /* Make the terms in definition lists bold */
341 div.variablelist dl dt,
348 div.variablelist table tbody tr td
352 padding: 0em 2em 0em 0em;
354 margin: 0em 0em 0.5em 0em;
358 div.variablelist dl dt
360 margin-bottom: 0.2em;
363 div.variablelist dl dd
365 margin: 0em 0em 0.5em 2em;
369 div.variablelist table tbody tr td p,
370 div.variablelist dl dd p
372 margin: 0em 0em 0.5em 0em;
376 /*=============================================================================
378 =============================================================================*/
380 /* Title of books and articles in bibliographies */
388 text-decoration: underline;
393 text-decoration: line-through;
396 /* Copyright, Legal Notice */
397 div div.legalnotice p
402 /*=============================================================================
404 =============================================================================*/
409 background-color: #FFFFFF;
413 /* Syntax Highlighting */
414 .keyword { color: #0000AA; }
415 .identifier { color: #000000; }
416 .special { color: #707070; }
417 .preprocessor { color: #402080; }
418 .char { color: teal; }
419 .comment { color: #800000; }
420 .string { color: teal; }
421 .number { color: teal; }
422 .white_bkd { background-color: #FFFFFF; }
423 .dk_grey_bkd { background-color: #999999; }
426 a, a .keyword, a .identifier, a .special, a .preprocessor
427 a .char, a .comment, a .string, a .number
432 a:visited, a:visited .keyword, a:visited .identifier,
433 a:visited .special, a:visited .preprocessor a:visited .char,
434 a:visited .comment, a:visited .string, a:visited .number
439 h1 a, h2 a, h3 a, h4 a, h5 a, h6 a,
440 h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover,
441 h1 a:visited, h2 a:visited, h3 a:visited, h4 a:visited, h5 a:visited, h6 a:visited
443 text-decoration: none; /* no underline */
447 /* Copyright, Legal Notice */
454 div div.legalnotice p
459 /* Program listing */
462 border: 1px solid #DCDCDC;
468 border: 1px solid #DCDCDC;
474 border: 0px solid #DCDCDC;
485 border: 1px solid #DCDCDC;
488 /* Table of contents */
491 border: 1px solid #DCDCDC;
495 div.informaltable table tr td,
496 div.table table tr td
498 border: 1px solid #DCDCDC;
501 div.informaltable table tr th,
502 div.table table tr th
504 background-color: #F0F0F0;
505 border: 1px solid #DCDCDC;
538 /* Program listing */
541 border: 1px solid gray;
547 border: 1px solid gray;
553 border: 0px solid #DCDCDC;
556 /* Table of contents */
559 border: 1px solid gray;
562 .informaltable table,
565 border: 1px solid gray;
566 border-collapse: collapse;
570 div.informaltable table tr td,
571 div.table table tr td
573 border: 1px solid gray;
576 div.informaltable table tr th,
577 div.table table tr th
579 border: 1px solid gray;
582 table.simplelist tr td
584 border: none !important;
594 /*=============================================================================
596 =============================================================================*/
598 span.inlinemediaobject img
600 vertical-align: middle;
603 /*==============================================================================
604 Super and Subscript: style so that line spacing isn't effected, see
605 http://www.adobe.com/cfusion/communityengine/index.cfm?event=showdetails&productId=1&postId=5341
606 ==============================================================================*/
612 vertical-align: baseline;
617 /* For internet explorer: */
621 vertical-align: bottom;
632 /*==============================================================================
633 Indexes: pretty much the same as the TOC.
634 ==============================================================================*/
668 /*==============================================================================
669 Alignment and coloring use 'role' feature, available from Quickbook 1.6 up.
670 Added from Niall Douglas for role color and alignment.
671 http://article.gmane.org/gmane.comp.lib.boost.devel/243318
674 /* Add text alignment (see http://www.w3schools.com/cssref/pr_text_text-align.asp) */
677 display: inline-block; width: 100%; text-align: center;
681 display: inline-block; width: 100%; text-align: right;
683 /* alignleft is the default. */
686 display: inline-block; width: 100%; text-align: left;
689 /* alignjustify stretches the word spacing so that each line has equal width
690 within a chosen fraction of page width (here arbitrarily 20%).
691 *Not* useful inside table items as the column width remains the total string width.
692 Nor very useful, except to temporarily restrict the width.
696 display: inline-block; width: 20%; text-align: justify;
700 Names at http://www.w3.org/TR/2002/WD-css3-color-20020219/ 4.3. X11 color keywords.
701 Quickbook Usage: [role red Some red text]
704 span.red { inline-block; color: red; }
705 span.green { color: green; }
706 span.lime { color: #00FF00; }
707 span.blue { color: blue; }
708 span.navy { color: navy; }
709 span.yellow { color: yellow; }
710 span.magenta { color: magenta; }
711 span.indigo { color: #4B0082; }
712 span.cyan { color: cyan; }
713 span.purple { color: purple; }
714 span.gold { color: gold; }
715 span.silver { color: silver; } /* lighter gray */
716 span.gray { color: #808080; } /* light gray */