|
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 .field-list ul { |
|
102 margin: 0; |
|
103 padding-left: 1em; |
|
104 } |
|
105 |
|
106 .field-list p { |
|
107 margin: 0; |
|
108 } |
|
109 |
|
110 dl { |
|
111 margin-bottom: 15px; |
|
112 } |
|
113 |
|
114 dd p { |
|
115 margin-top: 0px; |
|
116 } |
|
117 |
|
118 dd ul, dd table { |
|
119 margin-bottom: 10px; |
|
120 } |
|
121 |
|
122 dd { |
|
123 margin-top: 3px; |
|
124 margin-bottom: 10px; |
|
125 margin-left: 30px; |
|
126 } |
|
127 |
|
128 .refcount { |
|
129 color: #060; |
|
130 } |
|
131 |
|
132 dt:target, |
|
133 .highlight { |
|
134 background-color: #fbe54e; |
|
135 } |
|
136 |
|
137 dl.glossary dt { |
|
138 font-weight: bold; |
|
139 font-size: 1.1em; |
|
140 } |
|
141 |
|
142 pre { |
|
143 line-height: 120%; |
|
144 } |
|
145 |
|
146 pre a { |
|
147 color: inherit; |
|
148 text-decoration: underline; |
|
149 } |
|
150 |
|
151 .first { |
|
152 margin-top: 0 !important; |
|
153 } |
|
154 |
|
155 div.document { |
|
156 background-color: white; |
|
157 text-align: left; |
|
158 background-image: url(contents.png); |
|
159 background-repeat: repeat-x; |
|
160 } |
|
161 |
|
162 /* |
|
163 div.documentwrapper { |
|
164 width: 100%; |
|
165 } |
|
166 */ |
|
167 |
|
168 div.clearer { |
|
169 clear: both; |
|
170 } |
|
171 |
|
172 div.related h3 { |
|
173 display: none; |
|
174 } |
|
175 |
|
176 div.related ul { |
|
177 background-image: url(navigation.png); |
|
178 height: 2em; |
|
179 list-style: none; |
|
180 border-top: 1px solid #ddd; |
|
181 border-bottom: 1px solid #ddd; |
|
182 margin: 0; |
|
183 padding-left: 10px; |
|
184 } |
|
185 |
|
186 div.related ul li { |
|
187 margin: 0; |
|
188 padding: 0; |
|
189 height: 2em; |
|
190 float: left; |
|
191 } |
|
192 |
|
193 div.related ul li.right { |
|
194 float: right; |
|
195 margin-right: 5px; |
|
196 } |
|
197 |
|
198 div.related ul li a { |
|
199 margin: 0; |
|
200 padding: 0 5px 0 5px; |
|
201 line-height: 1.75em; |
|
202 color: #EE9816; |
|
203 } |
|
204 |
|
205 div.related ul li a:hover { |
|
206 color: #3CA8E7; |
|
207 } |
|
208 |
|
209 div.body { |
|
210 margin: 0; |
|
211 padding: 0.5em 20px 20px 20px; |
|
212 } |
|
213 |
|
214 div.bodywrapper { |
|
215 margin: 0 240px 0 0; |
|
216 border-right: 1px solid #ccc; |
|
217 } |
|
218 |
|
219 div.body a { |
|
220 text-decoration: underline; |
|
221 } |
|
222 |
|
223 div.sphinxsidebar { |
|
224 margin: 0; |
|
225 padding: 0.5em 15px 15px 0; |
|
226 width: 210px; |
|
227 float: right; |
|
228 text-align: left; |
|
229 /* margin-left: -100%; */ |
|
230 } |
|
231 |
|
232 div.sphinxsidebar h4, div.sphinxsidebar h3 { |
|
233 margin: 1em 0 0.5em 0; |
|
234 font-size: 0.9em; |
|
235 padding: 0.1em 0 0.1em 0.5em; |
|
236 color: white; |
|
237 border: 1px solid #86989B; |
|
238 background-color: #AFC1C4; |
|
239 } |
|
240 |
|
241 div.sphinxsidebar h3 a { |
|
242 color: white; |
|
243 } |
|
244 |
|
245 div.sphinxsidebar ul { |
|
246 padding-left: 1.5em; |
|
247 margin-top: 7px; |
|
248 list-style: none; |
|
249 padding: 0; |
|
250 line-height: 130%; |
|
251 } |
|
252 |
|
253 div.sphinxsidebar ul ul { |
|
254 list-style: square; |
|
255 margin-left: 20px; |
|
256 } |
|
257 |
|
258 p { |
|
259 margin: 0.8em 0 0.5em 0; |
|
260 } |
|
261 |
|
262 p.rubric { |
|
263 font-weight: bold; |
|
264 } |
|
265 |
|
266 div.sidebar { |
|
267 margin: 0 0 0.5em 1em; |
|
268 border: 1px solid #ddb; |
|
269 padding: 7px 7px 0 7px; |
|
270 background-color: #ffe; |
|
271 width: 40%; |
|
272 float: right; |
|
273 } |
|
274 |
|
275 div.quotebar { |
|
276 background-color: #f8f8f8; |
|
277 max-width: 250px; |
|
278 float: right; |
|
279 padding: 2px 7px; |
|
280 border: 1px solid #ccc; |
|
281 } |
|
282 |
|
283 p.sidebar-title { |
|
284 font-weight: bold; |
|
285 } |
|
286 |
|
287 div.topic { |
|
288 background-color: #f8f8f8; |
|
289 border: 1px solid #ccc; |
|
290 padding: 7px 7px 0 7px; |
|
291 margin: 10px 0 10px 0; |
|
292 } |
|
293 |
|
294 p.topic-title { |
|
295 font-size: 1.1em; |
|
296 font-weight: bold; |
|
297 } |
|
298 |
|
299 h1 { |
|
300 margin: 0; |
|
301 padding: 0.7em 0 0.3em 0; |
|
302 font-size: 1.5em; |
|
303 color: #11557C; |
|
304 } |
|
305 |
|
306 h2 { |
|
307 margin: 1.3em 0 0.2em 0; |
|
308 font-size: 1.35em; |
|
309 padding: 0; |
|
310 } |
|
311 |
|
312 h3 { |
|
313 margin: 1em 0 -0.3em 0; |
|
314 font-size: 1.2em; |
|
315 } |
|
316 |
|
317 div.body h1 a, div.body h2 a, div.body h3 a, div.body h4 a, div.body h5 a, div.body h6 a { |
|
318 color: black!important; |
|
319 } |
|
320 |
|
321 h1 a.anchor, h2 a.anchor, h3 a.anchor, h4 a.anchor, h5 a.anchor, h6 a.anchor { |
|
322 display: none; |
|
323 margin: 0 0 0 0.3em; |
|
324 padding: 0 0.2em 0 0.2em; |
|
325 color: #aaa!important; |
|
326 } |
|
327 |
|
328 h1:hover a.anchor, h2:hover a.anchor, h3:hover a.anchor, h4:hover a.anchor, |
|
329 h5:hover a.anchor, h6:hover a.anchor { |
|
330 display: inline; |
|
331 } |
|
332 |
|
333 h1 a.anchor:hover, h2 a.anchor:hover, h3 a.anchor:hover, h4 a.anchor:hover, |
|
334 h5 a.anchor:hover, h6 a.anchor:hover { |
|
335 color: #777; |
|
336 background-color: #eee; |
|
337 } |
|
338 |
|
339 table { |
|
340 border-collapse: collapse; |
|
341 margin: 0 -0.5em 0 -0.5em; |
|
342 } |
|
343 |
|
344 table td, table th { |
|
345 padding: 0.2em 0.5em 0.2em 0.5em; |
|
346 } |
|
347 |
|
348 div.footer { |
|
349 background-color: #E3EFF1; |
|
350 color: #86989B; |
|
351 padding: 3px 8px 3px 0; |
|
352 clear: both; |
|
353 font-size: 0.8em; |
|
354 text-align: right; |
|
355 } |
|
356 |
|
357 div.footer a { |
|
358 color: #86989B; |
|
359 text-decoration: underline; |
|
360 } |
|
361 |
|
362 div.pagination { |
|
363 margin-top: 2em; |
|
364 padding-top: 0.5em; |
|
365 border-top: 1px solid black; |
|
366 text-align: center; |
|
367 } |
|
368 |
|
369 div.sphinxsidebar ul.toc { |
|
370 margin: 1em 0 1em 0; |
|
371 padding: 0 0 0 0.5em; |
|
372 list-style: none; |
|
373 } |
|
374 |
|
375 div.sphinxsidebar ul.toc li { |
|
376 margin: 0.5em 0 0.5em 0; |
|
377 font-size: 0.9em; |
|
378 line-height: 130%; |
|
379 } |
|
380 |
|
381 div.sphinxsidebar ul.toc li p { |
|
382 margin: 0; |
|
383 padding: 0; |
|
384 } |
|
385 |
|
386 div.sphinxsidebar ul.toc ul { |
|
387 margin: 0.2em 0 0.2em 0; |
|
388 padding: 0 0 0 1.8em; |
|
389 } |
|
390 |
|
391 div.sphinxsidebar ul.toc ul li { |
|
392 padding: 0; |
|
393 } |
|
394 |
|
395 div.admonition, div.warning { |
|
396 font-size: 0.9em; |
|
397 margin: 1em 0 0 0; |
|
398 border: 1px solid #86989B; |
|
399 background-color: #f7f7f7; |
|
400 } |
|
401 |
|
402 div.admonition p, div.warning p { |
|
403 margin: 0.5em 1em 0.5em 1em; |
|
404 padding: 0; |
|
405 } |
|
406 |
|
407 div.admonition pre, div.warning pre { |
|
408 margin: 0.4em 1em 0.4em 1em; |
|
409 } |
|
410 |
|
411 div.admonition p.admonition-title, |
|
412 div.warning p.admonition-title { |
|
413 margin: 0; |
|
414 padding: 0.1em 0 0.1em 0.5em; |
|
415 color: white; |
|
416 border-bottom: 1px solid #86989B; |
|
417 font-weight: bold; |
|
418 background-color: #AFC1C4; |
|
419 } |
|
420 |
|
421 div.warning { |
|
422 border: 1px solid #940000; |
|
423 } |
|
424 |
|
425 div.warning p.admonition-title { |
|
426 background-color: #CF0000; |
|
427 border-bottom-color: #940000; |
|
428 } |
|
429 |
|
430 div.admonition ul, div.admonition ol, |
|
431 div.warning ul, div.warning ol { |
|
432 margin: 0.1em 0.5em 0.5em 3em; |
|
433 padding: 0; |
|
434 } |
|
435 |
|
436 div.versioninfo { |
|
437 margin: 1em 0 0 0; |
|
438 border: 1px solid #ccc; |
|
439 background-color: #DDEAF0; |
|
440 padding: 8px; |
|
441 line-height: 1.3em; |
|
442 font-size: 0.9em; |
|
443 } |
|
444 |
|
445 |
|
446 a.headerlink { |
|
447 color: #c60f0f!important; |
|
448 font-size: 1em; |
|
449 margin-left: 6px; |
|
450 padding: 0 4px 0 4px; |
|
451 text-decoration: none!important; |
|
452 visibility: hidden; |
|
453 } |
|
454 |
|
455 h1:hover > a.headerlink, |
|
456 h2:hover > a.headerlink, |
|
457 h3:hover > a.headerlink, |
|
458 h4:hover > a.headerlink, |
|
459 h5:hover > a.headerlink, |
|
460 h6:hover > a.headerlink, |
|
461 dt:hover > a.headerlink { |
|
462 visibility: visible; |
|
463 } |
|
464 |
|
465 a.headerlink:hover { |
|
466 background-color: #ccc; |
|
467 color: white!important; |
|
468 } |
|
469 |
|
470 table.indextable td { |
|
471 text-align: left; |
|
472 vertical-align: top; |
|
473 } |
|
474 |
|
475 table.indextable dl, table.indextable dd { |
|
476 margin-top: 0; |
|
477 margin-bottom: 0; |
|
478 } |
|
479 |
|
480 table.indextable tr.pcap { |
|
481 height: 10px; |
|
482 } |
|
483 |
|
484 table.indextable tr.cap { |
|
485 margin-top: 10px; |
|
486 background-color: #f2f2f2; |
|
487 } |
|
488 |
|
489 img.toggler { |
|
490 margin-right: 3px; |
|
491 margin-top: 3px; |
|
492 cursor: pointer; |
|
493 } |
|
494 |
|
495 form.pfform { |
|
496 margin: 10px 0 20px 0; |
|
497 } |
|
498 |
|
499 table.contentstable { |
|
500 width: 90%; |
|
501 } |
|
502 |
|
503 table.contentstable p.biglink { |
|
504 line-height: 150%; |
|
505 } |
|
506 |
|
507 a.biglink { |
|
508 font-size: 1.3em; |
|
509 } |
|
510 |
|
511 span.linkdescr { |
|
512 font-style: italic; |
|
513 padding-top: 5px; |
|
514 font-size: 90%; |
|
515 } |
|
516 |
|
517 ul.search { |
|
518 margin: 10px 0 0 20px; |
|
519 padding: 0; |
|
520 } |
|
521 |
|
522 ul.search li { |
|
523 padding: 5px 0 5px 20px; |
|
524 background-image: url(file.png); |
|
525 background-repeat: no-repeat; |
|
526 background-position: 0 7px; |
|
527 } |
|
528 |
|
529 ul.search li a { |
|
530 font-weight: bold; |
|
531 } |
|
532 |
|
533 ul.search li div.context { |
|
534 color: #888; |
|
535 margin: 2px 0 0 30px; |
|
536 text-align: left; |
|
537 } |
|
538 |
|
539 ul.keywordmatches li.goodmatch a { |
|
540 font-weight: bold; |
|
541 } |
|
542 |
|
543 img.math { |
|
544 vertical-align: center; |
|
545 } |
|
546 |
|
547 div.math { |
|
548 text-align: center; |
|
549 } |
|
550 |
|
551 span.eqno { |
|
552 float: right; |
|
553 } |
|
554 |
|
555 img.logo { |
|
556 border: 0; |
|
557 } |