1 | /*============================================================================= |
---|
2 | Copyright (c) 2002 2004 Joel de Guzman, Eric Niebler, Rene Rivera |
---|
3 | http://spirit.sourceforge.net/ |
---|
4 | |
---|
5 | Use, modification and distribution is subject to the Boost Software |
---|
6 | License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at |
---|
7 | http://www.boost.org/LICENSE_1_0.txt) |
---|
8 | =============================================================================*/ |
---|
9 | |
---|
10 | /* CSS based on w3c documentation which I like a lot, and the classic Spirit |
---|
11 | documentation. */ |
---|
12 | |
---|
13 | /* Body defaults */ |
---|
14 | body |
---|
15 | { |
---|
16 | padding: 2em 1em 2em 1em; |
---|
17 | margin: 1em 1em 1em 1em; |
---|
18 | font-family: sans-serif; |
---|
19 | } |
---|
20 | |
---|
21 | /* Paragraphs */ |
---|
22 | p |
---|
23 | { |
---|
24 | text-align: justify; |
---|
25 | } |
---|
26 | |
---|
27 | pre.synopsis |
---|
28 | { |
---|
29 | margin: 1pc 4% 0pc 4%; |
---|
30 | padding: 0.5pc 0.5pc 0.5pc 0.5pc; |
---|
31 | } |
---|
32 | |
---|
33 | /* Headings */ |
---|
34 | h1, h2, h3, h4, h5, h6 { text-align: left; margin-top: 2pc; } |
---|
35 | h1 { font: 170% sans-serif } |
---|
36 | h2 { font: bold 140% sans-serif } |
---|
37 | h3 { font: 120% sans-serif } |
---|
38 | h4 { font: bold 100% sans-serif } |
---|
39 | h5 { font: italic 100% sans-serif } |
---|
40 | h6 { font: italic 100% sans-serif } |
---|
41 | |
---|
42 | /* Unordered lists */ |
---|
43 | ul |
---|
44 | { |
---|
45 | text-align: justify; |
---|
46 | } |
---|
47 | |
---|
48 | /* Links */ |
---|
49 | a |
---|
50 | { |
---|
51 | text-decoration: none; /* no underline */ |
---|
52 | } |
---|
53 | |
---|
54 | a:hover |
---|
55 | { |
---|
56 | text-decoration: underline; |
---|
57 | } |
---|
58 | |
---|
59 | /* Top page title */ |
---|
60 | title, h1.title, h2.title, h3.title, |
---|
61 | h4.title, h5.title, h6.title, |
---|
62 | .refentrytitle |
---|
63 | { |
---|
64 | font-weight: bold; |
---|
65 | font-size: 2pc; |
---|
66 | margin-bottom: 1pc; |
---|
67 | } |
---|
68 | |
---|
69 | /* Spirit style navigation */ |
---|
70 | .spirit-nav |
---|
71 | { |
---|
72 | text-align: right; |
---|
73 | } |
---|
74 | |
---|
75 | .spirit-nav a |
---|
76 | { |
---|
77 | color: white; |
---|
78 | padding-left: 0.5em; |
---|
79 | } |
---|
80 | |
---|
81 | .spirit-nav img |
---|
82 | { |
---|
83 | border-width: 0px; |
---|
84 | } |
---|
85 | |
---|
86 | /* Program listing box */ |
---|
87 | .programlisting, .screen |
---|
88 | { |
---|
89 | display: block; |
---|
90 | margin-left: 4%; |
---|
91 | margin-right: 4%; |
---|
92 | padding: 0.5pc 0.5pc 0.5pc 0.5pc; |
---|
93 | } |
---|
94 | |
---|
95 | /* Table of contents */ |
---|
96 | .toc |
---|
97 | { |
---|
98 | margin: 1pc 4% 0pc 4%; |
---|
99 | padding: 0.5pc 0.5pc 0.5pc 0.5pc; |
---|
100 | } |
---|
101 | |
---|
102 | .boost-toc |
---|
103 | { |
---|
104 | float: right; |
---|
105 | padding: 0.5pc; |
---|
106 | } |
---|
107 | |
---|
108 | /* Tables */ |
---|
109 | .table-title, div.table p.title |
---|
110 | { |
---|
111 | margin-left: 4%; |
---|
112 | padding-right: 0.5em; |
---|
113 | padding-left: 0.5em; |
---|
114 | font-size: 120%; |
---|
115 | } |
---|
116 | |
---|
117 | .informaltable table, .table table |
---|
118 | { |
---|
119 | width: 92%; |
---|
120 | margin-left: 4%; |
---|
121 | margin-right: 4%; |
---|
122 | } |
---|
123 | |
---|
124 | div.informaltable table, div.table table |
---|
125 | { |
---|
126 | padding: 4px 4px 4px 4px; |
---|
127 | } |
---|
128 | |
---|
129 | div.informaltable table tr td, div.table table tr td |
---|
130 | { |
---|
131 | padding: 0.5em 0.5em 0.5em 0.5em; |
---|
132 | text-align: justify; |
---|
133 | } |
---|
134 | |
---|
135 | div.informaltable table tr th, div.table table tr th |
---|
136 | { |
---|
137 | padding: 0.5em 0.5em 0.5em 0.5em; |
---|
138 | border: 1pt solid white; |
---|
139 | } |
---|
140 | |
---|
141 | /* screen & programlisting, when used in a table cell, do not |
---|
142 | need the extra padding and margin normally used */ |
---|
143 | |
---|
144 | td .screen, td .programlisting |
---|
145 | { |
---|
146 | display: block; |
---|
147 | margin-left: 0%; |
---|
148 | margin-right: 0%; |
---|
149 | padding: 0.5pc 0.5pc 0.5pc 0.5pc; |
---|
150 | } |
---|
151 | |
---|
152 | /* inlined images */ |
---|
153 | .inlinemediaobject |
---|
154 | { |
---|
155 | padding: 0.5em 0.5em 0.5em 0.5em; |
---|
156 | } |
---|
157 | |
---|
158 | /* tone down the title of Parameter lists */ |
---|
159 | div.variablelist p.title |
---|
160 | { |
---|
161 | font-weight: bold; |
---|
162 | font-size: 100%; |
---|
163 | text-align: left; |
---|
164 | } |
---|
165 | |
---|
166 | /* tabularize parameter lists */ |
---|
167 | div.variablelist dl dt |
---|
168 | { |
---|
169 | float: left; |
---|
170 | clear: left; |
---|
171 | display: block; |
---|
172 | font-style: italic; |
---|
173 | } |
---|
174 | |
---|
175 | div.variablelist dl dd |
---|
176 | { |
---|
177 | display: block; |
---|
178 | clear: right; |
---|
179 | padding-left: 8pc; |
---|
180 | } |
---|
181 | |
---|
182 | /* title of books and articles in bibliographies */ |
---|
183 | span.title |
---|
184 | { |
---|
185 | font-style: italic; |
---|
186 | } |
---|
187 | |
---|
188 | /* tips, notes and warnings done in Spirit style */ |
---|
189 | div.tip, div.note, div.warning |
---|
190 | { |
---|
191 | position: relative; |
---|
192 | padding: 0.5em; |
---|
193 | border: 0.5pt solid white; |
---|
194 | } |
---|
195 | |
---|
196 | div.tip .title, div.note .title, div.warning .title |
---|
197 | { |
---|
198 | display: block; |
---|
199 | font: bold xx-small sans-serif; |
---|
200 | margin: 0; |
---|
201 | padding: 0; |
---|
202 | position: absolute; |
---|
203 | left: -4em; |
---|
204 | top: 0em; |
---|
205 | height: 25px; |
---|
206 | width: 24px; |
---|
207 | text-indent: 32px; |
---|
208 | overflow: hidden; |
---|
209 | z-index: 2; |
---|
210 | } |
---|
211 | |
---|
212 | div.tip .title |
---|
213 | { |
---|
214 | background: url(images/tip.png); |
---|
215 | } |
---|
216 | |
---|
217 | div.note .title |
---|
218 | { |
---|
219 | background: url(images/note.png); |
---|
220 | } |
---|
221 | |
---|
222 | div.warning .title |
---|
223 | { |
---|
224 | background: url(images/caution.png); |
---|
225 | } |
---|
226 | |
---|
227 | @media screen |
---|
228 | { |
---|
229 | a |
---|
230 | { |
---|
231 | color: #005a9c; |
---|
232 | } |
---|
233 | |
---|
234 | a:visited |
---|
235 | { |
---|
236 | color: #9c5a9c; |
---|
237 | } |
---|
238 | |
---|
239 | /* Syntax Highlighting */ |
---|
240 | .keyword { color: #0000AA; font-weight: bold; } |
---|
241 | .identifier {} |
---|
242 | .special { color: #707070; } |
---|
243 | .preprocessor { color: #402080; font-weight: bold; } |
---|
244 | .char { color: teal; } |
---|
245 | .comment { color: #800000; } |
---|
246 | .string { color: teal; } |
---|
247 | .number { color: teal; } |
---|
248 | .copyright { color: #666666; font-size: small; } |
---|
249 | .white_bkd { background-color: #FFFFFF; } |
---|
250 | .dk_grey_bkd { background-color: #999999; } |
---|
251 | |
---|
252 | pre.synopsis |
---|
253 | { |
---|
254 | background-color: #f3f3f3; |
---|
255 | } |
---|
256 | |
---|
257 | .programlisting, .screen |
---|
258 | { |
---|
259 | background-color: #f3f3f3; |
---|
260 | } |
---|
261 | |
---|
262 | /* Table of contents */ |
---|
263 | .toc |
---|
264 | { |
---|
265 | background-color: #f3f3f3; |
---|
266 | } |
---|
267 | |
---|
268 | div.informaltable table tr td, div.table table tr td |
---|
269 | { |
---|
270 | background-color: #F3F3F3; |
---|
271 | border: 1pt solid white; |
---|
272 | } |
---|
273 | |
---|
274 | div.informaltable table tr th, div.table table tr th |
---|
275 | { |
---|
276 | background-color: #e4e4e4; |
---|
277 | } |
---|
278 | |
---|
279 | div.tip, div.note, div.warning |
---|
280 | { |
---|
281 | background-color: #F3F3F3; |
---|
282 | } |
---|
283 | |
---|
284 | span.highlight |
---|
285 | { |
---|
286 | color: #00A000; |
---|
287 | } |
---|
288 | } |
---|
289 | |
---|
290 | @media print |
---|
291 | { |
---|
292 | a |
---|
293 | { |
---|
294 | color: black; |
---|
295 | } |
---|
296 | |
---|
297 | a:visited |
---|
298 | { |
---|
299 | color: black; |
---|
300 | } |
---|
301 | |
---|
302 | .spirit-nav |
---|
303 | { |
---|
304 | display: none; |
---|
305 | } |
---|
306 | |
---|
307 | /* Syntax Highlighting */ |
---|
308 | .keyword |
---|
309 | { |
---|
310 | font-weight: bold; |
---|
311 | } |
---|
312 | |
---|
313 | pre.synopsis |
---|
314 | { |
---|
315 | border: 1px solid gray; |
---|
316 | } |
---|
317 | |
---|
318 | .programlisting, .screen |
---|
319 | { |
---|
320 | border: 1px solid gray; |
---|
321 | } |
---|
322 | |
---|
323 | /* Table of contents */ |
---|
324 | .toc |
---|
325 | { |
---|
326 | border: 1px solid gray; |
---|
327 | } |
---|
328 | |
---|
329 | .informaltable table, .table table |
---|
330 | { |
---|
331 | border: 1px solid gray; |
---|
332 | border-collapse: collapse; |
---|
333 | } |
---|
334 | |
---|
335 | div.informaltable table tr td, div.table table tr td |
---|
336 | { |
---|
337 | border: 1px solid gray; |
---|
338 | } |
---|
339 | |
---|
340 | div.informaltable table tr th, div.table table tr th |
---|
341 | { |
---|
342 | border: 1px solid gray; |
---|
343 | } |
---|
344 | |
---|
345 | div.tip, div.note, div.warning |
---|
346 | { |
---|
347 | border: 1px solid gray; |
---|
348 | } |
---|
349 | |
---|
350 | span.highlight |
---|
351 | { |
---|
352 | font-weight: bold; |
---|
353 | } |
---|
354 | } |
---|