179
|
1 |
/*
|
|
2 |
:Author: David Goodger
|
|
3 |
:Contact: goodger@python.org
|
|
4 |
:date: $Date: 2006-05-21 22:44:42 +0200 (Sun, 21 May 2006) $
|
|
5 |
:version: $Revision: 4564 $
|
|
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 |
margin-right: 2em }
|
|
130 |
|
|
131 |
div.footer, div.header {
|
|
132 |
clear: both;
|
|
133 |
font-size: smaller }
|
|
134 |
|
|
135 |
div.footer {
|
|
136 |
margin-left: 1em ;
|
|
137 |
margin-right: 1em }
|
|
138 |
|
|
139 |
div.line-block {
|
|
140 |
display: block ;
|
|
141 |
margin-top: 1em ;
|
|
142 |
margin-bottom: 1em }
|
|
143 |
|
|
144 |
div.line-block div.line-block {
|
|
145 |
margin-top: 0 ;
|
|
146 |
margin-bottom: 0 ;
|
|
147 |
margin-left: 1.5em }
|
|
148 |
|
|
149 |
div.sidebar {
|
|
150 |
margin-left: 1em ;
|
|
151 |
border: medium outset ;
|
|
152 |
padding: 1em ;
|
|
153 |
background-color: #ffffee ;
|
|
154 |
width: 40% ;
|
|
155 |
float: right ;
|
|
156 |
clear: right }
|
|
157 |
|
|
158 |
div.sidebar p.rubric {
|
|
159 |
font-family: sans-serif ;
|
|
160 |
font-size: medium }
|
|
161 |
|
|
162 |
div.system-messages {
|
|
163 |
margin: 5em }
|
|
164 |
|
|
165 |
div.system-messages h1 {
|
|
166 |
color: red }
|
|
167 |
|
|
168 |
div.system-message {
|
|
169 |
border: medium outset ;
|
|
170 |
padding: 1em }
|
|
171 |
|
|
172 |
div.system-message p.system-message-title {
|
|
173 |
color: red ;
|
|
174 |
font-weight: bold }
|
|
175 |
|
|
176 |
div.topic {
|
|
177 |
margin: 2em }
|
|
178 |
|
|
179 |
h1.section-subtitle, h2.section-subtitle, h3.section-subtitle,
|
|
180 |
h4.section-subtitle, h5.section-subtitle, h6.section-subtitle {
|
|
181 |
margin-top: 0.4em }
|
|
182 |
|
|
183 |
h1 {
|
|
184 |
font-family: sans-serif ;
|
|
185 |
font-size: large }
|
|
186 |
|
|
187 |
h2 {
|
|
188 |
font-family: sans-serif ;
|
|
189 |
font-size: medium }
|
|
190 |
|
|
191 |
h3 {
|
|
192 |
font-family: sans-serif ;
|
|
193 |
font-size: small }
|
|
194 |
|
|
195 |
h4 {
|
|
196 |
font-family: sans-serif ;
|
|
197 |
font-style: italic ;
|
|
198 |
font-size: small }
|
|
199 |
|
|
200 |
h5 {
|
|
201 |
font-family: sans-serif;
|
|
202 |
font-size: x-small }
|
|
203 |
|
|
204 |
h6 {
|
|
205 |
font-family: sans-serif;
|
|
206 |
font-style: italic ;
|
|
207 |
font-size: x-small }
|
|
208 |
|
|
209 |
hr.docutils {
|
|
210 |
width: 75% }
|
|
211 |
|
|
212 |
img.align-left {
|
|
213 |
clear: left }
|
|
214 |
|
|
215 |
img.align-right {
|
|
216 |
clear: right }
|
|
217 |
|
|
218 |
img.borderless {
|
|
219 |
border: 0 }
|
|
220 |
|
|
221 |
ol.simple, ul.simple {
|
|
222 |
margin-bottom: 1em }
|
|
223 |
|
|
224 |
ol.arabic {
|
|
225 |
list-style: decimal }
|
|
226 |
|
|
227 |
ol.loweralpha {
|
|
228 |
list-style: lower-alpha }
|
|
229 |
|
|
230 |
ol.upperalpha {
|
|
231 |
list-style: upper-alpha }
|
|
232 |
|
|
233 |
ol.lowerroman {
|
|
234 |
list-style: lower-roman }
|
|
235 |
|
|
236 |
ol.upperroman {
|
|
237 |
list-style: upper-roman }
|
|
238 |
|
|
239 |
p.attribution {
|
|
240 |
text-align: right ;
|
|
241 |
margin-left: 50% }
|
|
242 |
|
|
243 |
p.caption {
|
|
244 |
font-style: italic }
|
|
245 |
|
|
246 |
p.credits {
|
|
247 |
font-style: italic ;
|
|
248 |
font-size: smaller }
|
|
249 |
|
|
250 |
p.label {
|
|
251 |
white-space: nowrap }
|
|
252 |
|
|
253 |
p.rubric {
|
|
254 |
font-weight: bold ;
|
|
255 |
font-size: larger ;
|
|
256 |
color: maroon ;
|
|
257 |
text-align: center }
|
|
258 |
|
|
259 |
p.sidebar-title {
|
|
260 |
font-family: sans-serif ;
|
|
261 |
font-weight: bold ;
|
|
262 |
font-size: larger }
|
|
263 |
|
|
264 |
p.sidebar-subtitle {
|
|
265 |
font-family: sans-serif ;
|
|
266 |
font-weight: bold }
|
|
267 |
|
|
268 |
p.topic-title {
|
|
269 |
font-family: sans-serif ;
|
|
270 |
font-weight: bold }
|
|
271 |
|
|
272 |
pre.address {
|
|
273 |
margin-bottom: 0 ;
|
|
274 |
margin-top: 0 ;
|
|
275 |
font-family: serif ;
|
|
276 |
font-size: 100% }
|
|
277 |
|
|
278 |
pre.literal-block, pre.doctest-block {
|
|
279 |
margin-left: 2em ;
|
|
280 |
margin-right: 2em }
|
|
281 |
|
|
282 |
span.classifier {
|
|
283 |
font-family: sans-serif ;
|
|
284 |
font-style: oblique }
|
|
285 |
|
|
286 |
span.classifier-delimiter {
|
|
287 |
font-family: sans-serif ;
|
|
288 |
font-weight: bold }
|
|
289 |
|
|
290 |
span.interpreted {
|
|
291 |
font-family: sans-serif }
|
|
292 |
|
|
293 |
span.option {
|
|
294 |
white-space: nowrap }
|
|
295 |
|
|
296 |
span.option-argument {
|
|
297 |
font-style: italic }
|
|
298 |
|
|
299 |
span.pre {
|
|
300 |
white-space: pre }
|
|
301 |
|
|
302 |
span.problematic {
|
|
303 |
color: red }
|
|
304 |
|
|
305 |
span.section-subtitle {
|
|
306 |
/* font-size relative to parent (h1..h6 element) */
|
|
307 |
font-size: 80% }
|
|
308 |
|
|
309 |
table.citation {
|
|
310 |
border-left: solid 1px gray;
|
|
311 |
margin-left: 1px }
|
|
312 |
|
|
313 |
table.docinfo {
|
|
314 |
margin: 2em 4em }
|
|
315 |
|
|
316 |
table.docutils {
|
|
317 |
margin-top: 0.5em ;
|
|
318 |
margin-bottom: 0.5em }
|
|
319 |
|
|
320 |
table.footnote {
|
|
321 |
border-left: solid 1px black;
|
|
322 |
margin-left: 1px }
|
|
323 |
|
|
324 |
table.docutils td, table.docutils th,
|
|
325 |
table.docinfo td, table.docinfo th {
|
|
326 |
padding-left: 0.5em ;
|
|
327 |
padding-right: 0.5em ;
|
|
328 |
vertical-align: top }
|
|
329 |
|
|
330 |
td.num {
|
|
331 |
text-align: right }
|
|
332 |
|
|
333 |
th.field-name {
|
|
334 |
font-weight: bold ;
|
|
335 |
text-align: left ;
|
|
336 |
white-space: nowrap ;
|
|
337 |
padding-left: 0 }
|
|
338 |
|
|
339 |
h1 tt.docutils, h2 tt.docutils, h3 tt.docutils,
|
|
340 |
h4 tt.docutils, h5 tt.docutils, h6 tt.docutils {
|
|
341 |
font-size: 100% }
|
|
342 |
|
|
343 |
ul.auto-toc {
|
|
344 |
list-style-type: none }
|