Debian Codegraph @

sites/docs/_static/rtd.css

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 and warnings */
464 div.admonition, div.warning {
465 font-size: 0.9em;
466 margin: 2em;
467 padding: 0;
468 /*
469 border-radius: 6px;
470 -moz-border-radius: 6px;
471 -webkit-border-radius: 6px;
472 */
473 }
474 div.admonition p, div.warning p {
475 margin: 0.5em 1em 0.5em 1em;
476 padding: 0;
477 }
478 div.admonition pre, div.warning pre {
479 margin: 0.4em 1em 0.4em 1em;
480 }
481 div.admonition p.admonition-title,
482 div.warning p.admonition-title {
483 margin: 0;
484 padding: 0.1em 0 0.1em 0.5em;
485 color: white;
486 font-weight: bold;
487 font-size: 1.1em;
488 text-shadow: 0 1px rgba(0, 0, 0, 0.5);
489 }
490 div.admonition ul, div.admonition ol,
491 div.warning ul, div.warning ol {
492 margin: 0.1em 0.5em 0.5em 3em;
493 padding: 0;
494 }
495
496
497 /* Admonitions only */
498 div.admonition {
499 border: 1px solid #609060;
500 background-color: #e9ffe9;
501 }
502 div.admonition p.admonition-title {
503 background-color: #70A070;
504 border-bottom: 1px solid #609060;
505 }
506
507
508 /* Warnings only */
509 div.warning {
510 border: 1px solid #900000;
511 background-color: #ffe9e9;
512 }
513 div.warning p.admonition-title {
514 background-color: #b04040;
515 border-bottom: 1px solid #900000;
516 }
517
518
519
520 div.versioninfo {
521 margin: 1em 0 0 0;
522 border: 1px solid #ccc;
523 background-color: #DDEAF0;
524 padding: 8px;
525 line-height: 1.3em;
526 font-size: 0.9em;
527 }
528
529 .viewcode-back {
530 font-family: 'Lucida Grande', 'Lucida Sans Unicode', 'Geneva',
531 'Verdana', sans-serif;
532 }
533
534 div.viewcode-block:target {
535 background-color: #f4debf;
536 border-top: 1px solid #ac9;
537 border-bottom: 1px solid #ac9;
538 }
539
540 dl {
541 margin: 1em 0 2.5em 0;
542 }
543
544 /* Highlight target when you click an internal link */
545 dt:target {
546 background: #ffe080;
547 }
548 /* Don't highlight whole divs */
549 div.highlight {
550 background: transparent;
551 }
552 /* But do highlight spans (so search results can be highlighted) */
553 span.highlight {
554 background: #ffe080;
555 }
556
557 div.footer {
558 background-color: #465158;
559 color: #eeeeee;
560 padding: 0 2em 2em 2em;
561 clear: both;
562 font-size: 0.8em;
563 text-align: center;
564 }
565
566 p {
567 margin: 0.8em 0 0.5em 0;
568 }
569
570 .section p img {
571 margin: 1em 2em;
572 }
573
574
575 /* MOBILE LAYOUT -------------------------------------------------------------- */
576
577 @media screen and (max-width: 600px) {
578
579 h1, h2, h3, h4, h5 {
580 position: relative;
581 }
582
583 ul {
584 padding-left: 1.75em;
585 }
586
587 div.bodywrapper a.headerlink, #indices-and-tables h1 a {
588 color: #e6e6e6;
589 font-size: 80%;
590 float: right;
591 line-height: 1.8;
592 position: absolute;
593 right: -0.7em;
594 visibility: inherit;
595 }
596
597 div.bodywrapper h1 a.headerlink, #indices-and-tables h1 a {
598 line-height: 1.5;
599 }
600
601 pre {
602 font-size: 0.7em;
603 overflow: auto;
604 word-wrap: break-word;
605 white-space: pre-wrap;
606 }
607
608 div.related ul {
609 height: 2.5em;
610 padding: 0;
611 text-align: left;
612 }
613
614 div.related ul li {
615 clear: both;
616 color: #465158;
617 padding: 0.2em 0;
618 }
619
620 div.related ul li:last-child {
621 border-bottom: 1px dotted #8ca1af;
622 padding-bottom: 0.4em;
623 margin-bottom: 1em;
624 width: 100%;
625 }
626
627 div.related ul li a {
628 color: #465158;
629 padding-right: 0;
630 }
631
632 div.related ul li a:hover {
633 background: inherit;
634 color: inherit;
635 }
636
637 div.related ul li.right {
638 clear: none;
639 padding: 0.65em 0;
640 margin-bottom: 0.5em;
641 }
642
643 div.related ul li.right a {
644 color: #fff;
645 padding-right: 0.8em;
646 }
647
648 div.related ul li.right a:hover {
649 background-color: #8ca1af;
650 }
651
652 div.body {
653 clear: both;
654 min-width: 0;
655 word-wrap: break-word;
656 }
657
658 div.bodywrapper {
659 margin: 0 0 0 0;
660 }
661
662 div.sphinxsidebar {
663 float: none;
664 margin: 0;
665 width: auto;
666 }
667
668 div.sphinxsidebar input[type="text"] {
669 height: 2em;
670 line-height: 2em;
671 width: 70%;
672 }
673
674 div.sphinxsidebar input[type="submit"] {
675 height: 2em;
676 margin-left: 0.5em;
677 width: 20%;
678 }
679
680 div.sphinxsidebar p.searchtip {
681 background: inherit;
682 margin-bottom: 1em;
683 }
684
685 div.sphinxsidebar ul li, div.sphinxsidebar p.topless {
686 white-space: normal;
687 }
688
689 .bodywrapper img {
690 display: block;
691 margin-left: auto;
692 margin-right: auto;
693 max-width: 100%;
694 }
695
696 div.documentwrapper {
697 float: none;
698 }
699
700 div.admonition, div.warning, pre, blockquote {
701 margin-left: 0em;
702 margin-right: 0em;
703 }
704
705 .body p img {
706 margin: 0;
707 }
708
709 #searchbox {
710 background: transparent;
711 }
712
713 .related:not(:first-child) li {
714 display: none;
715 }
716
717 .related:not(:first-child) li.right {
718 display: block;
719 }
720
721 div.footer {
722 padding: 1em;
723 }
724
725 .rtd_doc_footer .badge {
726 float: none;
727 margin: 1em auto;
728 position: static;
729 }
730
731 .rtd_doc_footer .badge.revsys-inline {
732 margin-right: auto;
733 margin-bottom: 2em;
734 }
735
736 table.indextable {
737 display: block;
738 width: auto;
739 }
740
741 .indextable tr {
742 display: block;
743 }
744
745 .indextable td {
746 display: block;
747 padding: 0;
748 width: auto !important;
749 }
750
751 .indextable td dt {
752 margin: 1em 0;
753 }
754
755 ul.search {
756 margin-left: 0.25em;
757 }
758
759 ul.search li div.context {
760 font-size: 90%;
761 line-height: 1.1;
762 margin-bottom: 1;
763 margin-left: 0;
764 }
765
766 }