1 /*=============================================================================
2 Copyright (c) 2004 Joel de Guzman
3 http://spirit.sourceforge.net/
5 Copyright 2013 Niall Douglas additions for colors and alignment.
6 Copyright 2013 Paul A. Bristow additions for more colors and alignments.
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 =============================================================================*/
12 /*=============================================================================
14 =============================================================================*/
19 font-family: sans-serif
;
22 /*=============================================================================
24 =============================================================================*/
38 font-family: Century Gothic
;
44 /*=============================================================================
46 =============================================================================*/
48 /* Code on paragraphs */
57 margin: 1pc 4% 0pc 4%;
58 padding: 0.5pc 0.5pc 0.5pc 0.5pc;
66 margin: 1pc 4% 0pc 4%;
67 padding: 0.5pc 0.5pc 0.5pc 0.5pc;
70 /* Program listings in tables don't get borders */
74 margin: 0pc 0pc 0pc 0pc;
75 padding: 0pc 0pc 0pc 0pc;
78 /*=============================================================================
80 =============================================================================*/
82 h1
, h2
, h3
, h4
, h5
, h6
85 margin: 1em 0em 0.5em 0em;
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%; }
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% }
119 margin: 0em 0em 0.5em 0em;
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% }
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% }
138 /*=============================================================================
140 =============================================================================*/
147 /*=============================================================================
149 =============================================================================*/
157 /* Unordered lists */
169 /*=============================================================================
171 =============================================================================*/
175 text-decoration: none
; /* no underline */
180 text-decoration: underline
;
183 /*=============================================================================
184 Spirit style navigation
185 =============================================================================*/
203 /*=============================================================================
205 =============================================================================*/
218 /*=============================================================================
220 =============================================================================*/
224 margin: 1pc 4% 0pc 4%;
225 padding: 0.1pc 1pc 0.1pc 1pc;
237 .toc .computeroutput { font-size: 120% }
239 /* No margin on nested menus */
241 .toc dl dl { margin: 0; }
243 /*=============================================================================
245 =============================================================================*/
251 padding-right: 0.5em;
255 .informaltable table
,
263 div
.informaltable table
,
270 div
.informaltable table tr td
,
271 div
.table table tr td
278 div
.informaltable table tr th
,
279 div
.table table tr th
281 padding: 0.5em 0.5em 0.5em 0.5em;
282 border: 1pt solid white
;
288 width: auto
!important
;
289 margin: 0em !important
;
290 padding: 0em !important
;
291 border: none
!important
;
295 margin: 0em !important
;
296 padding: 0em !important
;
297 text-align: left
!important
;
298 font-size: 9pt !important
;
299 border: none
!important
;
302 /*=============================================================================
304 =============================================================================*/
313 font-size: 9pt; /* A little bit smaller than the main text */
316 margin: 1pc 4% 0pc 4%;
317 padding: 0.5pc 0.5pc 0.5pc 0.5pc;
325 /*=============================================================================
327 =============================================================================*/
334 /* Make the terms in definition lists bold */
335 div
.variablelist dl dt
,
342 div
.variablelist table tbody tr td
346 padding: 0em 2em 0em 0em;
348 margin: 0em 0em 0.5em 0em;
352 div
.variablelist dl dt
354 margin-bottom: 0.2em;
357 div
.variablelist dl dd
359 margin: 0em 0em 0.5em 2em;
363 div
.variablelist table tbody tr td p
,
364 div
.variablelist dl dd p
366 margin: 0em 0em 0.5em 0em;
370 /*=============================================================================
372 =============================================================================*/
374 /* Title of books and articles in bibliographies */
382 text-decoration: underline
;
387 text-decoration: line-through
;
390 /* Copyright, Legal Notice */
391 div div
.legalnotice p
396 /*=============================================================================
398 =============================================================================*/
403 background-color: #FFFFFF;
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; }
420 a
, a
.keyword
, a
.identifier
, a
.special
, a
.preprocessor
421 a
.char
, a
.comment
, a
.string
, a
.number
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
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
437 text-decoration: none
; /* no underline */
441 /* Copyright, Legal Notice */
448 div div
.legalnotice p
453 /* Program listing */
456 border: 1px solid
#DCDCDC;
457 box-shadow: 4px 4px 2px #9D9D9D;
458 background-color: #EEEEF3;
464 border: 1px solid
#DCDCDC;
465 background-color: #EEEEF3;
471 border: 0px solid
#DCDCDC;
482 border: 1px solid
#DCDCDC;
486 border: 1px solid
#DCDCDC;
487 box-shadow: 5px 5px 2px #9D9D9D;
488 background-color: #EEEEF3;
491 /* Table of contents */
495 border: 1px solid
#DCDCDC;
496 box-shadow: 5px 5px 2px #9D9D9D;
497 background-color: #EEEEF3;
507 div
.informaltable table tr td
,
508 div
.table table tr td
510 border: 1px solid
#DCDCDC;
511 background-color: #EEEEF3;
514 div
.informaltable table tr th
,
515 div
.table table tr th
517 background-color: #E3F9E4;
518 border: 1px solid
#DCDCDC;
551 /* Program listing */
554 border: 1px solid gray
;
555 background-color: #EEEEF3;
561 border: 1px solid gray
;
562 background-color: #EEEEF3;
568 border: 0px solid
#DCDCDC;
571 /* Table of contents */
574 border: 1px solid
#DCDCDC;
575 box-shadow: 5px 5px 2px #9D9D9D;
576 background-color: #EEEEF3;
579 /* Table of contents */
582 border: 1px solid
#DCDCDC;
583 box-shadow: 5px 5px 2px #9D9D9D;
584 background-color: #EEEEF3;
587 .informaltable table
,
590 border: 1px solid
#DCDCDC;
591 box-shadow: 4px 4px 2px #9D9D9D;
592 border-collapse: collapse
;
593 background-color: #EEEEF3;
597 div
.informaltable table tr td
,
598 div
.table table tr td
600 border: 1px solid
#DCDCDC;
601 background-color: #EEEEF3;
604 div
.informaltable table tr th
,
605 div
.table table tr th
607 border: 1px solid
#DCDCDC;
608 background-color: #EEEEF3;
611 table
.simplelist tr td
613 border: none
!important
;
623 /*=============================================================================
625 =============================================================================*/
627 span
.inlinemediaobject img
629 vertical-align: middle
;
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 ==============================================================================*/
641 vertical-align: baseline
;
646 /* For internet explorer: */
650 vertical-align: bottom
;
661 /*==============================================================================
662 Indexes: pretty much the same as the TOC.
663 ==============================================================================*/
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
703 /* Add text alignment (see http://www.w3schools.com/cssref/pr_text_text-align.asp) */
706 display: inline-block
; width: 100%; text-align: center
;
710 display: inline-block
; width: 100%; text-align: right
;
712 /* alignleft is the default. */
715 display: inline-block
; width: 100%; text-align: left
;
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.
725 display: inline-block
; width: 20%; text-align: justify
;
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]
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 */