• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/*
2:Author: David Goodger, Ian Bicking
3:Contact: ianb@colorstudy.com
4:date: $Date: 2003/11/01 20:35:45 $
5:version: $Revision: 1.3 $
6:copyright: This stylesheet has been placed in the public domain.
7
8A modification of the default cascading style sheet (v.1.3) for the
9HTML output of Docutils.
10*/
11
12body {
13  font-family: Arial, sans-serif;
14  background-color: #fff;
15}
16
17em, i {
18  /* Typically serif fonts have much nicer italics */
19  font-family: Times New Roman, Times, serif;
20}
21
22li {
23  list-style-type: circle;
24}
25
26a.target {
27  color: blue;
28}
29
30a.toc-backref {
31  text-decoration: none;
32  color: black;
33}
34
35a.toc-backref:hover {
36  background-color: inherit;
37}
38
39a:hover {
40  background-color: #ccc;
41}
42
43h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6:hover {
44  background-color: inherit;
45}
46
47cite {
48  font-style: normal;
49  font-family: monospace;
50  font-weight: bold;
51}
52
53dd {
54  margin-bottom: 0.5em;
55}
56
57div.abstract {
58  margin: 2em 5em;
59}
60
61div.abstract p.topic-title {
62  font-weight: bold;
63  text-align: center;
64}
65
66div.attention, div.caution, div.danger, div.error, div.hint,
67div.important, div.note, div.tip, div.warning {
68  background-color: #ccc;
69  width: 40%;
70  border: medium outset;
71  padding: 3px;
72  float: right
73}
74
75div.attention p.admonition-title, div.caution p.admonition-title,
76div.danger p.admonition-title, div.error p.admonition-title,
77div.warning p.admonition-title {
78  color: #c00;
79  font-weight: bold;
80  font-family: sans-serif;
81  text-align: center;
82  background-color: #999;
83  display: block;
84  margin: 0;
85}
86
87div.hint p.admonition-title, div.important p.admonition-title,
88div.note p.admonition-title, div.tip p.admonition-title {
89  font-weight: bold;
90  font-family: sans-serif;
91  text-align: center;
92  background-color: #999;
93  display: block;
94  margin: 0;
95}
96
97div.dedication {
98  margin: 2em 5em;
99  text-align: center;
100  font-style: italic;
101}
102
103div.dedication p.topic-title {
104  font-weight: bold;
105  font-style: normal;
106}
107
108div.figure {
109  margin-left: 2em;
110}
111
112div.footer, div.header {
113  font-size: smaller;
114}
115
116div.system-messages {
117  margin: 5em;
118}
119
120div.system-messages h1 {
121  color: red;
122}
123
124div.system-message {
125  border: medium outset;
126  padding: 1em;
127}
128
129div.system-message p.system-message-title {
130  color: red;
131  font-weight: bold;
132}
133
134div.topic {
135  margin: 2em;
136}
137
138h1, h2, h3, h4, h5, h6 {
139  font-family: Helvetica, Arial, sans-serif;
140  border: thin solid black;
141  /* This makes the borders rounded on Mozilla, which pleases me */
142  -moz-border-radius: 8px;
143  padding: 4px;
144}
145
146h1 {
147  background-color: #449;
148  color: #fff;
149  border: medium solid black;
150}
151
152h1 a.toc-backref, h2 a.toc-backref {
153  color: #fff;
154}
155
156h2 {
157  background-color: #666;
158  color: #fff;
159  border: medium solid black;
160}
161
162h3, h4, h5, h6 {
163  background-color: #ccc;
164  color: #000;
165}
166
167h3 a.toc-backref, h4 a.toc-backref, h5 a.toc-backref,
168h6 a.toc-backref {
169  color: #000;
170}
171
172h1.title {
173  text-align: center;
174  background-color: #449;
175  color: #fff;
176  border: thick solid black;
177  -moz-border-radius: 20px;
178}
179
180h2.subtitle {
181  text-align: center;
182}
183
184hr {
185  width: 75%;
186}
187
188ol.simple, ul.simple {
189  margin-bottom: 1em;
190}
191
192ol.arabic {
193  list-style: decimal;
194}
195
196ol.loweralpha {
197  list-style: lower-alpha;
198}
199
200ol.upperalpha {
201  list-style: upper-alpha;
202}
203
204ol.lowerroman {
205  list-style: lower-roman;
206}
207
208ol.upperroman {
209  list-style: upper-roman;
210}
211
212p.caption {
213  font-style: italic;
214}
215
216p.credits {
217  font-style: italic;
218  font-size: smaller;
219}
220
221p.first {
222  margin-top: 0;
223}
224
225p.label {
226  white-space: nowrap;
227}
228
229p.topic-title {
230  font-weight: bold;
231}
232
233pre.address {
234  margin-bottom: 0;
235  margin-top: 0;
236  font-family: serif;
237  font-size: 100%;
238}
239
240pre.line-block {
241  font-family: serif;
242  font-size: 100%;
243}
244
245pre.literal-block, pre.doctest-block {
246  margin-left: 2em;
247  margin-right: 2em;
248  background-color: #eee;
249  border: thin black solid;
250  padding: 5px;
251}
252
253span.classifier {
254  font-family: sans-serif;
255  font-style: oblique;
256}
257
258span.classifier-delimiter {
259  font-family: sans-serif;
260  font-weight: bold;
261}
262
263span.interpreted {
264  font-family: sans-serif;
265}
266
267span.option-argument {
268  font-style: italic;
269}
270
271span.pre {
272  white-space: pre;
273}
274
275span.problematic {
276  color: red;
277}
278
279table {
280  margin-top: 0.5em;
281  margin-bottom: 0.5em;
282}
283
284table.citation {
285  border-left: solid thin gray;
286  padding-left: 0.5ex
287}
288
289table.docinfo {
290  margin: 2em 4em;
291}
292
293table.footnote {
294  border-left: solid thin black;
295  padding-left: 0.5ex;
296}
297
298td, th {
299  padding-left: 0.5em;
300  padding-right: 0.5em;
301  vertical-align: top;
302}
303
304td > p:first-child, th > p:first-child {
305  margin-top: 0em;
306}
307
308th.docinfo-name, th.field-name {
309  font-weight: bold;
310  text-align: left;
311  white-space: nowrap;
312}
313
314h1 tt, h2 tt, h3 tt, h4 tt, h5 tt, h6 tt {
315  font-size: 100%;
316}
317
318code, tt {
319  color: #006;
320}
321
322ul.auto-toc {
323  list-style-type: none;
324}
325
326/*****************************************
327 * Doctest embedded examples
328 *****************************************/
329
330span.doctest-url {
331  background-color: #eee;
332  border-top: 2px outset #666;
333  border-left: 2px outset #666;
334  border-right: 2px outset #666;
335  padding: 0.25em;
336}
337
338div.doctest-example {
339  border: outset 5px #666;
340  background-color: #eee;
341  font-family: default;
342  padding: 0.5em;
343}
344
345div.doctest-example h1 {
346  background-color: inherit;
347  border: none;
348  color: inherit;
349  font-family: default;
350}
351
352div.doctest-example tt {
353  color: inherit;
354}
355
356div.doctest-status {
357  background-color: #060;
358  color: #fff;
359}
360
361span.doctest-header {
362  background-color: #ccc;
363  font-family: monospace;
364}
365
366pre.doctest-errors {
367  border: none;
368  background-color: #333;
369  color: #600;
370}
371
372div.source-code {
373  background-color: #000;
374  border: inset #999 3px;
375  overflow: auto;
376}
377
378pre.source-code {
379  background-color: #000;
380  border: inset #999 3px;
381  overflow: auto;
382  font-family: monospace;
383  color: #fff;
384}
385
386span.source-filename {
387  background-color: #000;
388  border-top: 2px outset #999;
389  border-left: 2px outset #999;
390  border-right: 2px outset #999;
391  padding: 0.25em;
392  color: #fff
393}
394
395