]>
Commit | Line | Data |
---|---|---|
1fded56b RD |
1 | /* |
2 | :Author: David Goodger | |
3 | :Contact: goodger@users.sourceforge.net | |
c04bcba0 RD |
4 | :Date: $Date$ |
5 | :Revision: $Revision$ | |
6 | :Copyright: This stylesheet has been placed in the public domain. | |
1fded56b RD |
7 | |
8 | Default cascading style sheet for the HTML output of Docutils. | |
c04bcba0 RD |
9 | |
10 | See http://docutils.sf.net/docs/howto/html-stylesheets.html for how to | |
11 | customize this style sheet. | |
1fded56b RD |
12 | */ |
13 | ||
c04bcba0 RD |
14 | /* used to remove borders from tables and images */ |
15 | .borderless, table.borderless td, table.borderless th { | |
16 | border: 0 } | |
17 | ||
18 | table.borderless td, table.borderless th { | |
19 | /* Override padding for "table.docutils td" with "! important". | |
20 | The right padding separates the table cells. */ | |
21 | padding: 0 0.5em 0 0 ! important } | |
22 | ||
1fded56b | 23 | .first { |
c04bcba0 RD |
24 | /* Override more specific margin styles with "! important". */ |
25 | margin-top: 0 ! important } | |
1fded56b | 26 | |
c04bcba0 RD |
27 | .last, .with-subtitle { |
28 | margin-bottom: 0 ! important } | |
29 | ||
30 | .hidden { | |
31 | display: none } | |
1fded56b RD |
32 | |
33 | a.toc-backref { | |
34 | text-decoration: none ; | |
35 | color: black } | |
36 | ||
c04bcba0 RD |
37 | blockquote.epigraph { |
38 | margin: 2em 5em ; } | |
39 | ||
40 | dl.docutils dd { | |
1fded56b RD |
41 | margin-bottom: 0.5em } |
42 | ||
c04bcba0 RD |
43 | /* Uncomment (and remove this text!) to get bold-faced definition list terms |
44 | dl.docutils dt { | |
45 | font-weight: bold } | |
46 | */ | |
47 | ||
1fded56b RD |
48 | div.abstract { |
49 | margin: 2em 5em } | |
50 | ||
51 | div.abstract p.topic-title { | |
52 | font-weight: bold ; | |
53 | text-align: center } | |
54 | ||
c04bcba0 RD |
55 | div.admonition, div.attention, div.caution, div.danger, div.error, |
56 | div.hint, div.important, div.note, div.tip, div.warning { | |
1fded56b RD |
57 | margin: 2em ; |
58 | border: medium outset ; | |
59 | padding: 1em } | |
60 | ||
c04bcba0 RD |
61 | div.admonition p.admonition-title, div.hint p.admonition-title, |
62 | div.important p.admonition-title, div.note p.admonition-title, | |
63 | div.tip p.admonition-title { | |
64 | font-weight: bold ; | |
65 | font-family: sans-serif } | |
66 | ||
1fded56b RD |
67 | div.attention p.admonition-title, div.caution p.admonition-title, |
68 | div.danger p.admonition-title, div.error p.admonition-title, | |
69 | div.warning p.admonition-title { | |
70 | color: red ; | |
71 | font-weight: bold ; | |
72 | font-family: sans-serif } | |
73 | ||
c04bcba0 RD |
74 | /* Uncomment (and remove this text!) to get reduced vertical space in |
75 | compound paragraphs. | |
76 | div.compound .compound-first, div.compound .compound-middle { | |
77 | margin-bottom: 0.5em } | |
78 | ||
79 | div.compound .compound-last, div.compound .compound-middle { | |
80 | margin-top: 0.5em } | |
81 | */ | |
1fded56b RD |
82 | |
83 | div.dedication { | |
84 | margin: 2em 5em ; | |
85 | text-align: center ; | |
86 | font-style: italic } | |
87 | ||
88 | div.dedication p.topic-title { | |
89 | font-weight: bold ; | |
90 | font-style: normal } | |
91 | ||
92 | div.figure { | |
c04bcba0 RD |
93 | margin-left: 2em ; |
94 | margin-right: 2em } | |
1fded56b RD |
95 | |
96 | div.footer, div.header { | |
c04bcba0 | 97 | clear: both; |
1fded56b RD |
98 | font-size: smaller } |
99 | ||
c04bcba0 RD |
100 | div.line-block { |
101 | display: block ; | |
102 | margin-top: 1em ; | |
103 | margin-bottom: 1em } | |
104 | ||
105 | div.line-block div.line-block { | |
106 | margin-top: 0 ; | |
107 | margin-bottom: 0 ; | |
108 | margin-left: 1.5em } | |
109 | ||
1fded56b RD |
110 | div.sidebar { |
111 | margin-left: 1em ; | |
112 | border: medium outset ; | |
c04bcba0 | 113 | padding: 1em ; |
1fded56b RD |
114 | background-color: #ffffee ; |
115 | width: 40% ; | |
c04bcba0 RD |
116 | float: right ; |
117 | clear: right } | |
118 | ||
119 | div.sidebar p.rubric { | |
120 | font-family: sans-serif ; | |
121 | font-size: medium } | |
1fded56b RD |
122 | |
123 | div.system-messages { | |
124 | margin: 5em } | |
125 | ||
126 | div.system-messages h1 { | |
127 | color: red } | |
128 | ||
129 | div.system-message { | |
130 | border: medium outset ; | |
131 | padding: 1em } | |
132 | ||
133 | div.system-message p.system-message-title { | |
134 | color: red ; | |
135 | font-weight: bold } | |
136 | ||
137 | div.topic { | |
138 | margin: 2em } | |
139 | ||
c04bcba0 RD |
140 | h1.section-subtitle, h2.section-subtitle, h3.section-subtitle, |
141 | h4.section-subtitle, h5.section-subtitle, h6.section-subtitle { | |
142 | margin-top: 0.4em } | |
143 | ||
1fded56b RD |
144 | h1.title { |
145 | text-align: center } | |
146 | ||
147 | h2.subtitle { | |
148 | text-align: center } | |
149 | ||
c04bcba0 | 150 | hr.docutils { |
1fded56b RD |
151 | width: 75% } |
152 | ||
c04bcba0 RD |
153 | img.align-left { |
154 | clear: left } | |
155 | ||
156 | img.align-right { | |
157 | clear: right } | |
158 | ||
1fded56b RD |
159 | ol.simple, ul.simple { |
160 | margin-bottom: 1em } | |
161 | ||
162 | ol.arabic { | |
163 | list-style: decimal } | |
164 | ||
165 | ol.loweralpha { | |
166 | list-style: lower-alpha } | |
167 | ||
168 | ol.upperalpha { | |
169 | list-style: upper-alpha } | |
170 | ||
171 | ol.lowerroman { | |
172 | list-style: lower-roman } | |
173 | ||
174 | ol.upperroman { | |
175 | list-style: upper-roman } | |
176 | ||
c04bcba0 RD |
177 | p.attribution { |
178 | text-align: right ; | |
179 | margin-left: 50% } | |
180 | ||
1fded56b RD |
181 | p.caption { |
182 | font-style: italic } | |
183 | ||
184 | p.credits { | |
185 | font-style: italic ; | |
186 | font-size: smaller } | |
187 | ||
188 | p.label { | |
189 | white-space: nowrap } | |
190 | ||
c04bcba0 RD |
191 | p.rubric { |
192 | font-weight: bold ; | |
193 | font-size: larger ; | |
194 | color: maroon ; | |
195 | text-align: center } | |
196 | ||
1fded56b RD |
197 | p.sidebar-title { |
198 | font-family: sans-serif ; | |
199 | font-weight: bold ; | |
200 | font-size: larger } | |
201 | ||
202 | p.sidebar-subtitle { | |
203 | font-family: sans-serif ; | |
204 | font-weight: bold } | |
205 | ||
206 | p.topic-title { | |
207 | font-weight: bold } | |
208 | ||
209 | pre.address { | |
210 | margin-bottom: 0 ; | |
211 | margin-top: 0 ; | |
212 | font-family: serif ; | |
213 | font-size: 100% } | |
214 | ||
1fded56b RD |
215 | pre.literal-block, pre.doctest-block { |
216 | margin-left: 2em ; | |
217 | margin-right: 2em ; | |
218 | background-color: #eeeeee } | |
219 | ||
220 | span.classifier { | |
221 | font-family: sans-serif ; | |
222 | font-style: oblique } | |
223 | ||
224 | span.classifier-delimiter { | |
225 | font-family: sans-serif ; | |
226 | font-weight: bold } | |
227 | ||
228 | span.interpreted { | |
229 | font-family: sans-serif } | |
230 | ||
231 | span.option { | |
232 | white-space: nowrap } | |
233 | ||
1fded56b RD |
234 | span.pre { |
235 | white-space: pre } | |
236 | ||
237 | span.problematic { | |
238 | color: red } | |
239 | ||
c04bcba0 RD |
240 | span.section-subtitle { |
241 | /* font-size relative to parent (h1..h6 element) */ | |
242 | font-size: 80% } | |
1fded56b RD |
243 | |
244 | table.citation { | |
c04bcba0 RD |
245 | border-left: solid 1px gray; |
246 | margin-left: 1px } | |
1fded56b RD |
247 | |
248 | table.docinfo { | |
249 | margin: 2em 4em } | |
250 | ||
c04bcba0 RD |
251 | table.docutils { |
252 | margin-top: 0.5em ; | |
253 | margin-bottom: 0.5em } | |
254 | ||
1fded56b | 255 | table.footnote { |
c04bcba0 RD |
256 | border-left: solid 1px black; |
257 | margin-left: 1px } | |
1fded56b | 258 | |
c04bcba0 RD |
259 | table.docutils td, table.docutils th, |
260 | table.docinfo td, table.docinfo th { | |
1fded56b RD |
261 | padding-left: 0.5em ; |
262 | padding-right: 0.5em ; | |
263 | vertical-align: top } | |
264 | ||
c04bcba0 | 265 | table.docutils th.field-name, table.docinfo th.docinfo-name { |
1fded56b RD |
266 | font-weight: bold ; |
267 | text-align: left ; | |
c04bcba0 RD |
268 | white-space: nowrap ; |
269 | padding-left: 0 } | |
1fded56b | 270 | |
c04bcba0 RD |
271 | h1 tt.docutils, h2 tt.docutils, h3 tt.docutils, |
272 | h4 tt.docutils, h5 tt.docutils, h6 tt.docutils { | |
1fded56b RD |
273 | font-size: 100% } |
274 | ||
c04bcba0 | 275 | tt.docutils { |
1fded56b RD |
276 | background-color: #eeeeee } |
277 | ||
278 | ul.auto-toc { | |
279 | list-style-type: none } |