1 | /* |
---|
2 | :Author: David Goodger |
---|
3 | :Contact: goodger@users.sourceforge.net |
---|
4 | :date: $Date: 2005/09/18 15:11:03 $ |
---|
5 | :version: $Revision: 1.6 $ |
---|
6 | :copyright: This stylesheet has been placed in the public domain. |
---|
7 | |
---|
8 | Default cascading style sheet for the PEP HTML output of Docutils. |
---|
9 | */ |
---|
10 | |
---|
11 | /* "! important" is used here to override other ``margin-top`` and |
---|
12 | ``margin-bottom`` styles that are later in the stylesheet or |
---|
13 | more specific. See http://www.w3.org/TR/CSS1#the-cascade */ |
---|
14 | .first { |
---|
15 | margin-top: 0 ! important } |
---|
16 | |
---|
17 | .last, .with-subtitle { |
---|
18 | margin-bottom: 0 ! important } |
---|
19 | |
---|
20 | .hidden { |
---|
21 | display: none } |
---|
22 | |
---|
23 | .navigation { |
---|
24 | width: 100% ; |
---|
25 | background: #99ccff ; |
---|
26 | margin-top: 0px ; |
---|
27 | margin-bottom: 0px } |
---|
28 | |
---|
29 | .navigation .navicon { |
---|
30 | width: 150px ; |
---|
31 | height: 35px } |
---|
32 | |
---|
33 | .navigation .textlinks { |
---|
34 | padding-left: 1em ; |
---|
35 | text-align: left } |
---|
36 | |
---|
37 | .navigation td, .navigation th { |
---|
38 | padding-left: 0em ; |
---|
39 | padding-right: 0em ; |
---|
40 | vertical-align: middle } |
---|
41 | |
---|
42 | .rfc2822 { |
---|
43 | margin-top: 0.5em ; |
---|
44 | margin-left: 0.5em ; |
---|
45 | margin-right: 0.5em ; |
---|
46 | margin-bottom: 0em } |
---|
47 | |
---|
48 | .rfc2822 td { |
---|
49 | text-align: left } |
---|
50 | |
---|
51 | .rfc2822 th.field-name { |
---|
52 | text-align: right ; |
---|
53 | font-family: sans-serif ; |
---|
54 | padding-right: 0.5em ; |
---|
55 | font-weight: bold ; |
---|
56 | margin-bottom: 0em } |
---|
57 | |
---|
58 | a.toc-backref { |
---|
59 | text-decoration: none ; |
---|
60 | color: black } |
---|
61 | |
---|
62 | blockquote.epigraph { |
---|
63 | margin: 2em 5em ; } |
---|
64 | |
---|
65 | body { |
---|
66 | margin: 0px ; |
---|
67 | margin-bottom: 1em ; |
---|
68 | padding: 0px } |
---|
69 | |
---|
70 | dl.docutils dd { |
---|
71 | margin-bottom: 0.5em } |
---|
72 | |
---|
73 | div.section { |
---|
74 | margin-left: 1em ; |
---|
75 | margin-right: 1em ; |
---|
76 | margin-bottom: 1.5em } |
---|
77 | |
---|
78 | div.section div.section { |
---|
79 | margin-left: 0em ; |
---|
80 | margin-right: 0em ; |
---|
81 | margin-top: 1.5em } |
---|
82 | |
---|
83 | div.abstract { |
---|
84 | margin: 2em 5em } |
---|
85 | |
---|
86 | div.abstract p.topic-title { |
---|
87 | font-weight: bold ; |
---|
88 | text-align: center } |
---|
89 | |
---|
90 | div.admonition, div.attention, div.caution, div.danger, div.error, |
---|
91 | div.hint, div.important, div.note, div.tip, div.warning { |
---|
92 | margin: 2em ; |
---|
93 | border: medium outset ; |
---|
94 | padding: 1em } |
---|
95 | |
---|
96 | div.admonition p.admonition-title, div.hint p.admonition-title, |
---|
97 | div.important p.admonition-title, div.note p.admonition-title, |
---|
98 | div.tip p.admonition-title { |
---|
99 | font-weight: bold ; |
---|
100 | font-family: sans-serif } |
---|
101 | |
---|
102 | div.attention p.admonition-title, div.caution p.admonition-title, |
---|
103 | div.danger p.admonition-title, div.error p.admonition-title, |
---|
104 | div.warning p.admonition-title { |
---|
105 | color: red ; |
---|
106 | font-weight: bold ; |
---|
107 | font-family: sans-serif } |
---|
108 | |
---|
109 | /* Uncomment (and remove this text!) to get reduced vertical space in |
---|
110 | compound paragraphs. |
---|
111 | div.compound .compound-first, div.compound .compound-middle { |
---|
112 | margin-bottom: 0.5em } |
---|
113 | |
---|
114 | div.compound .compound-last, div.compound .compound-middle { |
---|
115 | margin-top: 0.5em } |
---|
116 | */ |
---|
117 | |
---|
118 | div.dedication { |
---|
119 | margin: 2em 5em ; |
---|
120 | text-align: center ; |
---|
121 | font-style: italic } |
---|
122 | |
---|
123 | div.dedication p.topic-title { |
---|
124 | font-weight: bold ; |
---|
125 | font-style: normal } |
---|
126 | |
---|
127 | div.figure { |
---|
128 | margin-left: 2em } |
---|
129 | |
---|
130 | div.footer, div.header { |
---|
131 | clear: both; |
---|
132 | font-size: smaller } |
---|
133 | |
---|
134 | div.footer { |
---|
135 | margin-left: 1em ; |
---|
136 | margin-right: 1em } |
---|
137 | |
---|
138 | div.line-block { |
---|
139 | display: block ; |
---|
140 | margin-top: 1em ; |
---|
141 | margin-bottom: 1em } |
---|
142 | |
---|
143 | div.line-block div.line-block { |
---|
144 | margin-top: 0 ; |
---|
145 | margin-bottom: 0 ; |
---|
146 | margin-left: 1.5em } |
---|
147 | |
---|
148 | div.sidebar { |
---|
149 | margin-left: 1em ; |
---|
150 | border: medium outset ; |
---|
151 | padding: 1em ; |
---|
152 | background-color: #ffffee ; |
---|
153 | width: 40% ; |
---|
154 | float: right ; |
---|
155 | clear: right } |
---|
156 | |
---|
157 | div.sidebar p.rubric { |
---|
158 | font-family: sans-serif ; |
---|
159 | font-size: medium } |
---|
160 | |
---|
161 | div.system-messages { |
---|
162 | margin: 5em } |
---|
163 | |
---|
164 | div.system-messages h1 { |
---|
165 | color: red } |
---|
166 | |
---|
167 | div.system-message { |
---|
168 | border: medium outset ; |
---|
169 | padding: 1em } |
---|
170 | |
---|
171 | div.system-message p.system-message-title { |
---|
172 | color: red ; |
---|
173 | font-weight: bold } |
---|
174 | |
---|
175 | div.topic { |
---|
176 | margin: 2em } |
---|
177 | |
---|
178 | h1.section-subtitle, h2.section-subtitle, h3.section-subtitle, |
---|
179 | h4.section-subtitle, h5.section-subtitle, h6.section-subtitle { |
---|
180 | margin-top: 0.4em } |
---|
181 | |
---|
182 | h1 { |
---|
183 | font-family: sans-serif ; |
---|
184 | font-size: large } |
---|
185 | |
---|
186 | h2 { |
---|
187 | font-family: sans-serif ; |
---|
188 | font-size: medium } |
---|
189 | |
---|
190 | h3 { |
---|
191 | font-family: sans-serif ; |
---|
192 | font-size: small } |
---|
193 | |
---|
194 | h4 { |
---|
195 | font-family: sans-serif ; |
---|
196 | font-style: italic ; |
---|
197 | font-size: small } |
---|
198 | |
---|
199 | h5 { |
---|
200 | font-family: sans-serif; |
---|
201 | font-size: x-small } |
---|
202 | |
---|
203 | h6 { |
---|
204 | font-family: sans-serif; |
---|
205 | font-style: italic ; |
---|
206 | font-size: x-small } |
---|
207 | |
---|
208 | hr.docutils { |
---|
209 | width: 75% } |
---|
210 | |
---|
211 | img.align-left { |
---|
212 | clear: left } |
---|
213 | |
---|
214 | img.align-right { |
---|
215 | clear: right } |
---|
216 | |
---|
217 | img.borderless { |
---|
218 | border: 0 } |
---|
219 | |
---|
220 | ol.simple, ul.simple { |
---|
221 | margin-bottom: 1em } |
---|
222 | |
---|
223 | ol.arabic { |
---|
224 | list-style: decimal } |
---|
225 | |
---|
226 | ol.loweralpha { |
---|
227 | list-style: lower-alpha } |
---|
228 | |
---|
229 | ol.upperalpha { |
---|
230 | list-style: upper-alpha } |
---|
231 | |
---|
232 | ol.lowerroman { |
---|
233 | list-style: lower-roman } |
---|
234 | |
---|
235 | ol.upperroman { |
---|
236 | list-style: upper-roman } |
---|
237 | |
---|
238 | p.attribution { |
---|
239 | text-align: right ; |
---|
240 | margin-left: 50% } |
---|
241 | |
---|
242 | p.caption { |
---|
243 | font-style: italic } |
---|
244 | |
---|
245 | p.credits { |
---|
246 | font-style: italic ; |
---|
247 | font-size: smaller } |
---|
248 | |
---|
249 | p.label { |
---|
250 | white-space: nowrap } |
---|
251 | |
---|
252 | p.rubric { |
---|
253 | font-weight: bold ; |
---|
254 | font-size: larger ; |
---|
255 | color: maroon ; |
---|
256 | text-align: center } |
---|
257 | |
---|
258 | p.sidebar-title { |
---|
259 | font-family: sans-serif ; |
---|
260 | font-weight: bold ; |
---|
261 | font-size: larger } |
---|
262 | |
---|
263 | p.sidebar-subtitle { |
---|
264 | font-family: sans-serif ; |
---|
265 | font-weight: bold } |
---|
266 | |
---|
267 | p.topic-title { |
---|
268 | font-family: sans-serif ; |
---|
269 | font-weight: bold } |
---|
270 | |
---|
271 | pre.address { |
---|
272 | margin-bottom: 0 ; |
---|
273 | margin-top: 0 ; |
---|
274 | font-family: serif ; |
---|
275 | font-size: 100% } |
---|
276 | |
---|
277 | pre.line-block { |
---|
278 | font-family: serif ; |
---|
279 | font-size: 100% } |
---|
280 | |
---|
281 | pre.literal-block, pre.doctest-block { |
---|
282 | margin-left: 2em ; |
---|
283 | margin-right: 2em ; |
---|
284 | background-color: #eeeeee } |
---|
285 | |
---|
286 | span.classifier { |
---|
287 | font-family: sans-serif ; |
---|
288 | font-style: oblique } |
---|
289 | |
---|
290 | span.classifier-delimiter { |
---|
291 | font-family: sans-serif ; |
---|
292 | font-weight: bold } |
---|
293 | |
---|
294 | span.interpreted { |
---|
295 | font-family: sans-serif } |
---|
296 | |
---|
297 | span.option { |
---|
298 | white-space: nowrap } |
---|
299 | |
---|
300 | span.option-argument { |
---|
301 | font-style: italic } |
---|
302 | |
---|
303 | span.pre { |
---|
304 | white-space: pre } |
---|
305 | |
---|
306 | span.problematic { |
---|
307 | color: red } |
---|
308 | |
---|
309 | span.section-subtitle { |
---|
310 | /* font-size relative to parent (h1..h6 element) */ |
---|
311 | font-size: 80% } |
---|
312 | |
---|
313 | table.citation { |
---|
314 | border-left: solid thin gray } |
---|
315 | |
---|
316 | table.docinfo { |
---|
317 | margin: 2em 4em } |
---|
318 | |
---|
319 | table.docutils { |
---|
320 | margin-top: 0.5em ; |
---|
321 | margin-bottom: 0.5em } |
---|
322 | |
---|
323 | table.footnote { |
---|
324 | border-left: solid thin black } |
---|
325 | |
---|
326 | table.docutils td, table.docutils th, |
---|
327 | table.docinfo td, table.docinfo th { |
---|
328 | padding-left: 0.5em ; |
---|
329 | padding-right: 0.5em ; |
---|
330 | vertical-align: top } |
---|
331 | |
---|
332 | td.num { |
---|
333 | text-align: right } |
---|
334 | |
---|
335 | th.field-name { |
---|
336 | font-weight: bold ; |
---|
337 | text-align: left ; |
---|
338 | white-space: nowrap ; |
---|
339 | padding-left: 0 } |
---|
340 | |
---|
341 | h1 tt.docutils, h2 tt.docutils, h3 tt.docutils, |
---|
342 | h4 tt.docutils, h5 tt.docutils, h6 tt.docutils { |
---|
343 | font-size: 100% } |
---|
344 | |
---|
345 | tt.docutils { |
---|
346 | background-color: #eeeeee } |
---|
347 | |
---|
348 | ul.auto-toc { |
---|
349 | list-style-type: none } |
---|