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 =============================================================================*/
24 font-family: sans-serif
;
27 /*=============================================================================
29 =============================================================================*/
36 /*=============================================================================
38 =============================================================================*/
40 /* Code on paragraphs */
48 margin: 1pc 4% 0pc 4%;
49 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%; color: rgb
(74, 100, 132); }
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 =============================================================================*/
145 /* Unordered lists */
157 /*=============================================================================
159 =============================================================================*/
163 text-decoration: none
; /* no underline */
168 text-decoration: underline
;
171 /*=============================================================================
172 Spirit style navigation
173 =============================================================================*/
191 /*=============================================================================
193 =============================================================================*/
199 /*=============================================================================
201 =============================================================================*/
215 .toc .computeroutput { font-size: 120% }
217 /* No margin on nested menus */
219 .toc dl dl { margin: 0; }
221 /*=============================================================================
223 =============================================================================*/
225 .informaltable table
,
244 div
.informaltable table tr td
,
245 div
.table table tr td
252 div
.informaltable table tr th
,
253 div
.table table tr th
255 padding: 0.5em 0.5em 0.5em 0.5em;
256 border: 1pt solid white
;
262 width: auto
!important
;
263 margin: 0em !important
;
264 padding: 0em !important
;
265 border: none
!important
;
269 margin: 0em !important
;
270 padding: 0em !important
;
271 text-align: left
!important
;
272 border: none
!important
;
275 /*=============================================================================
277 =============================================================================*/
288 border: 1px solid
#ddd;
291 div
.note h3
, div
.tip h3
, div
.important h3
, div
.caution h3
, div
.warning h3
294 margin: 0 !important
;
298 div
.note p
, div
.tip p
, div
.important p
, div
.caution p
, div
.warning p
305 border-left: 6px solid
#f2dede;
310 border-left: 6px solid
#d9edf7;
318 /*=============================================================================
320 =============================================================================*/
327 /* Make the terms in definition lists bold */
328 div
.variablelist dl dt
,
334 div
.variablelist table tbody tr td
338 padding: 0em 2em 0em 0em;
339 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;
352 div
.variablelist table tbody tr td p
,
353 div
.variablelist dl dd p
355 margin: 0em 0em 0.5em 0em;
358 /*=============================================================================
360 =============================================================================*/
362 /* Title of books and articles in bibliographies */
370 text-decoration: underline
;
375 text-decoration: line-through
;
378 /* Copyright, Legal Notice */
379 div div
.legalnotice p
384 /*=============================================================================
386 =============================================================================*/
391 background-color: #FFFFFF;
395 /* Syntax Highlighting */
396 .keyword { color: #0000AA; }
397 .identifier { color: #000000; }
398 .special { color: #707070; }
399 .preprocessor { color: #402080; }
400 .char { color: teal
; }
401 .comment { color: #800000; }
402 .string { color: teal
; }
403 .number { color: teal
; }
404 .white_bkd { background-color: #FFFFFF; }
405 .dk_grey_bkd { background-color: #999999; }
408 a
, a
.keyword
, a
.identifier
, a
.special
, a
.preprocessor
409 a
.char
, a
.comment
, a
.string
, a
.number
414 a:visited
, a:visited
.keyword
, a:visited
.identifier
,
415 a:visited
.special
, a:visited
.preprocessor
a:visited
.char
,
416 a:visited
.comment
, a:visited
.string
, a:visited
.number
421 h1 a
, h2 a
, h3 a
, h4 a
, h5 a
, h6 a
,
422 h1
a:hover
, h2
a:hover
, h3
a:hover
, h4
a:hover
, h5
a:hover
, h6
a:hover
,
423 h1
a:visited
, h2
a:visited
, h3
a:visited
, h4
a:visited
, h5
a:visited
, h6
a:visited
425 text-decoration: none
; /* no underline */
429 /* Copyright, Legal Notice */
436 div div
.legalnotice p
441 /* Program listing */
444 border: 1px solid
#ddd;
445 border-left: 6px solid
#ddd;
453 border: 1px solid
#ddd;
454 border-left: 6px solid
#ddd;
462 border: 1px solid
#ddd;
463 border-left: 6px solid
#ddd;
468 /* Table of contents */
471 border: 1px solid
#ddd;
476 div
.informaltable table tr td
,
477 div
.table table tr td
479 border: 1px solid
#ddd;
482 div
.informaltable table tr th
,
483 div
.table table tr th
485 background-color: #F0F0F0;
486 border: 1px solid
#ddd;
519 /* Program listing */
522 border: 1px solid gray
;
528 border: 1px solid gray
;
534 border: 0px solid
#ddd;
537 /* Table of contents */
540 border: 1px solid gray
;
543 .informaltable table
,
546 border: 1px solid gray
;
547 border-collapse: collapse
;
551 div
.informaltable table tr td
,
552 div
.table table tr td
554 border: 1px solid gray
;
557 div
.informaltable table tr th
,
558 div
.table table tr th
560 border: 1px solid gray
;
563 table
.simplelist tr td
565 border: none
!important
;
575 /*=============================================================================
577 =============================================================================*/
579 span
.inlinemediaobject img
581 vertical-align: middle
;
584 /*==============================================================================
585 Super and Subscript: style so that line spacing isn't effected, see
586 http://www.adobe.com/cfusion/communityengine/index.cfm?event=showdetails&productId=1&postId=5341
587 ==============================================================================*/
593 vertical-align: baseline
;
598 /* For internet explorer: */
602 vertical-align: bottom
;
613 /*==============================================================================
614 Indexes: pretty much the same as the TOC.
615 ==============================================================================*/
649 /*==============================================================================
650 Alignment and coloring use 'role' feature, available from Quickbook 1.6 up.
651 Added from Niall Douglas for role color and alignment.
652 http://article.gmane.org/gmane.comp.lib.boost.devel/243318
655 /* Add text alignment (see http://www.w3schools.com/cssref/pr_text_text-align.asp) */
658 display: inline-block
; width: 100%; text-align: center
;
662 display: inline-block
; width: 100%; text-align: right
;
664 /* alignleft is the default. */
667 display: inline-block
; width: 100%; text-align: left
;
670 /* alignjustify stretches the word spacing so that each line has equal width
671 within a chosen fraction of page width (here arbitrarily 20%).
672 *Not* useful inside table items as the column width remains the total string width.
673 Nor very useful, except to temporarily restrict the width.
677 display: inline-block
; width: 20%; text-align: justify
;
681 Names at http://www.w3.org/TR/2002/WD-css3-color-20020219/ 4.3. X11 color keywords.
682 Quickbook Usage: [role red Some red text]
685 span
.red
{ inline-block
; color: red
; }
686 span
.green
{ color: green
; }
687 span
.lime
{ color: #00FF00; }
688 span
.blue
{ color: blue
; }
689 span
.navy
{ color: navy
; }
690 span
.yellow
{ color: yellow
; }
691 span
.magenta
{ color: magenta
; }
692 span
.indigo
{ color: #4B0082; }
693 span
.cyan
{ color: cyan
; }
694 span
.purple
{ color: purple
; }
695 span
.gold
{ color: gold
; }
696 span
.silver
{ color: silver
; } /* lighter gray */
697 span
.gray
{ color: #808080; } /* light gray */
699 div
.titlepage hr
{ display: none
; }
700 div
.dedication h1
{ display: none
; }
704 border-top: 1px solid
#eee;