Prepare for Github,
[pylit.git] / doc / _static / pylit-sphinx.css
blob1c603c5e4ad5e4238fcde1a8bc8e24b90fd21ea6
1 /**
2 * Sphinx Doc Design for PyLit
3 */
5 body {
6 /* font-family: sans-serif; */
7 font-size: 100%;
8 /* background-color: #11303d; */
9 /* color: #000; */
10 margin: 0;
11 padding: 0;
14 /* text area (document + sidebar) */
16 div.document {
17 /* background-color: #1c4e63; */
18 background-color: #FFBC29;
21 div.documentwrapper {
22 float: left;
23 width: 100%;
24 background-color: silver;
27 div.bodywrapper {
28 margin: 0 0 0 230px;
31 div.body {
32 background-color: white;
33 padding: 10px 20px 10px 20px;
36 div.sphinxsidebarwrapper {
37 padding: 10px 5px 0 10px;
40 div.sphinxsidebar {
41 float: left;
42 width: 230px;
43 margin-left: -100%;
44 font-size: 90%;
47 img.logo {
48 background-color: white;
49 text-align: center;
52 div.clearer {
53 clear: both;
56 /* last line with Berlios logo */
57 p.thanks {
58 text-align: right;
59 background-color: #36648b; /* SteelBlue4 */
60 /* color: #FFBC29; */
61 color: white;
62 margin: 0
65 div.footer {
66 color: #fff;
67 width: 100%;
68 padding: 9px 0 9px 0;
69 text-align: center;
70 font-size: 75%;
73 div.footer a {
74 color: #fff;
75 text-decoration: underline;
78 div.related {
79 background-color: #FFBC29;
80 color: black;
81 width: 100%;
82 height: 30px;
83 line-height: 30px;
84 font-size: 90%;
87 div.related h3 {
88 display: none;
91 div.related ul {
92 margin: 0;
93 padding: 0 0 0 10px;
94 list-style: none;
97 div.related li {
98 display: inline;
101 div.related li.right {
102 float: right;
103 margin-right: 5px;
106 div.related a {
107 /* color: black; */
108 color: #004b8a;
111 /* ::: TOC :::: */
112 div.sphinxsidebar h3 {
113 /* font-family: 'Trebuchet MS', sans-serif; */
114 color: black;
115 font-size: 1.2em;
116 font-weight: normal;
117 margin: 0;
118 padding: 0;
121 div.sphinxsidebar h4 {
122 /* font-family: 'Trebuchet MS', sans-serif; */
123 color: black;
124 font-size: 1.2em;
125 font-weight: normal;
126 /* margin: 5px 0 0 0; */
127 margin: 0;
128 padding: 0;
131 div.sphinxsidebar p {
132 color: black;
135 div.sphinxsidebar p.topless {
136 margin: 5px 10px 10px 10px;
139 div.sphinxsidebar ul {
140 margin: 10px;
141 padding: 0;
142 list-style: none;
143 /* color: white; */
146 div.sphinxsidebar ul ul,
147 div.sphinxsidebar ul.want-points {
148 margin-left: 20px;
149 list-style: square;
152 div.sphinxsidebar ul ul {
153 margin-top: 0;
154 margin-bottom: 0;
157 div.sphinxsidebar a {
158 /* color: blue; */
159 color: #004080;
162 div.sphinxsidebar form {
163 margin-top: 10px;
166 div.sphinxsidebar input {
167 border: 1px solid #98dbcc;
168 font-family: sans-serif;
169 font-size: 1em;
172 /* :::: MODULE CLOUD :::: */
173 div.modulecloud {
174 margin: -5px 10px 5px 10px;
175 padding: 10px;
176 line-height: 160%;
177 border: 1px solid #cbe7e5;
178 background-color: #f2fbfd;
181 div.modulecloud a {
182 padding: 0 5px 0 5px;
185 /* :::: SEARCH :::: */
186 ul.search {
187 margin: 10px 0 0 20px;
188 padding: 0;
191 ul.search li {
192 padding: 5px 0 5px 20px;
193 background-image: url(file.png);
194 background-repeat: no-repeat;
195 background-position: 0 7px;
198 ul.search li a {
199 font-weight: bold;
202 ul.search li div.context {
203 color: #888;
204 margin: 2px 0 0 30px;
205 text-align: left;
208 ul.keywordmatches li.goodmatch a {
209 font-weight: bold;
212 /* :::: COMMON FORM STYLES :::: */
214 div.actions {
215 padding: 5px 10px 5px 10px;
216 border-top: 1px solid #cbe7e5;
217 border-bottom: 1px solid #cbe7e5;
218 background-color: #e0f6f4;
221 form dl {
222 color: #333;
225 form dt {
226 clear: both;
227 float: left;
228 min-width: 110px;
229 margin-right: 10px;
230 padding-top: 2px;
233 input#homepage {
234 display: none;
237 div.error {
238 margin: 5px 20px 0 0;
239 padding: 5px;
240 border: 1px solid #d00;
241 font-weight: bold;
244 /* :::: INLINE COMMENTS :::: */
246 div.inlinecomments {
247 position: absolute;
248 right: 20px;
251 div.inlinecomments a.bubble {
252 display: block;
253 float: right;
254 background-image: url(style/comment.png);
255 background-repeat: no-repeat;
256 width: 25px;
257 height: 25px;
258 text-align: center;
259 padding-top: 3px;
260 font-size: 0.9em;
261 line-height: 14px;
262 font-weight: bold;
263 color: black;
266 div.inlinecomments a.bubble span {
267 display: none;
270 div.inlinecomments a.emptybubble {
271 background-image: url(style/nocomment.png);
274 div.inlinecomments a.bubble:hover {
275 background-image: url(style/hovercomment.png);
276 text-decoration: none;
277 color: #3ca0a4;
280 div.inlinecomments div.comments {
281 float: right;
282 margin: 25px 5px 0 0;
283 max-width: 50em;
284 min-width: 30em;
285 border: 1px solid #2eabb0;
286 background-color: #f2fbfd;
287 z-index: 150;
290 div#comments {
291 border: 1px solid #2eabb0;
292 margin-top: 20px;
295 div#comments div.nocomments {
296 padding: 10px;
297 font-weight: bold;
300 div.inlinecomments div.comments h3,
301 div#comments h3 {
302 margin: 0;
303 padding: 0;
304 background-color: #2eabb0;
305 color: white;
306 border: none;
307 padding: 3px;
310 div.inlinecomments div.comments div.actions {
311 padding: 4px;
312 margin: 0;
313 border-top: none;
316 div#comments div.comment {
317 margin: 10px;
318 border: 1px solid #2eabb0;
321 div.inlinecomments div.comment h4,
322 div.commentwindow div.comment h4,
323 div#comments div.comment h4 {
324 margin: 10px 0 0 0;
325 background-color: #2eabb0;
326 color: white;
327 border: none;
328 padding: 1px 4px 1px 4px;
331 div#comments div.comment h4 {
332 margin: 0;
335 div#comments div.comment h4 a {
336 color: #d5f4f4;
339 div.inlinecomments div.comment div.text,
340 div.commentwindow div.comment div.text,
341 div#comments div.comment div.text {
342 margin: -5px 0 -5px 0;
343 padding: 0 10px 0 10px;
346 div.inlinecomments div.comment div.meta,
347 div.commentwindow div.comment div.meta,
348 div#comments div.comment div.meta {
349 text-align: right;
350 padding: 2px 10px 2px 0;
351 font-size: 95%;
352 color: #538893;
353 border-top: 1px solid #cbe7e5;
354 background-color: #e0f6f4;
357 div.commentwindow {
358 position: absolute;
359 width: 500px;
360 border: 1px solid #cbe7e5;
361 background-color: #f2fbfd;
362 display: none;
363 z-index: 130;
366 div.commentwindow h3 {
367 margin: 0;
368 background-color: #2eabb0;
369 color: white;
370 border: none;
371 padding: 5px;
372 font-size: 1.5em;
373 cursor: pointer;
376 div.commentwindow div.actions {
377 margin: 10px -10px 0 -10px;
378 padding: 4px 10px 4px 10px;
379 color: #538893;
382 div.commentwindow div.actions input {
383 border: 1px solid #2eabb0;
384 background-color: white;
385 color: #135355;
386 cursor: pointer;
389 div.commentwindow div.form {
390 padding: 0 10px 0 10px;
393 div.commentwindow div.form input,
394 div.commentwindow div.form textarea {
395 border: 1px solid #3c9ea2;
396 background-color: white;
397 color: black;
400 div.commentwindow div.error {
401 margin: 10px 5px 10px 5px;
402 background-color: #fbe5dc;
403 display: none;
406 div.commentwindow div.form textarea {
407 width: 99%;
410 div.commentwindow div.preview {
411 margin: 10px 0 10px 0;
412 background-color: #70d0d4;
413 padding: 0 1px 1px 25px;
416 div.commentwindow div.preview h4 {
417 margin: 0 0 -5px -20px;
418 padding: 4px 0 0 4px;
419 color: white;
420 font-size: 1.3em;
423 div.commentwindow div.preview div.comment {
424 background-color: #f2fbfd;
427 div.commentwindow div.preview div.comment h4 {
428 margin: 10px 0 0 0!important;
429 padding: 1px 4px 1px 4px!important;
430 font-size: 1.2em;
433 /* :::: SUGGEST CHANGES :::: */
434 div#suggest-changes-box input, div#suggest-changes-box textarea {
435 border: 1px solid #ccc;
436 background-color: white;
437 color: black;
440 div#suggest-changes-box textarea {
441 width: 99%;
442 height: 400px;
446 /* :::: PREVIEW :::: */
447 div.preview {
448 background-image: url(style/preview.png);
449 padding: 0 20px 20px 20px;
450 margin-bottom: 30px;
454 /* :::: INDEX PAGE :::: */
456 table.contentstable {
457 width: 90%;
460 table.contentstable p.biglink {
461 line-height: 150%;
464 a.biglink {
465 font-size: 1.3em;
468 span.linkdescr {
469 font-style: italic;
470 padding-top: 5px;
471 font-size: 90%;
474 /* :::: INDEX STYLES :::: */
476 table.indextable td {
477 text-align: left;
478 vertical-align: top;
481 table.indextable dl, table.indextable dd {
482 margin-top: 0;
483 margin-bottom: 0;
486 table.indextable tr.pcap {
487 height: 10px;
490 table.indextable tr.cap {
491 margin-top: 10px;
492 background-color: #f2f2f2;
495 img.toggler {
496 margin-right: 3px;
497 margin-top: 3px;
498 cursor: pointer;
501 form.pfform {
502 margin: 10px 0 20px 0;
505 /* :::: GLOBAL STYLES :::: */
507 .docwarning {
508 background-color: #ffe4e4;
509 padding: 10px;
510 margin: 0 -20px 0 -20px;
511 border-bottom: 1px solid #f66;
514 p.subhead {
515 font-weight: bold;
516 margin-top: 20px;
520 color: #002070;
521 text-decoration: none;
524 a:hover {
525 text-decoration: underline;
528 div.body h1,
529 div.body h2,
530 div.body h3,
531 div.body h4,
532 div.body h5,
533 div.body h6 {
534 /* font-family: 'Trebuchet MS', sans-serif; */
535 background-color: white;
536 font-weight: bold;
537 color: black;
538 border-bottom: 0px solid #cbe7e5;
539 /* margin: 20px -20px 10px -20px; */
540 /* padding: 3px 0 3px 10px; */
543 div.body h1 {
544 font-size: 200%;
545 margin-top: 0;
546 background-color: silver;
547 /* color: #36648b; */ /* SteelBlue4 */
549 div.body h2 { font-size: 160%; }
550 div.body h3 { font-size: 140%; }
551 div.body h4 { font-size: 120%; }
552 div.body h5 { font-size: 110%; }
553 div.body h6 { font-size: 100%; }
555 a.headerlink {
556 color: #c60f0f;
557 font-size: 0.8em;
558 padding: 0 4px 0 4px;
559 text-decoration: none;
560 visibility: hidden;
563 h1:hover > a.headerlink,
564 h2:hover > a.headerlink,
565 h3:hover > a.headerlink,
566 h4:hover > a.headerlink,
567 h5:hover > a.headerlink,
568 h6:hover > a.headerlink,
569 dt:hover > a.headerlink {
570 visibility: visible;
573 a.headerlink:hover {
574 background-color: #c60f0f;
575 color: white;
578 div.body p, div.body dd, div.body li {
579 text-align: justify;
580 line-height: 130%;
583 div.body p.caption {
584 text-align: inherit;
587 div.body td {
588 text-align: left;
591 ul.fakelist {
592 list-style: none;
593 margin: 10px 0 10px 20px;
594 padding: 0;
597 .field-list ul {
598 padding-left: 1em;
601 .first {
602 margin-top: 0 !important;
605 /* "Footnotes" heading */
606 p.rubric {
607 margin-top: 30px;
608 font-weight: bold;
611 /* "Topics" */
613 div.topic {
614 background-color: #eee;
615 border: 1px solid #ccc;
616 padding: 0 7px 0 7px;
617 margin: 10px 0 10px 0;
620 p.topic-title {
621 font-size: 1.1em;
622 font-weight: bold;
623 margin-top: 10px;
626 /* Admonitions */
628 div.admonition {
629 margin-top: 10px;
630 margin-bottom: 10px;
631 padding: 7px;
634 div.admonition dt {
635 font-weight: bold;
638 div.admonition dl {
639 margin-bottom: 0;
642 div.admonition p {
643 display: inline;
646 div.seealso {
647 background-color: #ffc;
648 border: 1px solid #ff6;
651 div.warning {
652 background-color: #ffe4e4;
653 border: 1px solid #f66;
656 div.note {
657 background-color: #eee;
658 border: 1px solid #ccc;
661 p.admonition-title {
662 margin: 0px 10px 5px 0px;
663 font-weight: bold;
664 display: inline;
667 p.admonition-title:after {
668 content: ":";
671 div.body p.centered {
672 text-align: center;
673 margin-top: 25px;
676 table.docutils {
677 border: 0;
680 table.docutils td, table.docutils th {
681 padding: 1px 8px 1px 0;
682 border-top: 0;
683 border-left: 0;
684 border-right: 0;
685 border-bottom: 1px solid #aaa;
688 table.field-list td, table.field-list th {
689 border: 0 !important;
692 table.footnote td, table.footnote th {
693 border: 0 !important;
696 .field-list ul {
697 margin: 0;
698 padding-left: 1em;
701 .field-list p {
702 margin: 0;
705 dl {
706 margin-bottom: 15px;
707 clear: both;
710 /* definition terms */
711 dt {
712 font-weight: bold;
715 dd p {
716 margin-top: 0px;
719 dd ul, dd table {
720 margin-bottom: 10px;
723 dd {
724 margin-top: 3px;
725 margin-bottom: 10px;
726 margin-left: 30px;
729 .refcount {
730 color: #060;
733 dt:target,
734 .highlight {
735 background-color: #fbe54e;
738 dl.glossary dt {
739 font-weight: bold;
740 font-size: 1.1em;
743 th {
744 text-align: left;
745 padding-right: 5px;
748 /* literal text */
750 /* override pygments background settings */
751 div.highlight {
752 background-color: inherit;
755 pre {
756 padding: 5px;
757 /* background-color: #F5F4F0; */ /* hellgrau */
758 background-color: #FEFBE0; /* hellgelb */
759 /* background-color: #ecf0f3; */
760 margin-left: 2%;
761 margin-right: 2%;
762 /* color: black; */
763 /* border: 1px solid #ac9; */
764 /* border-left: none; */
765 /* border-right: none; */
766 /* overflow: auto; */
767 /* overflow: visible; */
770 td.linenos pre {
771 padding: 5px 0px;
772 border: 0;
773 background-color: transparent;
774 color: #aaa;
777 tt.literal {
778 background-color: #FEFBE0; /* hellgelb */
779 /* background-color: #F5F5F5; /* grau */ */
780 /* background-color: inherit; */
784 table.highlighttable {
785 margin-left: 0.5em;
788 table.highlighttable td {
789 padding: 0 0.5em 0 0.5em;
792 tt {
793 background-color: #ecf0f3;
794 padding: 0 1px 0 1px;
795 font-size: 0.95em;
798 tt.descname {
799 background-color: transparent;
800 font-weight: bold;
801 font-size: 1.2em;
804 tt.descclassname {
805 background-color: transparent;
808 tt.xref, a tt {
809 background-color: transparent;
810 font-weight: bold;
813 .footnote:target { background-color: #ffa }
815 h1 tt, h2 tt, h3 tt, h4 tt, h5 tt, h6 tt {
816 background-color: transparent;
819 .optional {
820 font-size: 1.3em;
823 .versionmodified {
824 font-style: italic;
827 form.comment {
828 margin: 0;
829 padding: 10px 30px 10px 30px;
830 background-color: #eee;
833 form.comment h3 {
834 background-color: #326591;
835 color: white;
836 margin: -10px -30px 10px -30px;
837 padding: 5px;
838 font-size: 1.4em;
841 form.comment input,
842 form.comment textarea {
843 border: 1px solid #ccc;
844 padding: 2px;
845 font-family: sans-serif;
846 font-size: 100%;
849 form.comment input[type="text"] {
850 width: 240px;
853 form.comment textarea {
854 width: 100%;
855 height: 200px;
856 margin-bottom: 10px;
859 .system-message {
860 background-color: #fda;
861 padding: 5px;
862 border: 3px solid red;
865 /* :::: PRINT :::: */
866 @media print {
867 div.document,
868 div.documentwrapper,
869 div.bodywrapper {
870 margin: 0;
871 width : 100%;
874 div.sphinxsidebar,
875 div.related,
876 div.footer,
877 div#comments div.new-comment-box,
878 #top-link {
879 display: none;