Debian Codegraph @

docs/themes/rtd/static/rtd.css_t

raw
1 /*
2 * rtd.css
3 * ~~~~~~~~~~~~~~~
4 *
5 * Sphinx stylesheet -- sphinxdoc theme. Originally created by
6 * Armin Ronacher for Werkzeug.
7 *
8 * Customized for ReadTheDocs by Eric Pierce & Eric Holscher
9 *
10 * :copyright: Copyright 2007-2010 by the Sphinx team, see AUTHORS.
11 * :license: BSD, see LICENSE for details.
12 *
13 */
14
15 /* RTD colors
16 * light blue: #e8ecef
17 * medium blue: #8ca1af
18 * dark blue: #465158
19 * dark grey: #444444
20 *
21 * white hover: #d1d9df;
22 * medium blue hover: #697983;
23 * green highlight: #8ecc4c
24 * light blue (project bar): #e8ecef
25 */
26
27 @import url("basic.css");
28
29 /* PAGE LAYOUT -------------------------------------------------------------- */
30
31 body {
32 font: 100%/1.5 "ff-meta-web-pro-1","ff-meta-web-pro-2",Arial,"Helvetica Neue",sans-serif;
33 text-align: center;
34 color: black;
35 background-color: #465158;
36 padding: 0;
37 margin: 0;
38 }
39
40 div.document {
41 text-align: left;
42 background-color: #e8ecef;
43 }
44
45 div.bodywrapper {
46 background-color: #ffffff;
47 border-left: 1px solid #ccc;
48 border-bottom: 1px solid #ccc;
49 margin: 0 0 0 16em;
50 }
51
52 div.body {
53 margin: 0;
54 padding: 0.5em 1.3em;
55 max-width: 55em;
56 min-width: 20em;
57 }
58
59 div.related {
60 font-size: 1em;
61 background-color: #465158;
62 }
63
64 div.documentwrapper {
65 float: left;
66 width: 100%;
67 background-color: #e8ecef;
68 }
69
70
71 /* HEADINGS --------------------------------------------------------------- */
72
73 h1 {
74 margin: 0;
75 padding: 0.7em 0 0.3em 0;
76 font-size: 1.5em;
77 line-height: 1.15;
78 color: #111;
79 clear: both;
80 }
81
82 h2 {
83 margin: 2em 0 0.2em 0;
84 font-size: 1.35em;
85 padding: 0;
86 color: #465158;
87 }
88
89 h3 {
90 margin: 1em 0 -0.3em 0;
91 font-size: 1.2em;
92 color: #6c818f;
93 }
94
95 div.body h1 a, div.body h2 a, div.body h3 a, div.body h4 a, div.body h5 a, div.body h6 a {
96 color: black;
97 }
98
99 h1 a.anchor, h2 a.anchor, h3 a.anchor, h4 a.anchor, h5 a.anchor, h6 a.anchor {
100 display: none;
101 margin: 0 0 0 0.3em;
102 padding: 0 0.2em 0 0.2em;
103 color: #aaa !important;
104 }
105
106 h1:hover a.anchor, h2:hover a.anchor, h3:hover a.anchor, h4:hover a.anchor,
107 h5:hover a.anchor, h6:hover a.anchor {
108 display: inline;
109 }
110
111 h1 a.anchor:hover, h2 a.anchor:hover, h3 a.anchor:hover, h4 a.anchor:hover,
112 h5 a.anchor:hover, h6 a.anchor:hover {
113 color: #777;
114 background-color: #eee;
115 }
116
117
118 /* LINKS ------------------------------------------------------------------ */
119
120 /* Normal links get a pseudo-underline */
121 a {
122 color: #444;
123 text-decoration: none;
124 border-bottom: 1px solid #ccc;
125 }
126
127 /* Links in sidebar, TOC, index trees and tables have no underline */
128 .sphinxsidebar a,
129 .toctree-wrapper a,
130 .indextable a,
131 #indices-and-tables a {
132 color: #444;
133 text-decoration: none;
134 border-bottom: none;
135 }
136
137 /* Most links get an underline-effect when hovered */
138 a:hover,
139 div.toctree-wrapper a:hover,
140 .indextable a:hover,
141 #indices-and-tables a:hover {
142 color: #111;
143 text-decoration: none;
144 border-bottom: 1px solid #111;
145 }
146
147 /* Footer links */
148 div.footer a {
149 color: #86989B;
150 text-decoration: none;
151 border: none;
152 }
153 div.footer a:hover {
154 color: #a6b8bb;
155 text-decoration: underline;
156 border: none;
157 }
158
159 /* Permalink anchor (subtle grey with a red hover) */
160 div.body a.headerlink {
161 color: #ccc;
162 font-size: 1em;
163 margin-left: 6px;
164 padding: 0 4px 0 4px;
165 text-decoration: none;
166 border: none;
167 }
168 div.body a.headerlink:hover {
169 color: #c60f0f;
170 border: none;
171 }
172
173
174 /* NAVIGATION BAR --------------------------------------------------------- */
175
176 div.related ul {
177 height: 2.5em;
178 }
179
180 div.related ul li {
181 margin: 0;
182 padding: 0.65em 0;
183 float: left;
184 display: block;
185 color: white; /* For the >> separators */
186 font-size: 0.8em;
187 }
188
189 div.related ul li.right {
190 float: right;
191 margin-right: 5px;
192 color: transparent; /* Hide the | separators */
193 }
194
195 /* "Breadcrumb" links in nav bar */
196 div.related ul li a {
197 order: none;
198 background-color: inherit;
199 font-weight: bold;
200 margin: 6px 0 6px 4px;
201 line-height: 1.75em;
202 color: #ffffff;
203 padding: 0.4em 0.8em;
204 border: none;
205 border-radius: 3px;
206 }
207 /* previous / next / modules / index links look more like buttons */
208 div.related ul li.right a {
209 margin: 0.375em 0;
210 background-color: #697983;
211 text-shadow: 0 1px rgba(0, 0, 0, 0.5);
212 border-radius: 3px;
213 -webkit-border-radius: 3px;
214 -moz-border-radius: 3px;
215 }
216 /* All navbar links light up as buttons when hovered */
217 div.related ul li a:hover {
218 background-color: #8ca1af;
219 color: #ffffff;
220 text-decoration: none;
221 border-radius: 3px;
222 -webkit-border-radius: 3px;
223 -moz-border-radius: 3px;
224 }
225 /* Take extra precautions for tt within links */
226 a tt,
227 div.related ul li a tt {
228 background: inherit !important;
229 color: inherit !important;
230 }
231
232
233 /* SIDEBAR ---------------------------------------------------------------- */
234
235 div.sphinxsidebarwrapper {
236 padding: 0;
237 }
238
239 div.sphinxsidebar {
240 margin: 0;
241 margin-left: -100%;
242 float: left;
243 top: 3em;
244 left: 0;
245 padding: 0 1em;
246 width: 14em;
247 font-size: 1em;
248 text-align: left;
249 background-color: #e8ecef;
250 }
251
252 div.sphinxsidebar img {
253 max-width: 12em;
254 }
255
256 div.sphinxsidebar h3, div.sphinxsidebar h4 {
257 margin: 1.2em 0 0.3em 0;
258 font-size: 1em;
259 padding: 0;
260 color: #222222;
261 font-family: "ff-meta-web-pro-1", "ff-meta-web-pro-2", "Arial", "Helvetica Neue", sans-serif;
262 }
263
264 div.sphinxsidebar h3 a {
265 color: #444444;
266 }
267
268 div.sphinxsidebar ul,
269 div.sphinxsidebar p {
270 margin-top: 0;
271 padding-left: 0;
272 line-height: 130%;
273 background-color: #e8ecef;
274 }
275
276 /* No bullets for nested lists, but a little extra indentation */
277 div.sphinxsidebar ul ul {
278 list-style-type: none;
279 margin-left: 1.5em;
280 padding: 0;
281 }
282
283 /* A little top/bottom padding to prevent adjacent links' borders
284 * from overlapping each other */
285 div.sphinxsidebar ul li {
286 padding: 1px 0;
287 }
288
289 /* A little left-padding to make these align with the ULs */
290 div.sphinxsidebar p.topless {
291 padding-left: 0 0 0 1em;
292 }
293
294 /* Make these into hidden one-liners */
295 div.sphinxsidebar ul li,
296 div.sphinxsidebar p.topless {
297 white-space: nowrap;
298 overflow: hidden;
299 }
300 /* ...which become visible when hovered */
301 div.sphinxsidebar ul li:hover,
302 div.sphinxsidebar p.topless:hover {
303 overflow: visible;
304 }
305
306 /* Search text box and "Go" button */
307 #searchbox {
308 margin-top: 2em;
309 margin-bottom: 1em;
310 background: #ddd;
311 padding: 0.5em;
312 border-radius: 6px;
313 -moz-border-radius: 6px;
314 -webkit-border-radius: 6px;
315 }
316 #searchbox h3 {
317 margin-top: 0;
318 }
319
320 /* Make search box and button abut and have a border */
321 input,
322 div.sphinxsidebar input {
323 border: 1px solid #999;
324 float: left;
325 }
326
327 /* Search textbox */
328 input[type="text"] {
329 margin: 0;
330 padding: 0 3px;
331 height: 20px;
332 width: 144px;
333 border-top-left-radius: 3px;
334 border-bottom-left-radius: 3px;
335 -moz-border-radius-topleft: 3px;
336 -moz-border-radius-bottomleft: 3px;
337 -webkit-border-top-left-radius: 3px;
338 -webkit-border-bottom-left-radius: 3px;
339 }
340 /* Search button */
341 input[type="submit"] {
342 margin: 0 0 0 -1px; /* -1px prevents a double-border with textbox */
343 height: 22px;
344 color: #444;
345 background-color: #e8ecef;
346 padding: 1px 4px;
347 font-weight: bold;
348 border-top-right-radius: 3px;
349 border-bottom-right-radius: 3px;
350 -moz-border-radius-topright: 3px;
351 -moz-border-radius-bottomright: 3px;
352 -webkit-border-top-right-radius: 3px;
353 -webkit-border-bottom-right-radius: 3px;
354 }
355 input[type="submit"]:hover {
356 color: #ffffff;
357 background-color: #8ecc4c;
358 }
359
360 div.sphinxsidebar p.searchtip {
361 clear: both;
362 padding: 0.5em 0 0 0;
363 background: #ddd;
364 color: #666;
365 font-size: 0.9em;
366 }
367
368 /* Sidebar links are unusual */
369 div.sphinxsidebar li a,
370 div.sphinxsidebar p a {
371 background: #e8ecef; /* In case links overlap main content */
372 border-radius: 3px;
373 -moz-border-radius: 3px;
374 -webkit-border-radius: 3px;
375 border: 1px solid transparent; /* To prevent things jumping around on hover */
376 padding: 0 5px 0 5px;
377 }
378 div.sphinxsidebar li a:hover,
379 div.sphinxsidebar p a:hover {
380 color: #111;
381 text-decoration: none;
382 border: 1px solid #888;
383 }
384
385 /* Tweak any link appearing in a heading */
386 div.sphinxsidebar h3 a {
387 }
388
389
390
391
392 /* OTHER STUFF ------------------------------------------------------------ */
393
394 cite, code, tt {
395 font-family: 'Consolas', 'Deja Vu Sans Mono',
396 'Bitstream Vera Sans Mono', monospace;
397 font-size: 0.95em;
398 letter-spacing: 0.01em;
399 }
400
401 tt {
402 background-color: #f2f2f2;
403 color: #444;
404 }
405
406 tt.descname, tt.descclassname, tt.xref {
407 border: 0;
408 }
409
410 hr {
411 border: 1px solid #abc;
412 margin: 2em;
413 }
414
415 pre, #_fontwidthtest {
416 font-family: 'Consolas', 'Deja Vu Sans Mono',
417 'Bitstream Vera Sans Mono', monospace;
418 margin: 1em 2em;
419 font-size: 0.95em;
420 letter-spacing: 0.015em;
421 line-height: 120%;
422 padding: 0.5em;
423 border: 1px solid #ccc;
424 background-color: #eee;
425 border-radius: 6px;
426 -moz-border-radius: 6px;
427 -webkit-border-radius: 6px;
428 }
429
430 pre a {
431 color: inherit;
432 text-decoration: underline;
433 }
434
435 td.linenos pre {
436 padding: 0.5em 0;
437 }
438
439 div.quotebar {
440 background-color: #f8f8f8;
441 max-width: 250px;
442 float: right;
443 padding: 2px 7px;
444 border: 1px solid #ccc;
445 }
446
447 div.topic {
448 background-color: #f8f8f8;
449 }
450
451 table {
452 border-collapse: collapse;
453 margin: 0 -0.5em 0 -0.5em;
454 }
455
456 table td, table th {
457 padding: 0.2em 0.5em 0.2em 0.5em;
458 }
459
460
461 /* ADMONITIONS AND WARNINGS ------------------------------------------------- */
462
463 /* Shared by admonitions, warnings and sidebars */
464 div.admonition,
465 div.warning,
466 div.sidebar {
467 font-size: 0.9em;
468 margin: 2em;
469 padding: 0;
470 /*
471 border-radius: 6px;
472 -moz-border-radius: 6px;
473 -webkit-border-radius: 6px;
474 */
475 }
476 div.admonition p,
477 div.warning p,
478 div.sidebar p {
479 margin: 0.5em 1em 0.5em 1em;
480 padding: 0;
481 }
482 div.admonition pre,
483 div.warning pre,
484 div.sidebar pre {
485 margin: 0.4em 1em 0.4em 1em;
486 }
487 div.admonition p.admonition-title,
488 div.warning p.admonition-title,
489 div.sidebar p.sidebar-title {
490 margin: 0;
491 padding: 0.1em 0 0.1em 0.5em;
492 color: white;
493 font-weight: bold;
494 font-size: 1.1em;
495 text-shadow: 0 1px rgba(0, 0, 0, 0.5);
496 }
497 div.admonition ul, div.admonition ol,
498 div.warning ul, div.warning ol,
499 div.sidebar ul, div.sidebar ol {
500 margin: 0.1em 0.5em 0.5em 3em;
501 padding: 0;
502 }
503
504
505 /* Admonitions and sidebars only */
506 div.admonition, div.sidebar {
507 border: 1px solid #609060;
508 background-color: #e9ffe9;
509 }
510 div.admonition p.admonition-title,
511 div.sidebar p.sidebar-title {
512 background-color: #70A070;
513 border-bottom: 1px solid #609060;
514 }
515
516
517 /* Warnings only */
518 div.warning {
519 border: 1px solid #900000;
520 background-color: #ffe9e9;
521 }
522 div.warning p.admonition-title {
523 background-color: #b04040;
524 border-bottom: 1px solid #900000;
525 }
526
527
528
529
530
531 /* Sidebars only */
532 div.sidebar {
533 max-width: 200px;
534 }
535
536
537
538 div.versioninfo {
539 margin: 1em 0 0 0;
540 border: 1px solid #ccc;
541 background-color: #DDEAF0;
542 padding: 8px;
543 line-height: 1.3em;
544 font-size: 0.9em;
545 }
546
547 .viewcode-back {
548 font-family: 'Lucida Grande', 'Lucida Sans Unicode', 'Geneva',
549 'Verdana', sans-serif;
550 }
551
552 div.viewcode-block:target {
553 background-color: #f4debf;
554 border-top: 1px solid #ac9;
555 border-bottom: 1px solid #ac9;
556 }
557
558 dl {
559 margin: 1em 0 2.5em 0;
560 }
561
562 /* Highlight target when you click an internal link */
563 dt:target {
564 background: #ffe080;
565 }
566 /* Don't highlight whole divs */
567 div.highlight {
568 background: transparent;
569 }
570 /* But do highlight spans (so search results can be highlighted) */
571 span.highlight {
572 background: #ffe080;
573 }
574
575 div.footer {
576 background-color: #465158;
577 color: #eeeeee;
578 padding: 0 2em 2em 2em;
579 clear: both;
580 font-size: 0.8em;
581 text-align: center;
582 }
583
584 p {
585 margin: 0.8em 0 0.5em 0;
586 }
587
588 .section p img {
589 margin: 1em 2em;
590 }
591
592
593 /* MOBILE LAYOUT -------------------------------------------------------------- */
594
595 @media screen and (max-width: 600px) {
596
597 h1, h2, h3, h4, h5 {
598 position: relative;
599 }
600
601 ul {
602 padding-left: 1.25em;
603 }
604
605 div.bodywrapper a.headerlink, #indices-and-tables h1 a {
606 color: #e6e6e6;
607 font-size: 80%;
608 float: right;
609 line-height: 1.8;
610 position: absolute;
611 right: -0.7em;
612 visibility: inherit;
613 }
614
615 div.bodywrapper h1 a.headerlink, #indices-and-tables h1 a {
616 line-height: 1.5;
617 }
618
619 pre {
620 font-size: 0.7em;
621 overflow: auto;
622 word-wrap: break-word;
623 white-space: pre-wrap;
624 }
625
626 div.related ul {
627 height: 2.5em;
628 padding: 0;
629 text-align: left;
630 }
631
632 div.related ul li {
633 clear: both;
634 color: #465158;
635 padding: 0.2em 0;
636 }
637
638 div.related ul li:last-child {
639 border-bottom: 1px dotted #8ca1af;
640 padding-bottom: 0.4em;
641 margin-bottom: 1em;
642 width: 100%;
643 }
644
645 div.related ul li a {
646 color: #465158;
647 padding-right: 0;
648 }
649
650 div.related ul li a:hover {
651 background: inherit;
652 color: inherit;
653 }
654
655 div.related ul li.right {
656 clear: none;
657 padding: 0.65em 0;
658 margin-bottom: 0.5em;
659 }
660
661 div.related ul li.right a {
662 color: #fff;
663 padding-right: 0.8em;
664 }
665
666 div.related ul li.right a:hover {
667 background-color: #8ca1af;
668 }
669
670 div.body {
671 clear: both;
672 min-width: 0;
673 word-wrap: break-word;
674 }
675
676 div.bodywrapper {
677 margin: 0 0 0 0;
678 }
679
680 div.sphinxsidebar {
681 float: none;
682 margin: 0;
683 width: auto;
684 }
685
686 div.sphinxsidebar input[type="text"] {
687 height: 2em;
688 line-height: 2em;
689 width: 70%;
690 }
691
692 div.sphinxsidebar input[type="submit"] {
693 height: 2em;
694 margin-left: 0.5em;
695 width: 20%;
696 }
697
698 div.sphinxsidebar p.searchtip {
699 background: inherit;
700 margin-bottom: 1em;
701 }
702
703 div.sphinxsidebar ul li, div.sphinxsidebar p.topless {
704 white-space: normal;
705 }
706
707 .bodywrapper img {
708 display: block;
709 margin-left: auto;
710 margin-right: auto;
711 max-width: 100%;
712 }
713
714 div.documentwrapper {
715 float: none;
716 }
717
718 div.admonition, div.warning, pre, blockquote {
719 margin-left: 0em;
720 margin-right: 0em;
721 }
722
723 .body p img {
724 margin: 0;
725 }
726
727 #searchbox {
728 background: transparent;
729 }
730
731 .related:not(:first-child) li {
732 display: none;
733 }
734
735 .related:not(:first-child) li.right {
736 display: block;
737 }
738
739 div.footer {
740 padding: 1em;
741 }
742
743 .rtd_doc_footer .badge {
744 float: none;
745 margin: 1em auto;
746 position: static;
747 }
748
749 .rtd_doc_footer .badge.revsys-inline {
750 margin-right: auto;
751 margin-bottom: 2em;
752 }
753
754 table.indextable {
755 display: block;
756 width: auto;
757 }
758
759 .indextable tr {
760 display: block;
761 }
762
763 .indextable td {
764 display: block;
765 padding: 0;
766 width: auto !important;
767 }
768
769 .indextable td dt {
770 margin: 1em 0;
771 }
772
773 ul.search {
774 margin-left: 0.25em;
775 }
776
777 ul.search li div.context {
778 font-size: 90%;
779 line-height: 1.1;
780 margin-bottom: 1;
781 margin-left: 0;
782 }
783
784 }
785
786 /* Links in sidebar, TOC, index trees and tables have no underline */
787 .sphinxsidebar a,
788 .toctree-wrapper a,
789 .indextable a,
790 #indices-and-tables a {
791 color: {{ theme_dark_gray }};
792 text-decoration: none;
793 border-bottom: none;
794 }
795
796 /* Most links get an underline-effect when hovered */
797 a:hover,
798 div.toctree-wrapper a:hover,
799 .indextable a:hover,
800 #indices-and-tables a:hover {
801 color: {{ theme_black }};
802 text-decoration: none;
803 border-bottom: 1px solid {{ theme_black }};
804 }
805
806 /* Footer links */
807 div.footer a {
808 color: {{ theme_background_text_link }};
809 text-decoration: none;
810 border: none;
811 }
812 div.footer a:hover {
813 color: {{ theme_medium_color_link_hover }};
814 text-decoration: underline;
815 border: none;
816 }
817
818 /* Permalink anchor (subtle grey with a red hover) */
819 div.body a.headerlink {
820 color: {{ theme_lighter_gray }};
821 font-size: 1em;
822 margin-left: 6px;
823 padding: 0 4px 0 4px;
824 text-decoration: none;
825 border: none;
826 }
827 div.body a.headerlink:hover {
828 color: {{ theme_negative_text }};
829 border: none;
830 }
831
832
833 /* NAVIGATION BAR --------------------------------------------------------- */
834
835 div.related ul {
836 height: 2.5em;
837 }
838
839 div.related ul li {
840 margin: 0;
841 padding: 0.65em 0;
842 float: left;
843 display: block;
844 color: {{ theme_background_link_half }}; /* For the >> separators */
845 font-size: 0.8em;
846 }
847
848 div.related ul li.right {
849 float: right;
850 margin-right: 5px;
851 color: transparent; /* Hide the | separators */
852 }
853
854 /* "Breadcrumb" links in nav bar */
855 div.related ul li a {
856 order: none;
857 background-color: inherit;
858 font-weight: bold;
859 margin: 6px 0 6px 4px;
860 line-height: 1.75em;
861 color: {{ theme_background_link }};
862 text-shadow: 0 1px rgba(0, 0, 0, 0.5);
863 padding: 0.4em 0.8em;
864 border: none;
865 border-radius: 3px;
866 }
867 /* previous / next / modules / index links look more like buttons */
868 div.related ul li.right a {
869 margin: 0.375em 0;
870 background-color: {{ theme_medium_color_hover }};
871 text-shadow: 0 1px rgba(0, 0, 0, 0.5);
872 border-radius: 3px;
873 -webkit-border-radius: 3px;
874 -moz-border-radius: 3px;
875 }
876 /* All navbar links light up as buttons when hovered */
877 div.related ul li a:hover {
878 background-color: {{ theme_medium_color }};
879 color: {{ theme_white }};
880 text-decoration: none;
881 border-radius: 3px;
882 -webkit-border-radius: 3px;
883 -moz-border-radius: 3px;
884 }
885 /* Take extra precautions for tt within links */
886 a tt,
887 div.related ul li a tt {
888 background: inherit !important;
889 color: inherit !important;
890 }
891
892
893 /* SIDEBAR ---------------------------------------------------------------- */
894
895 div.sphinxsidebarwrapper {
896 padding: 0;
897 }
898
899 div.sphinxsidebar {
900 margin: 0;
901 margin-left: -100%;
902 float: left;
903 top: 3em;
904 left: 0;
905 padding: 0 1em;
906 width: 14em;
907 font-size: 1em;
908 text-align: left;
909 background-color: {{ theme_light_color }};
910 }
911
912 div.sphinxsidebar img {
913 max-width: 12em;
914 }
915
916 div.sphinxsidebar h3, div.sphinxsidebar h4 {
917 margin: 1.2em 0 0.3em 0;
918 font-size: 1em;
919 padding: 0;
920 color: {{ theme_gray_2 }};
921 font-family: "ff-meta-web-pro-1", "ff-meta-web-pro-2", "Arial", "Helvetica Neue", sans-serif;
922 }
923
924 div.sphinxsidebar h3 a {
925 color: {{ theme_grey_color }};
926 }
927
928 div.sphinxsidebar ul,
929 div.sphinxsidebar p {
930 margin-top: 0;
931 padding-left: 0;
932 line-height: 130%;
933 background-color: {{ theme_light_color }};
934 }
935
936 /* No bullets for nested lists, but a little extra indentation */
937 div.sphinxsidebar ul ul {
938 list-style-type: none;
939 margin-left: 1.5em;
940 padding: 0;
941 }
942
943 /* A little top/bottom padding to prevent adjacent links' borders
944 * from overlapping each other */
945 div.sphinxsidebar ul li {
946 padding: 1px 0;
947 }
948
949 /* A little left-padding to make these align with the ULs */
950 div.sphinxsidebar p.topless {
951 padding-left: 0 0 0 1em;
952 }
953
954 /* Make these into hidden one-liners */
955 div.sphinxsidebar ul li,
956 div.sphinxsidebar p.topless {
957 white-space: nowrap;
958 overflow: hidden;
959 }
960 /* ...which become visible when hovered */
961 div.sphinxsidebar ul li:hover,
962 div.sphinxsidebar p.topless:hover {
963 overflow: visible;
964 }
965
966 /* Search text box and "Go" button */
967 #searchbox {
968 margin-top: 2em;
969 margin-bottom: 1em;
970 background: {{ theme_dirtier_white }};
971 padding: 0.5em;
972 border-radius: 6px;
973 -moz-border-radius: 6px;
974 -webkit-border-radius: 6px;
975 }
976 #searchbox h3 {
977 margin-top: 0;
978 }
979
980 /* Make search box and button abut and have a border */
981 input,
982 div.sphinxsidebar input {
983 border: 1px solid {{ theme_gray_9 }};
984 float: left;
985 }
986
987 /* Search textbox */
988 input[type="text"] {
989 margin: 0;
990 padding: 0 3px;
991 height: 20px;
992 width: 144px;
993 border-top-left-radius: 3px;
994 border-bottom-left-radius: 3px;
995 -moz-border-radius-topleft: 3px;
996 -moz-border-radius-bottomleft: 3px;
997 -webkit-border-top-left-radius: 3px;
998 -webkit-border-bottom-left-radius: 3px;
999 }
1000 /* Search button */
1001 input[type="submit"] {
1002 margin: 0 0 0 -1px; /* -1px prevents a double-border with textbox */
1003 height: 22px;
1004 color: {{ theme_dark_gray }};
1005 background-color: {{ theme_light_color }};
1006 padding: 1px 4px;
1007 font-weight: bold;
1008 border-top-right-radius: 3px;
1009 border-bottom-right-radius: 3px;
1010 -moz-border-radius-topright: 3px;
1011 -moz-border-radius-bottomright: 3px;
1012 -webkit-border-top-right-radius: 3px;
1013 -webkit-border-bottom-right-radius: 3px;
1014 }
1015 input[type="submit"]:hover {
1016 color: {{ theme_white }};
1017 background-color: {{ theme_green_highlight }};
1018 }
1019
1020 div.sphinxsidebar p.searchtip {
1021 clear: both;
1022 padding: 0.5em 0 0 0;
1023 background: {{ theme_dirtier_white }};
1024 color: {{ theme_gray }};
1025 font-size: 0.9em;
1026 }
1027
1028 /* Sidebar links are unusual */
1029 div.sphinxsidebar li a,
1030 div.sphinxsidebar p a {
1031 background: {{ theme_light_color }}; /* In case links overlap main content */
1032 border-radius: 3px;
1033 -moz-border-radius: 3px;
1034 -webkit-border-radius: 3px;
1035 border: 1px solid transparent; /* To prevent things jumping around on hover */
1036 padding: 0 5px 0 5px;
1037 }
1038 div.sphinxsidebar li a:hover,
1039 div.sphinxsidebar p a:hover {
1040 color: {{ theme_black }};
1041 text-decoration: none;
1042 border: 1px solid {{ theme_light_gray }};
1043 }
1044
1045 /* Tweak any link appearing in a heading */
1046 div.sphinxsidebar h3 a {
1047 }
1048
1049
1050
1051
1052 /* OTHER STUFF ------------------------------------------------------------ */
1053
1054 cite, code, tt {
1055 font-family: 'Consolas', 'Deja Vu Sans Mono',
1056 'Bitstream Vera Sans Mono', monospace;
1057 font-size: 0.95em;
1058 letter-spacing: 0.01em;
1059 }
1060
1061 tt {
1062 background-color: {{ theme_code_background }};
1063 color: {{ theme_dark_gray }};
1064 }
1065
1066 tt.descname, tt.descclassname, tt.xref {
1067 border: 0;
1068 }
1069
1070 hr {
1071 border: 1px solid {{ theme_ruler }};
1072 margin: 2em;
1073 }
1074
1075 pre, #_fontwidthtest {
1076 font-family: 'Consolas', 'Deja Vu Sans Mono',
1077 'Bitstream Vera Sans Mono', monospace;
1078 margin: 1em 2em;
1079 font-size: 0.95em;
1080 letter-spacing: 0.015em;
1081 line-height: 120%;
1082 padding: 0.5em;
1083 border: 1px solid {{ theme_lighter_gray }};
1084 background-color: {{ theme_code_background }};
1085 border-radius: 6px;
1086 -moz-border-radius: 6px;
1087 -webkit-border-radius: 6px;
1088 }
1089
1090 pre a {
1091 color: inherit;
1092 text-decoration: underline;
1093 }
1094
1095 td.linenos pre {
1096 padding: 0.5em 0;
1097 }
1098
1099 div.quotebar {
1100 background-color: {{ theme_almost_white }};
1101 max-width: 250px;
1102 float: right;
1103 padding: 2px 7px;
1104 border: 1px solid {{ theme_lighter_gray }};
1105 }
1106
1107 div.topic {
1108 background-color: {{ theme_almost_white }};
1109 }
1110
1111 table {
1112 border-collapse: collapse;
1113 margin: 0 -0.5em 0 -0.5em;
1114 }
1115
1116 table td, table th {
1117 padding: 0.2em 0.5em 0.2em 0.5em;
1118 }
1119
1120
1121 /* ADMONITIONS AND WARNINGS ------------------------------------------------- */
1122
1123 /* Shared by admonitions, warnings and sidebars */
1124 div.admonition,
1125 div.warning,
1126 div.sidebar {
1127 font-size: 0.9em;
1128 margin: 2em;
1129 padding: 0;
1130 /*
1131 border-radius: 6px;
1132 -moz-border-radius: 6px;
1133 -webkit-border-radius: 6px;
1134 */
1135 }
1136 div.admonition p,
1137 div.warning p,
1138 div.sidebar p {
1139 margin: 0.5em 1em 0.5em 1em;
1140 padding: 0;
1141 }
1142 div.admonition pre,
1143 div.warning pre,
1144 div.sidebar pre {
1145 margin: 0.4em 1em 0.4em 1em;
1146 }
1147 div.admonition p.admonition-title,
1148 div.warning p.admonition-title,
1149 div.sidebar p.sidebar-title {
1150 margin: 0;
1151 padding: 0.1em 0 0.1em 0.5em;
1152 color: white;
1153 font-weight: bold;
1154 font-size: 1.1em;
1155 text-shadow: 0 1px rgba(0, 0, 0, 0.5);
1156 }
1157 div.admonition ul, div.admonition ol,
1158 div.warning ul, div.warning ol,
1159 div.sidebar ul, div.sidebar ol {
1160 margin: 0.1em 0.5em 0.5em 3em;
1161 padding: 0;
1162 }
1163
1164
1165 /* Admonitions and sidebars only */
1166 div.admonition, div.sidebar {
1167 border: 1px solid {{ theme_positive_dark }};
1168 background-color: {{ theme_positive_light }};
1169 }
1170 div.admonition p.admonition-title,
1171 div.sidebar p.sidebar-title {
1172 background-color: {{ theme_positive_medium }};
1173 border-bottom: 1px solid {{ theme_positive_dark }};
1174 }
1175
1176
1177 /* Warnings only */
1178 div.warning {
1179 border: 1px solid {{ theme_negative_dark }};
1180 background-color: {{ theme_negative_light }};
1181 }
1182 div.warning p.admonition-title {
1183 background-color: {{ theme_negative_medium }};
1184 border-bottom: 1px solid {{ theme_negative_dark }};
1185 }
1186
1187
1188 /* Sidebars only */
1189 div.sidebar {
1190 max-width: 200px;
1191 }
1192
1193
1194
1195 div.versioninfo {
1196 margin: 1em 0 0 0;
1197 border: 1px solid {{ theme_lighter_gray }};
1198 background-color: {{ theme_light_medium_color }};
1199 padding: 8px;
1200 line-height: 1.3em;
1201 font-size: 0.9em;
1202 }
1203
1204 .viewcode-back {
1205 font-family: 'Lucida Grande', 'Lucida Sans Unicode', 'Geneva',
1206 'Verdana', sans-serif;
1207 }
1208
1209 div.viewcode-block:target {
1210 background-color: {{ theme_viewcode_bg }};
1211 border-top: 1px solid {{ theme_viewcode_border }};
1212 border-bottom: 1px solid {{ theme_viewcode_border }};
1213 }
1214
1215 dl {
1216 margin: 1em 0 2.5em 0;
1217 }
1218
1219 /* Highlight target when you click an internal link */
1220 dt:target {
1221 background: {{ theme_highlight }};
1222 }
1223 /* Don't highlight whole divs */
1224 div.highlight {
1225 background: transparent;
1226 }
1227 /* But do highlight spans (so search results can be highlighted) */
1228 span.highlight {
1229 background: {{ theme_highlight }};
1230 }
1231
1232 div.footer {
1233 background-color: {{ theme_background }};
1234 color: {{ theme_background_text }};
1235 padding: 0 2em 2em 2em;
1236 clear: both;
1237 font-size: 0.8em;
1238 text-align: center;
1239 }
1240
1241 p {
1242 margin: 0.8em 0 0.5em 0;
1243 }
1244
1245 .section p img {
1246 margin: 1em 2em;
1247 }
1248
1249
1250 /* MOBILE LAYOUT -------------------------------------------------------------- */
1251
1252 @media screen and (max-width: 600px) {
1253
1254 h1, h2, h3, h4, h5 {
1255 position: relative;
1256 }
1257
1258 ul {
1259 padding-left: 1.75em;
1260 }
1261
1262 div.bodywrapper a.headerlink, #indices-and-tables h1 a {
1263 color: {{ theme_almost_dirty_white }};
1264 font-size: 80%;
1265 float: right;
1266 line-height: 1.8;
1267 position: absolute;
1268 right: -0.7em;
1269 visibility: inherit;
1270 }
1271
1272 div.bodywrapper h1 a.headerlink, #indices-and-tables h1 a {
1273 line-height: 1.5;
1274 }
1275
1276 pre {
1277 font-size: 0.7em;
1278 overflow: auto;
1279 word-wrap: break-word;
1280 white-space: pre-wrap;
1281 }
1282
1283 div.related ul {
1284 height: 2.5em;
1285 padding: 0;
1286 text-align: left;
1287 }
1288
1289 div.related ul li {
1290 clear: both;
1291 color: {{ theme_dark_color }};
1292 padding: 0.2em 0;
1293 }
1294
1295 div.related ul li:last-child {
1296 border-bottom: 1px dotted {{ theme_medium_color }};
1297 padding-bottom: 0.4em;
1298 margin-bottom: 1em;
1299 width: 100%;
1300 }
1301
1302 div.related ul li a {
1303 color: {{ theme_dark_color }};
1304 padding-right: 0;
1305 }
1306
1307 div.related ul li a:hover {
1308 background: inherit;
1309 color: inherit;
1310 }
1311
1312 div.related ul li.right {
1313 clear: none;
1314 padding: 0.65em 0;
1315 margin-bottom: 0.5em;
1316 }
1317
1318 div.related ul li.right a {
1319 color: {{ theme_white }};
1320 padding-right: 0.8em;
1321 }
1322
1323 div.related ul li.right a:hover {
1324 background-color: {{ theme_medium_color }};
1325 }
1326
1327 div.body {
1328 clear: both;
1329 min-width: 0;
1330 word-wrap: break-word;
1331 }
1332
1333 div.bodywrapper {
1334 margin: 0 0 0 0;
1335 }
1336
1337 div.sphinxsidebar {
1338 float: none;
1339 margin: 0;
1340 width: auto;
1341 }
1342
1343 div.sphinxsidebar input[type="text"] {
1344 height: 2em;
1345 line-height: 2em;
1346 width: 70%;
1347 }
1348
1349 div.sphinxsidebar input[type="submit"] {
1350 height: 2em;
1351 margin-left: 0.5em;
1352 width: 20%;
1353 }
1354
1355 div.sphinxsidebar p.searchtip {
1356 background: inherit;
1357 margin-bottom: 1em;
1358 }
1359
1360 div.sphinxsidebar ul li, div.sphinxsidebar p.topless {
1361 white-space: normal;
1362 }
1363
1364 .bodywrapper img {
1365 display: block;
1366 margin-left: auto;
1367 margin-right: auto;
1368 max-width: 100%;
1369 }
1370
1371 div.documentwrapper {
1372 float: none;
1373 }
1374
1375 div.admonition, div.warning, pre, blockquote {
1376 margin-left: 0em;
1377 margin-right: 0em;
1378 }
1379
1380 .body p img {
1381 margin: 0;
1382 }
1383
1384 #searchbox {
1385 background: transparent;
1386 }
1387
1388 .related:not(:first-child) li {
1389 display: none;
1390 }
1391
1392 .related:not(:first-child) li.right {
1393 display: block;
1394 }
1395
1396 div.footer {
1397 padding: 1em;
1398 }
1399
1400 .rtd_doc_footer .badge {
1401 float: none;
1402 margin: 1em auto;
1403 position: static;
1404 }
1405
1406 .rtd_doc_footer .badge.revsys-inline {
1407 margin-right: auto;
1408 margin-bottom: 2em;
1409 }
1410
1411 table.indextable {
1412 display: block;
1413 width: auto;
1414 }
1415
1416 .indextable tr {
1417 display: block;
1418 }
1419
1420 .indextable td {
1421 display: block;
1422 padding: 0;
1423 width: auto !important;
1424 }
1425
1426 .indextable td dt {
1427 margin: 1em 0;
1428 }
1429
1430 ul.search {
1431 margin-left: 0.25em;
1432 }
1433
1434 ul.search li div.context {
1435 font-size: 90%;
1436 line-height: 1.1;
1437 margin-bottom: 1;
1438 margin-left: 0;
1439 }
1440
1441 }