blob: 8c224c073e0f9b4795c3c2bd6474410ae1372004 [file] [log] [blame]
joe.gregorio258eefb2008-09-06 01:30:25 +00001/**
2 * Sphinx Doc Design -- traditional python.org style
3 */
4
5body {
6 color: #000;
7 margin: 0;
8 padding: 0;
9}
10
11/* :::: LAYOUT :::: */
12
13div.documentwrapper {
14 float: left;
15 width: 100%;
16}
17
18div.bodywrapper {
19 margin: 0 230px 0 0;
20}
21
22div.body {
23 background-color: white;
24 padding: 0 20px 30px 20px;
25}
26
27div.sphinxsidebarwrapper {
28 border: 1px solid #99ccff;
29 padding: 10px;
30 margin: 10px 15px 10px 0;
31}
32
33div.sphinxsidebar {
34 float: right;
35 margin-left: -100%;
36 width: 230px;
37}
38
39div.clearer {
40 clear: both;
41}
42
43div.footer {
44 clear: both;
45 width: 100%;
46 background-color: #99ccff;
47 padding: 9px 0 9px 0;
48 text-align: center;
49}
50
51div.related {
52 background-color: #99ccff;
53 color: #333;
54 width: 100%;
55 height: 30px;
56 line-height: 30px;
57 border-bottom: 5px solid white;
58}
59
60div.related h3 {
61 display: none;
62}
63
64div.related ul {
65 margin: 0;
66 padding: 0 0 0 10px;
67 list-style: none;
68}
69
70div.related li {
71 display: inline;
72 font-weight: bold;
73}
74
75div.related li.right {
76 float: right;
77 margin-right: 5px;
78}
79
80/* ::: SIDEBAR :::: */
81div.sphinxsidebar h3 {
82 margin: 0;
83}
84
85div.sphinxsidebar h4 {
86 margin: 5px 0 0 0;
87}
88
89div.sphinxsidebar p.topless {
90 margin: 5px 10px 10px 10px;
91}
92
93div.sphinxsidebar ul {
94 margin: 10px;
95 margin-left: 15px;
96 padding: 0;
97}
98
99div.sphinxsidebar ul ul {
100 margin-top: 0;
101 margin-bottom: 0;
102}
103
104div.sphinxsidebar form {
105 margin-top: 10px;
106}
107
108
109/* :::: SEARCH :::: */
110ul.search {
111 margin: 10px 0 0 20px;
112 padding: 0;
113}
114
115ul.search li {
116 padding: 5px 0 5px 20px;
117 background-image: url(file.png);
118 background-repeat: no-repeat;
119 background-position: 0 7px;
120}
121
122ul.search li a {
123 font-weight: bold;
124}
125
126ul.search li div.context {
127 color: #888;
128 margin: 2px 0 0 30px;
129 text-align: left;
130}
131
132ul.keywordmatches li.goodmatch a {
133 font-weight: bold;
134}
135
136/* :::: COMMON FORM STYLES :::: */
137
138div.actions {
139 border-top: 1px solid #aaa;
140 background-color: #ddd;
141 margin: 10px 0 0 -20px;
142 padding: 5px 0 5px 20px;
143}
144
145form dl {
146 color: #333;
147}
148
149form dt {
150 clear: both;
151 float: left;
152 min-width: 110px;
153 margin-right: 10px;
154 padding-top: 2px;
155}
156
157input#homepage {
158 display: none;
159}
160
161div.error {
162 margin: 5px 20px 0 0;
163 padding: 5px;
164 border: 1px solid #d00;
165 /*border: 2px solid #05171e;
166 background-color: #092835;
167 color: white;*/
168 font-weight: bold;
169}
170
171/* :::: INLINE COMMENTS :::: */
172
173div.inlinecommentswrapper {
174 float: right;
175 max-width: 40%;
176}
177
178div.commentmarker {
179 float: right;
180 background-image: url(style/comment.png);
181 background-repeat: no-repeat;
182 width: 25px;
183 height: 25px;
184 text-align: center;
185 padding-top: 3px;
186}
187
188div.nocommentmarker {
189 float: right;
190 background-image: url(style/nocomment.png);
191 background-repeat: no-repeat;
192 width: 25px;
193 height: 25px;
194}
195
196div.inlinecomments {
197 margin-left: 10px;
198 margin-bottom: 5px;
199 background-color: #eee;
200 border: 1px solid #ccc;
201 padding: 5px;
202}
203
204div.inlinecomment {
205 border-top: 1px solid #ccc;
206 padding-top: 5px;
207 margin-top: 5px;
208}
209
210.inlinecomments p {
211 margin: 5px 0 5px 0;
212}
213
214.inlinecomments .head {
215 font-weight: bold;
216}
217
218.inlinecomments .meta {
219 font-style: italic;
220}
221
222
223/* :::: COMMENTS :::: */
224
225div#comments h3 {
226 border-top: 1px solid #aaa;
227 padding: 5px 20px 5px 20px;
228 margin: 20px -20px 20px -20px;
229 background-color: #ddd;
230}
231
232/*
233div#comments {
234 background-color: #ccc;
235 margin: 40px -20px -30px -20px;
236 padding: 0 0 1px 0;
237}
238
239div#comments h4 {
240 margin: 30px 0 20px 0;
241 background-color: #aaa;
242 border-bottom: 1px solid #09232e;
243 color: #333;
244}
245
246div#comments form {
247 display: block;
248 margin: 0 0 0 20px;
249}
250
251div#comments textarea {
252 width: 98%;
253 height: 160px;
254}
255
256div#comments div.help {
257 margin: 20px 20px 10px 0;
258 background-color: #ccc;
259 color: #333;
260}
261
262div#comments div.help p {
263 margin: 0;
264 padding: 0 0 10px 0;
265}
266
267div#comments input, div#comments textarea {
268 font-family: 'Bitstream Vera Sans', 'Arial', sans-serif;
269 font-size: 13px;
270 color: black;
271 background-color: #aaa;
272 border: 1px solid #092835;
273}
274
275div#comments input[type="reset"],
276div#comments input[type="submit"] {
277 cursor: pointer;
278 font-weight: bold;
279 padding: 2px;
280 margin: 5px 5px 5px 0;
281 background-color: #666;
282 color: white;
283}
284
285div#comments div.comment {
286 margin: 10px 10px 10px 20px;
287 padding: 10px;
288 border: 1px solid #0f3646;
289 background-color: #aaa;
290 color: #333;
291}
292
293div#comments div.comment p {
294 margin: 5px 0 5px 0;
295}
296
297div#comments div.comment p.meta {
298 font-style: italic;
299 color: #444;
300 text-align: right;
301 margin: -5px 0 -5px 0;
302}
303
304div#comments div.comment h4 {
305 margin: -10px -10px 5px -10px;
306 padding: 3px;
307 font-size: 15px;
308 background-color: #888;
309 color: white;
310 border: 0;
311}
312
313div#comments div.comment pre,
314div#comments div.comment tt {
315 background-color: #ddd;
316 color: #111;
317 border: none;
318}
319
320div#comments div.comment a {
321 color: #fff;
322 text-decoration: underline;
323}
324
325div#comments div.comment blockquote {
326 margin: 10px;
327 padding: 10px;
328 border-left: 1px solid #0f3646;
329 /*border: 1px solid #0f3646;
330 background-color: #071c25;*/
331}
332
333div#comments em.important {
334 color: #d00;
335 font-weight: bold;
336 font-style: normal;
337}*/
338
339/* :::: SUGGEST CHANGES :::: */
340div#suggest-changes-box input, div#suggest-changes-box textarea {
341 border: 1px solid #ccc;
342 background-color: white;
343 color: black;
344}
345
346div#suggest-changes-box textarea {
347 width: 99%;
348 height: 400px;
349}
350
351
352/* :::: PREVIEW :::: */
353div.preview {
354 background-image: url(style/preview.png);
355 padding: 0 20px 20px 20px;
356 margin-bottom: 30px;
357}
358
359
360/* :::: INDEX PAGE :::: */
361
362table.contentstable {
363 width: 90%;
364}
365
366table.contentstable p.biglink {
367 line-height: 150%;
368}
369
370a.biglink {
371 font-size: 1.5em;
372}
373
374span.linkdescr {
375 font-style: italic;
376 padding-top: 5px;
377}
378
379/* :::: GENINDEX STYLES :::: */
380
381table.indextable td {
382 text-align: left;
383 vertical-align: top;
384}
385
386table.indextable dl, table.indextable dd {
387 margin-top: 0;
388 margin-bottom: 0;
389}
390
391table.indextable tr.pcap {
392 height: 10px;
393}
394
395table.indextable tr.cap {
396 margin-top: 10px;
397 background-color: #f2f2f2;
398}
399
400img.toggler {
401 margin-right: 3px;
402 margin-top: 3px;
403 cursor: pointer;
404}
405
406/* :::: GLOBAL STYLES :::: */
407
408p.subhead {
409 font-weight: bold;
410 margin-top: 20px;
411}
412
413a:link:active { color: #ff0000; }
414a:link:hover { background-color: #bbeeff; }
415a:visited:hover { background-color: #bbeeff; }
416a:visited { color: #551a8b; }
417a:link { color: #0000bb; }
418
419div.body h1,
420div.body h2,
421div.body h3,
422div.body h4,
423div.body h5,
424div.body h6 {
425 font-family: avantgarde, sans-serif;
426 font-weight: bold;
427}
428
429div.body h1 { font-size: 180%; }
430div.body h2 { font-size: 150%; }
431div.body h3 { font-size: 120%; }
432div.body h4 { font-size: 120%; }
433
434a.headerlink,
435a.headerlink,
436a.headerlink,
437a.headerlink,
438a.headerlink,
439a.headerlink {
440 color: #c60f0f;
441 font-size: 0.8em;
442 padding: 0 4px 0 4px;
443 text-decoration: none;
444 visibility: hidden;
445}
446
447*:hover > a.headerlink,
448*:hover > a.headerlink,
449*:hover > a.headerlink,
450*:hover > a.headerlink,
451*:hover > a.headerlink,
452*:hover > a.headerlink {
453 visibility: visible;
454}
455
456a.headerlink:hover,
457a.headerlink:hover,
458a.headerlink:hover,
459a.headerlink:hover,
460a.headerlink:hover,
461a.headerlink:hover {
462 background-color: #c60f0f;
463 color: white;
464}
465
466div.body p, div.body dd, div.body li {
467 text-align: justify;
468}
469
470div.body td {
471 text-align: left;
472}
473
474ul.fakelist {
475 list-style: none;
476 margin: 10px 0 10px 20px;
477 padding: 0;
478}
479
480/* "Footnotes" heading */
481p.rubric {
482 margin-top: 30px;
483 font-weight: bold;
484}
485
486/* "Topics" */
487
488div.topic {
489 background-color: #eee;
490 border: 1px solid #ccc;
491 padding: 0 7px 0 7px;
492 margin: 10px 0 10px 0;
493}
494
495p.topic-title {
496 font-size: 1.1em;
497 font-weight: bold;
498 margin-top: 10px;
499}
500
501/* Admonitions */
502
503div.admonition {
504 margin-top: 10px;
505 margin-bottom: 10px;
506 padding: 7px;
507}
508
509div.admonition dt {
510 font-weight: bold;
511}
512
513div.admonition dd {
514 margin-bottom: 10px;
515}
516
517div.admonition dl {
518 margin-bottom: 0;
519}
520
521div.admonition p {
522 display: inline;
523}
524
525div.seealso {
526 background-color: #ffc;
527 border: 1px solid #ff6;
528}
529
530div.warning {
531 background-color: #ffe4e4;
532 border: 1px solid #f66;
533}
534
535div.note {
536 background-color: #eee;
537 border: 1px solid #ccc;
538}
539
540p.admonition-title {
541 margin: 0px 10px 5px 0px;
542 font-weight: bold;
543 display: inline;
544}
545
546p.admonition-title:after {
547 content: ":";
548}
549
550div.body p.centered {
551 text-align: center;
552 margin-top: 25px;
553}
554
555table.docutils {
556 border: 0;
557}
558
559table.docutils td, table.docutils th {
560 padding: 0 8px 2px 0;
561 border-top: 0;
562 border-left: 0;
563 border-right: 0;
564 border-bottom: 1px solid #aaa;
565}
566
567table.field-list td, table.field-list th {
568 border: 0 !important;
569}
570
571table.footnote td, table.footnote th {
572 border: 0 !important;
573}
574
575dl {
576 margin-bottom: 15px;
577 clear: both;
578}
579
580dd p {
581 margin-top: 0px;
582}
583
584dd ul, dd table {
585 margin-bottom: 10px;
586}
587
588dd {
589 margin-top: 3px;
590 margin-bottom: 10px;
591 margin-left: 30px;
592}
593
594dl.glossary dt {
595 font-weight: bold;
596 font-size: 1.1em;
597}
598
599.refcount {
600 color: #060;
601}
602
603th {
604 text-align: left;
605 padding-right: 5px;
606}
607
608pre {
609 font-family: monospace;
610 padding: 5px;
611 color: #00008b;
612 border-left: none;
613 border-right: none;
614}
615
616tt {
617 font-family: monospace;
618 background-color: #ecf0f3;
619 padding: 0 1px 0 1px;
620}
621
622tt.descname {
623 background-color: transparent;
624 font-weight: bold;
625 font-size: 1.2em;
626}
627
628tt.descclassname {
629 background-color: transparent;
630}
631
632tt.xref, a tt {
633 background-color: transparent;
634 font-weight: bold;
635}
636
637.footnote:target { background-color: #ffa }
638
639h1 tt, h2 tt, h3 tt, h4 tt, h5 tt, h6 tt {
640 background-color: transparent;
641}
642
643.optional {
644 font-size: 1.3em;
645}
646
647.versionmodified {
648 font-style: italic;
649}
650
651form.comment {
652 margin: 0;
653 padding: 10px 30px 10px 30px;
654 background-color: #eee;
655}
656
657form.comment h3 {
658 background-color: #326591;
659 color: white;
660 margin: -10px -30px 10px -30px;
661 padding: 5px;
662 font-size: 1.4em;
663}
664
665form.comment input,
666form.comment textarea {
667 border: 1px solid #ccc;
668 padding: 2px;
669 font-family: sans-serif;
670 font-size: 13px;
671}
672
673form.comment input[type="text"] {
674 width: 240px;
675}
676
677form.comment textarea {
678 width: 100%;
679 height: 200px;
680 margin-bottom: 10px;
681}
682
683/* :::: PRINT :::: */
684@media print {
685 div.documentwrapper {
686 width: 100%;
687 }
688
689 div.body {
690 margin: 0;
691 }
692
693 div.sphinxsidebar,
694 div.related,
695 div.footer,
696 div#comments div.new-comment-box,
697 #top-link {
698 display: none;
699 }
700}