1 | /** |
---|
2 | * Alternate Sphinx design |
---|
3 | * Originally created by Armin Ronacher for Werkzeug, adapted by Georg Brandl. |
---|
4 | */ |
---|
5 | |
---|
6 | body { |
---|
7 | font-family: 'Lucida Grande', 'Lucida Sans Unicode', 'Geneva', 'Verdana', sans-serif; |
---|
8 | font-size: 14px; |
---|
9 | letter-spacing: -0.01em; |
---|
10 | line-height: 150%; |
---|
11 | text-align: center; |
---|
12 | /*background-color: #AFC1C4; */ |
---|
13 | background-color: #BFD1D4; |
---|
14 | color: black; |
---|
15 | padding: 0; |
---|
16 | border: 1px solid #aaa; |
---|
17 | |
---|
18 | margin: 0px 80px 0px 80px; |
---|
19 | min-width: 740px; |
---|
20 | } |
---|
21 | |
---|
22 | a { |
---|
23 | color: #CA7900; |
---|
24 | text-decoration: none; |
---|
25 | } |
---|
26 | |
---|
27 | a:hover { |
---|
28 | color: #2491CF; |
---|
29 | } |
---|
30 | |
---|
31 | pre { |
---|
32 | font-family: 'Consolas', 'Deja Vu Sans Mono', 'Bitstream Vera Sans Mono', monospace; |
---|
33 | font-size: 0.95em; |
---|
34 | letter-spacing: 0.015em; |
---|
35 | padding: 0.5em; |
---|
36 | border: 1px solid #ccc; |
---|
37 | background-color: #f8f8f8; |
---|
38 | } |
---|
39 | |
---|
40 | td.linenos pre { |
---|
41 | padding: 0.5em 0; |
---|
42 | border: 0; |
---|
43 | background-color: transparent; |
---|
44 | color: #aaa; |
---|
45 | } |
---|
46 | |
---|
47 | table.highlighttable { |
---|
48 | margin-left: 0.5em; |
---|
49 | } |
---|
50 | |
---|
51 | table.highlighttable td { |
---|
52 | padding: 0 0.5em 0 0.5em; |
---|
53 | } |
---|
54 | |
---|
55 | cite, code, tt { |
---|
56 | font-family: 'Consolas', 'Deja Vu Sans Mono', 'Bitstream Vera Sans Mono', monospace; |
---|
57 | font-size: 0.95em; |
---|
58 | letter-spacing: 0.01em; |
---|
59 | } |
---|
60 | |
---|
61 | hr { |
---|
62 | border: 1px solid #abc; |
---|
63 | margin: 2em; |
---|
64 | } |
---|
65 | |
---|
66 | tt { |
---|
67 | background-color: #f2f2f2; |
---|
68 | border-bottom: 1px solid #ddd; |
---|
69 | color: #333; |
---|
70 | } |
---|
71 | |
---|
72 | tt.descname { |
---|
73 | background-color: transparent; |
---|
74 | font-weight: bold; |
---|
75 | font-size: 1.2em; |
---|
76 | border: 0; |
---|
77 | } |
---|
78 | |
---|
79 | tt.descclassname { |
---|
80 | background-color: transparent; |
---|
81 | border: 0; |
---|
82 | } |
---|
83 | |
---|
84 | tt.xref { |
---|
85 | background-color: transparent; |
---|
86 | font-weight: bold; |
---|
87 | border: 0; |
---|
88 | } |
---|
89 | |
---|
90 | a tt { |
---|
91 | background-color: transparent; |
---|
92 | font-weight: bold; |
---|
93 | border: 0; |
---|
94 | color: #CA7900; |
---|
95 | } |
---|
96 | |
---|
97 | a tt:hover { |
---|
98 | color: #2491CF; |
---|
99 | } |
---|
100 | |
---|
101 | dl { |
---|
102 | margin-bottom: 15px; |
---|
103 | } |
---|
104 | |
---|
105 | dd p { |
---|
106 | margin-top: 0px; |
---|
107 | } |
---|
108 | |
---|
109 | dd ul, dd table { |
---|
110 | margin-bottom: 10px; |
---|
111 | } |
---|
112 | |
---|
113 | dd { |
---|
114 | margin-top: 3px; |
---|
115 | margin-bottom: 10px; |
---|
116 | margin-left: 30px; |
---|
117 | } |
---|
118 | |
---|
119 | .refcount { |
---|
120 | color: #060; |
---|
121 | } |
---|
122 | |
---|
123 | dt:target, |
---|
124 | .highlight { |
---|
125 | background-color: #fbe54e; |
---|
126 | } |
---|
127 | |
---|
128 | dl.class, dl.function { |
---|
129 | border-top: 2px solid #888; |
---|
130 | } |
---|
131 | |
---|
132 | dl.method, dl.attribute { |
---|
133 | border-top: 1px solid #aaa; |
---|
134 | } |
---|
135 | |
---|
136 | dl.glossary dt { |
---|
137 | font-weight: bold; |
---|
138 | font-size: 1.1em; |
---|
139 | } |
---|
140 | |
---|
141 | pre { |
---|
142 | line-height: 120%; |
---|
143 | } |
---|
144 | |
---|
145 | pre a { |
---|
146 | color: inherit; |
---|
147 | text-decoration: underline; |
---|
148 | } |
---|
149 | |
---|
150 | .first { |
---|
151 | margin-top: 0 !important; |
---|
152 | } |
---|
153 | |
---|
154 | div.document { |
---|
155 | background-color: white; |
---|
156 | text-align: left; |
---|
157 | background-image: url(contents.png); |
---|
158 | background-repeat: repeat-x; |
---|
159 | } |
---|
160 | |
---|
161 | /* |
---|
162 | div.documentwrapper { |
---|
163 | width: 100%; |
---|
164 | } |
---|
165 | */ |
---|
166 | |
---|
167 | div.clearer { |
---|
168 | clear: both; |
---|
169 | } |
---|
170 | |
---|
171 | div.related h3 { |
---|
172 | display: none; |
---|
173 | } |
---|
174 | |
---|
175 | div.related ul { |
---|
176 | background-image: url(navigation.png); |
---|
177 | height: 2em; |
---|
178 | list-style: none; |
---|
179 | border-top: 1px solid #ddd; |
---|
180 | border-bottom: 1px solid #ddd; |
---|
181 | margin: 0; |
---|
182 | padding-left: 10px; |
---|
183 | } |
---|
184 | |
---|
185 | div.related ul li { |
---|
186 | margin: 0; |
---|
187 | padding: 0; |
---|
188 | height: 2em; |
---|
189 | float: left; |
---|
190 | } |
---|
191 | |
---|
192 | div.related ul li.right { |
---|
193 | float: right; |
---|
194 | margin-right: 5px; |
---|
195 | } |
---|
196 | |
---|
197 | div.related ul li a { |
---|
198 | margin: 0; |
---|
199 | padding: 0 5px 0 5px; |
---|
200 | line-height: 1.75em; |
---|
201 | color: #EE9816; |
---|
202 | } |
---|
203 | |
---|
204 | div.related ul li a:hover { |
---|
205 | color: #3CA8E7; |
---|
206 | } |
---|
207 | |
---|
208 | div.body { |
---|
209 | margin: 0; |
---|
210 | padding: 0.5em 20px 20px 20px; |
---|
211 | } |
---|
212 | |
---|
213 | div.bodywrapper { |
---|
214 | margin: 0 240px 0 0; |
---|
215 | border-right: 1px solid #ccc; |
---|
216 | } |
---|
217 | |
---|
218 | div.body a { |
---|
219 | text-decoration: underline; |
---|
220 | } |
---|
221 | |
---|
222 | div.sphinxsidebar { |
---|
223 | margin: 0; |
---|
224 | padding: 0.5em 15px 15px 0; |
---|
225 | width: 210px; |
---|
226 | float: right; |
---|
227 | text-align: left; |
---|
228 | /* margin-left: -100%; */ |
---|
229 | } |
---|
230 | |
---|
231 | div.sphinxsidebar h4, div.sphinxsidebar h3 { |
---|
232 | margin: 1em 0 0.5em 0; |
---|
233 | font-size: 0.9em; |
---|
234 | padding: 0.1em 0 0.1em 0.5em; |
---|
235 | color: white; |
---|
236 | border: 1px solid #86989B; |
---|
237 | background-color: #AFC1C4; |
---|
238 | } |
---|
239 | |
---|
240 | div.sphinxsidebar ul { |
---|
241 | padding-left: 1.5em; |
---|
242 | margin-top: 7px; |
---|
243 | list-style: none; |
---|
244 | padding: 0; |
---|
245 | line-height: 130%; |
---|
246 | } |
---|
247 | |
---|
248 | div.sphinxsidebar ul ul { |
---|
249 | list-style: square; |
---|
250 | margin-left: 20px; |
---|
251 | } |
---|
252 | |
---|
253 | p { |
---|
254 | margin: 0.8em 0 0.5em 0; |
---|
255 | } |
---|
256 | |
---|
257 | p.rubric { |
---|
258 | font-weight: bold; |
---|
259 | } |
---|
260 | |
---|
261 | h1 { |
---|
262 | margin: 0; |
---|
263 | padding: 0.7em 0 0.3em 0; |
---|
264 | font-size: 1.5em; |
---|
265 | color: #11557C; |
---|
266 | } |
---|
267 | |
---|
268 | h2 { |
---|
269 | margin: 1.3em 0 0.2em 0; |
---|
270 | font-size: 1.35em; |
---|
271 | padding: 0; |
---|
272 | } |
---|
273 | |
---|
274 | h3 { |
---|
275 | margin: 1em 0 -0.3em 0; |
---|
276 | font-size: 1.2em; |
---|
277 | } |
---|
278 | |
---|
279 | h1 a, h2 a, h3 a, h4 a, h5 a, h6 a { |
---|
280 | color: black!important; |
---|
281 | } |
---|
282 | |
---|
283 | h1 a.anchor, h2 a.anchor, h3 a.anchor, h4 a.anchor, h5 a.anchor, h6 a.anchor { |
---|
284 | display: none; |
---|
285 | margin: 0 0 0 0.3em; |
---|
286 | padding: 0 0.2em 0 0.2em; |
---|
287 | color: #aaa!important; |
---|
288 | } |
---|
289 | |
---|
290 | h1:hover a.anchor, h2:hover a.anchor, h3:hover a.anchor, h4:hover a.anchor, |
---|
291 | h5:hover a.anchor, h6:hover a.anchor { |
---|
292 | display: inline; |
---|
293 | } |
---|
294 | |
---|
295 | h1 a.anchor:hover, h2 a.anchor:hover, h3 a.anchor:hover, h4 a.anchor:hover, |
---|
296 | h5 a.anchor:hover, h6 a.anchor:hover { |
---|
297 | color: #777; |
---|
298 | background-color: #eee; |
---|
299 | } |
---|
300 | |
---|
301 | table { |
---|
302 | border-collapse: collapse; |
---|
303 | margin: 0 -0.5em 0 -0.5em; |
---|
304 | } |
---|
305 | |
---|
306 | table td, table th { |
---|
307 | padding: 0.2em 0.5em 0.2em 0.5em; |
---|
308 | } |
---|
309 | |
---|
310 | div.footer { |
---|
311 | background-color: #E3EFF1; |
---|
312 | color: #86989B; |
---|
313 | padding: 3px 8px 3px 0; |
---|
314 | clear: both; |
---|
315 | font-size: 0.8em; |
---|
316 | text-align: right; |
---|
317 | } |
---|
318 | |
---|
319 | div.footer a { |
---|
320 | color: #86989B; |
---|
321 | text-decoration: underline; |
---|
322 | } |
---|
323 | |
---|
324 | div.pagination { |
---|
325 | margin-top: 2em; |
---|
326 | padding-top: 0.5em; |
---|
327 | border-top: 1px solid black; |
---|
328 | text-align: center; |
---|
329 | } |
---|
330 | |
---|
331 | div.sphinxsidebar ul.toc { |
---|
332 | margin: 1em 0 1em 0; |
---|
333 | padding: 0 0 0 0.5em; |
---|
334 | list-style: none; |
---|
335 | } |
---|
336 | |
---|
337 | div.sphinxsidebar ul.toc li { |
---|
338 | margin: 0.5em 0 0.5em 0; |
---|
339 | font-size: 0.9em; |
---|
340 | line-height: 130%; |
---|
341 | } |
---|
342 | |
---|
343 | div.sphinxsidebar ul.toc li p { |
---|
344 | margin: 0; |
---|
345 | padding: 0; |
---|
346 | } |
---|
347 | |
---|
348 | div.sphinxsidebar ul.toc ul { |
---|
349 | margin: 0.2em 0 0.2em 0; |
---|
350 | padding: 0 0 0 1.8em; |
---|
351 | } |
---|
352 | |
---|
353 | div.sphinxsidebar ul.toc ul li { |
---|
354 | padding: 0; |
---|
355 | } |
---|
356 | |
---|
357 | div.admonition, div.warning { |
---|
358 | font-size: 0.9em; |
---|
359 | margin: 1em 0 0 0; |
---|
360 | border: 1px solid #86989B; |
---|
361 | background-color: #f7f7f7; |
---|
362 | } |
---|
363 | |
---|
364 | div.admonition p, div.warning p { |
---|
365 | margin: 0.5em 1em 0.5em 1em; |
---|
366 | padding: 0; |
---|
367 | } |
---|
368 | |
---|
369 | div.admonition pre, div.warning pre { |
---|
370 | margin: 0.4em 1em 0.4em 1em; |
---|
371 | } |
---|
372 | |
---|
373 | div.admonition p.admonition-title, |
---|
374 | div.warning p.admonition-title { |
---|
375 | margin: 0; |
---|
376 | padding: 0.1em 0 0.1em 0.5em; |
---|
377 | color: white; |
---|
378 | border-bottom: 1px solid #86989B; |
---|
379 | font-weight: bold; |
---|
380 | background-color: #AFC1C4; |
---|
381 | } |
---|
382 | |
---|
383 | div.warning { |
---|
384 | border: 1px solid #940000; |
---|
385 | } |
---|
386 | |
---|
387 | div.warning p.admonition-title { |
---|
388 | background-color: #CF0000; |
---|
389 | border-bottom-color: #940000; |
---|
390 | } |
---|
391 | |
---|
392 | div.admonition ul, div.admonition ol, |
---|
393 | div.warning ul, div.warning ol { |
---|
394 | margin: 0.1em 0.5em 0.5em 3em; |
---|
395 | padding: 0; |
---|
396 | } |
---|
397 | |
---|
398 | div.versioninfo { |
---|
399 | margin: 1em 0 0 0; |
---|
400 | border: 1px solid #ccc; |
---|
401 | background-color: #DDEAF0; |
---|
402 | padding: 8px; |
---|
403 | line-height: 1.3em; |
---|
404 | font-size: 0.9em; |
---|
405 | } |
---|
406 | |
---|
407 | |
---|
408 | a.headerlink { |
---|
409 | color: #c60f0f!important; |
---|
410 | font-size: 1em; |
---|
411 | margin-left: 6px; |
---|
412 | padding: 0 4px 0 4px; |
---|
413 | text-decoration: none!important; |
---|
414 | visibility: hidden; |
---|
415 | } |
---|
416 | |
---|
417 | h1:hover > a.headerlink, |
---|
418 | h2:hover > a.headerlink, |
---|
419 | h3:hover > a.headerlink, |
---|
420 | h4:hover > a.headerlink, |
---|
421 | h5:hover > a.headerlink, |
---|
422 | h6:hover > a.headerlink, |
---|
423 | dt:hover > a.headerlink { |
---|
424 | visibility: visible; |
---|
425 | } |
---|
426 | |
---|
427 | a.headerlink:hover { |
---|
428 | background-color: #ccc; |
---|
429 | color: white!important; |
---|
430 | } |
---|
431 | |
---|
432 | table.indextable td { |
---|
433 | text-align: left; |
---|
434 | vertical-align: top; |
---|
435 | } |
---|
436 | |
---|
437 | table.indextable dl, table.indextable dd { |
---|
438 | margin-top: 0; |
---|
439 | margin-bottom: 0; |
---|
440 | } |
---|
441 | |
---|
442 | table.indextable tr.pcap { |
---|
443 | height: 10px; |
---|
444 | } |
---|
445 | |
---|
446 | table.indextable tr.cap { |
---|
447 | margin-top: 10px; |
---|
448 | background-color: #f2f2f2; |
---|
449 | } |
---|
450 | |
---|
451 | img.toggler { |
---|
452 | margin-right: 3px; |
---|
453 | margin-top: 3px; |
---|
454 | cursor: pointer; |
---|
455 | } |
---|
456 | |
---|
457 | img.inheritance { |
---|
458 | border: 0px |
---|
459 | } |
---|
460 | |
---|
461 | form.pfform { |
---|
462 | margin: 10px 0 20px 0; |
---|
463 | } |
---|
464 | |
---|
465 | table.contentstable { |
---|
466 | width: 90%; |
---|
467 | } |
---|
468 | |
---|
469 | table.contentstable p.biglink { |
---|
470 | line-height: 150%; |
---|
471 | } |
---|
472 | |
---|
473 | a.biglink { |
---|
474 | font-size: 1.3em; |
---|
475 | } |
---|
476 | |
---|
477 | span.linkdescr { |
---|
478 | font-style: italic; |
---|
479 | padding-top: 5px; |
---|
480 | font-size: 90%; |
---|
481 | } |
---|
482 | |
---|
483 | ul.search { |
---|
484 | margin: 10px 0 0 20px; |
---|
485 | padding: 0; |
---|
486 | } |
---|
487 | |
---|
488 | ul.search li { |
---|
489 | padding: 5px 0 5px 20px; |
---|
490 | background-image: url(file.png); |
---|
491 | background-repeat: no-repeat; |
---|
492 | background-position: 0 7px; |
---|
493 | } |
---|
494 | |
---|
495 | ul.search li a { |
---|
496 | font-weight: bold; |
---|
497 | } |
---|
498 | |
---|
499 | ul.search li div.context { |
---|
500 | color: #888; |
---|
501 | margin: 2px 0 0 30px; |
---|
502 | text-align: left; |
---|
503 | } |
---|
504 | |
---|
505 | ul.keywordmatches li.goodmatch a { |
---|
506 | font-weight: bold; |
---|
507 | } |
---|