1 @import url('../../../../doc/src/boostbook.css');
2 /* Contains the basic settings for BoostBook and used by Quickbook to docbook conversion. */
4 /*=============================================================================
5 Copyright (c) 2004 Joel de Guzman http://spirit.sourceforge.net/
6 Copyright (c) 2014 John Maddock
7 Copyright 2013 Niall Douglas additions for colors and alignment.
8 Copyright 2013 Paul A. Bristow additions for more colors and alignments.
9 Copyright 2019 Paul A. Bristow additions for more control of serif-italic font etc.
11 Distributed under the Boost Software License, Version 1.0. (See accompany-
12 ing file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
14 This Cascading Style Sheet is used to override and add to the standard Boost
15 CSS BoostBook for a particular library, for example Boost.Math and Boost.Multiprecision.
17 Visual Studio is recommended for editing this file
18 because it checks syntax, does layout and provides help on options.
20 IMPORTANT: there are two versions of this file -
22 one in libs/math/doc and one in libs/math/doc/html
24 ONLY EVER EDIT THE FIRST OF THESE !!!!
26 =============================================================================*/
28 /*=============================================================================
30 =============================================================================*/
32 /* Code on paragraphs */
41 margin: 1pc 4% 0pc 4%;
42 padding: 0.5pc 0.5pc 0.5pc 0.5pc;
50 /* was margin: 1pc 4% 0pc 4%; */
51 margin: 1pc 2% 0pc 2%;
52 padding: 0.5pc 0.5pc 0.5pc 0.5pc;
56 /* Syntax Highlighting */
57 .comment { color: green; }
58 /* .comment { color: #008000; } */
60 /* Program listings in tables don't get borders */
64 margin: 0pc 0pc 0pc 0pc;
65 padding: 0pc 0pc 0pc 0pc;
68 /*=============================================================================
70 =============================================================================*/
74 margin: 1pc 4% 0pc 4%;
75 padding: 0.1pc 1pc 0.1pc 1pc;
87 .toc .computeroutput { font-size: 120% }
89 /* No margin on nested menus */
91 .toc dl dl { margin: 0; }
94 /*==============================================================================
95 Alignment and coloring use 'role' feature, available from Quickbook 1.6 up.
96 Added from Niall Douglas for role color and alignment.
97 http://article.gmane.org/gmane.comp.lib.boost.devel/243318
100 /* Add text alignment (see http://www.w3schools.com/cssref/pr_text_text-align.asp) */
103 display: inline-block; width: 100%; text-align: center;
107 display: inline-block; width: 100%; text-align: right;
109 /* alignleft is the default. */
112 display: inline-block; width: 100%; text-align: left;
115 /* alignjustify stretches the word spacing so that each line has equal width
116 within a chosen fraction of page width (here arbitrarily 20%).
117 *Not* useful inside table items as the column width remains the total string width.
118 Nor very useful, except to temporarily restrict the width.
122 display: inline-block; width: 20%; text-align: justify;
126 Names at http://www.w3.org/TR/2002/WD-css3-color-20020219/ 4.3. X11 color keywords.
127 Quickbook Usage: [role red Some red text]
130 span.red { inline-block; color: red; }
131 span.green { color: green; }
132 span.lime { color: #00FF00; }
133 span.blue { color: blue; }
134 span.navy { color: navy; }
135 span.yellow { color: yellow; }
136 span.magenta { color: magenta; }
137 span.indigo { color: #4B0082; }
138 span.cyan { color: cyan; }
139 span.purple { color: purple; }
140 span.gold { color: gold; }
141 span.silver { color: silver; } /* lighter gray */
142 span.gray { color: #808080; } /* light gray */
144 /* role for inline Unicode mathematical equations,
145 making font an italic (as is conventional for equations)
146 and a serif version of font (to match those generated using .mml to SVG or PNG)
147 and a little bigger (* 125%) because the serif font appears smaller than the default sans serif fonts.
148 Used, for example: [role serif_italic This is in serif font and italic].
149 Used in turn by template for inline expressions to match equations as SVG or PNG images.
156 font-stretch: expanded;
159 /* Custom indent of paragraphs to make equations look nicer.
160 https://www.w3schools.com/tags/tag_blockquote.asp says
161 "Most browsers will display the <blockquote> element with left and right margin 40px values: "