Debian Codegraph @

docs/_themes/err/static/err.css_t

raw
1 /*
2 * :copyright: Copyright 2010 by Armin Ronacher.
3 * :license: Flask Design License, see LICENSE for details.
4 */
5
6 {% set page_width = '940px' %}
7 {% set sidebar_width = '220px' %}
8 {% set normal_font = "'Open Sans', sans-serif" %}
9 {% set code_font = "'Droid Sans Mono', monospace" %}
10 {% set normal_link_color = "#f07e2a" %}
11 {% set normal_link_hover_color = "#f07e2a" %}
12 {% set highlight_color = "#f07e2a" %}
13
14 /* 'Consolas', 'Menlo', 'Deja Vu Sans Mono', 'Bitstream Vera Sans Mono', monospace; */
15
16 @import url("basic.css");
17 @import url(//fonts.googleapis.com/css?family=Open+Sans|Droid+Sans+Mono);
18
19 /* -- page layout ----------------------------------------------------------- */
20
21 body {
22 font-family: {{ normal_font }};
23 font-size: 17px;
24 background-color: white;
25 color: #000;
26 margin: 0;
27 padding: 0;
28 }
29
30 div.document {
31 width: {{ page_width }};
32 margin: 30px auto 0 auto;
33 }
34
35 div.documentwrapper {
36 float: left;
37 width: 100%;
38 }
39
40 div.bodywrapper {
41 margin: 0 0 0 {{ sidebar_width }};
42 }
43
44 div.sphinxsidebar {
45 width: {{ sidebar_width }};
46 }
47
48 hr {
49 border: 1px solid #B1B4B6;
50 }
51
52 div.body {
53 background-color: #ffffff;
54 color: #3E4349;
55 padding: 0 30px 0 30px;
56 }
57
58 img.floatingflask {
59 padding: 0 0 10px 10px;
60 float: right;
61 }
62
63 div.footer {
64 width: {{ page_width }};
65 margin: 20px auto 30px auto;
66 font-size: 14px;
67 color: #888;
68 text-align: right;
69 }
70
71 div.footer a {
72 color: #888;
73 }
74
75 div.related {
76 display: none;
77 }
78
79 div.sphinxsidebar a {
80 color: #444;
81 text-decoration: none;
82 border-bottom: 1px dotted #999;
83 }
84
85 div.sphinxsidebar a:hover {
86 border-bottom: 1px solid #999;
87 }
88
89 div.sphinxsidebar {
90 font-size: 14px;
91 line-height: 1.5;
92 }
93
94 div.sphinxsidebar ul {
95 list-style: square inside none;
96 }
97
98 div.sphinxsidebarwrapper {
99 padding: 0 10px;
100 }
101
102 div.sphinxsidebarwrapper p.logo {
103 padding: 0 0 20px 0;
104 margin: 0;
105 text-align: center;
106 }
107
108 div.sphinxsidebarwrapper img.logo {
109 margin-bottom: 10px;
110 }
111
112 div.sphinxsidebar a.logo {
113 border-bottom: none;
114 }
115
116 div.sphinxsidebarwrapper .ghbuttons {
117 padding: 5px 0 10px 0;
118 margin: 0;
119 }
120
121 div.sphinxsidebar h3,
122 div.sphinxsidebar h4 {
123 font-family: {{ normal_font }};
124 color: #444;
125 font-size: 24px;
126 font-weight: normal;
127 margin: 0 0 5px 0;
128 padding: 0;
129 }
130
131 div.sphinxsidebar h4 {
132 font-size: 20px;
133 }
134
135 div.sphinxsidebar h3 a {
136 color: #444;
137 }
138
139 div.sphinxsidebar p.logo a,
140 div.sphinxsidebar h3 a,
141 div.sphinxsidebar p.logo a:hover,
142 div.sphinxsidebar h3 a:hover {
143 border: none;
144 }
145
146 div.sphinxsidebar p {
147 color: #555;
148 margin: 10px 0;
149 }
150
151 div.sphinxsidebar ul {
152 margin: 10px 0;
153 padding: 0;
154 color: #000;
155 }
156
157 div.sphinxsidebar input {
158 border: 1px solid #ccc;
159 font-family: {{ normal_font }};
160 font-size: 1em;
161 }
162
163 /* -- body styles ----------------------------------------------------------- */
164
165 a {
166 color: {{ normal_link_color }};
167 text-decoration: underline;
168 }
169
170 a:hover {
171 color: {{ normal_link_hover_color }};
172 text-decoration: underline;
173 }
174
175 div.body h1,
176 div.body h2,
177 div.body h3,
178 div.body h4,
179 div.body h5,
180 div.body h6 {
181 font-family: {{ normal_font }};
182 font-weight: normal;
183 margin: 30px 0px 10px 0px;
184 padding: 0;
185 }
186
187
188 div.body h1 { margin-top: 0; padding-top: 0; font-size: 220%; font-weight: bold; }
189 div.body h2 { font-size: 180%; font-weight: bold; }
190 div.body h3 { font-size: 150%; }
191 div.body h4 { font-size: 130%; }
192 div.body h5 { font-size: 100%; }
193 div.body h6 { font-size: 100%; }
194
195 a.headerlink {
196 color: {{ normal_link_color }};
197 padding: 0 4px;
198 text-decoration: none;
199 }
200
201 a.headerlink:hover {
202 color: {{ normal_link_color }};
203 background: #eaeaea;
204 }
205
206 div.body p, div.body dd, div.body li {
207 line-height: 1.4em;
208 }
209
210 div.admonition {
211 /*background-color: #eee;*/
212 background-color: #e0e0e0;
213 margin: 20px -30px;
214 padding: 10px 30px;
215 border: 1px solid #ccc;
216 }
217
218 div.admonition tt.xref, div.admonition a tt {
219 border-bottom: 1px solid #fafafa;
220 }
221
222 dd div.admonition {
223 margin-left: -60px;
224 padding-left: 60px;
225 }
226
227 div.admonition p.admonition-title {
228 font-family: {{ normal_font }};
229 font-weight: normal;
230 font-size: 24px;
231 margin: 0 0 10px 0;
232 padding: 0;
233 line-height: 1;
234 }
235
236 div.admonition p.last {
237 margin-bottom: 0;
238 }
239
240 div.highlight {
241 background-color: white;
242 }
243
244 dt:target, .highlight {
245 background: #FAF3E8;
246 }
247
248 div.note {
249 background-color: #eee;
250 border: 1px solid #ccc;
251 }
252
253 div.seealso {
254 background-color: #ffc;
255 border: 1px solid #ff6;
256 }
257
258 div.topic {
259 background-color: #eee;
260 }
261
262 p.admonition-title {
263 display: inline;
264 }
265
266 p.admonition-title:after {
267 content: ":";
268 }
269
270 pre, tt {
271 font-family: {{ code_font }};
272 font-size: 0.9em;
273 }
274
275 img.screenshot {
276 }
277
278 tt.descname, tt.descclassname {
279 font-size: 0.95em;
280 }
281
282 tt.descname {
283 padding-right: 0.08em;
284 }
285
286 img.screenshot {
287 -moz-box-shadow: 2px 2px 4px #eee;
288 -webkit-box-shadow: 2px 2px 4px #eee;
289 box-shadow: 2px 2px 4px #eee;
290 }
291
292 table.docutils {
293 border: 1px solid #888;
294 -moz-box-shadow: 2px 2px 4px #eee;
295 -webkit-box-shadow: 2px 2px 4px #eee;
296 box-shadow: 2px 2px 4px #eee;
297 }
298
299 table.docutils td, table.docutils th {
300 border: 1px solid #888;
301 padding: 0.25em 0.7em;
302 }
303
304 table.field-list, table.footnote {
305 border: none;
306 -moz-box-shadow: none;
307 -webkit-box-shadow: none;
308 box-shadow: none;
309 }
310
311 table.footnote {
312 margin: 15px 0;
313 width: 100%;
314 border: 1px solid #eee;
315 background: #fdfdfd;
316 font-size: 0.9em;
317 }
318
319 table.footnote + table.footnote {
320 margin-top: -15px;
321 border-top: none;
322 }
323
324 table.field-list th {
325 padding: 0 0.8em 0 0;
326 }
327
328 table.field-list td {
329 padding: 0;
330 }
331
332 table.footnote td.label {
333 width: 0px;
334 padding: 0.3em 0 0.3em 0.5em;
335 }
336
337 table.footnote td {
338 padding: 0.3em 0.5em;
339 }
340
341 dl {
342 margin: 0;
343 padding: 0;
344 }
345
346 dl dd {
347 margin-left: 30px;
348 }
349
350 blockquote {
351 margin: 0 0 0 30px;
352 padding: 0;
353 }
354
355 ul, ol {
356 margin: 10px 0 10px 30px;
357 padding: 0;
358 }
359
360 pre {
361 background: #eee;
362 padding: 7px 30px;
363 margin: 15px -30px;
364 line-height: 1.3em;
365 }
366
367 dl pre, blockquote pre, li pre {
368 margin-left: -60px;
369 padding-left: 60px;
370 }
371
372 dl dl pre {
373 margin-left: -90px;
374 padding-left: 90px;
375 }
376
377 tt {
378 background-color: #ecf0f3;
379 color: #222;
380 /* padding: 1px 2px; */
381 }
382
383 tt.xref, a tt {
384 background-color: #FBFBFB;
385 border-bottom: 1px solid white;
386 }
387
388 a.reference {
389 text-decoration: none;
390 border-bottom: 1px dotted {{ normal_link_color }};
391 }
392
393 a.reference:hover {
394 border-bottom: 1px solid {{ normal_link_hover_color }};
395 }
396
397 a.footnote-reference {
398 text-decoration: none;
399 font-size: 0.7em;
400 vertical-align: top;
401 border-bottom: 1px dotted #004B6B;
402 }
403
404 a.footnote-reference:hover {
405 border-bottom: 1px solid #6D4100;
406 }
407
408 a:hover tt {
409 background: #EEE;
410 }
411
412 div.screenshots {
413 text-align: center;
414 }
415
416 div.screenshots a {
417 padding: 5px;
418 border: none;
419 }
420
421 @media screen and (max-width: 870px) {
422
423 div.sphinxsidebar {
424 display: none;
425 }
426
427 div.document {
428 width: 100%;
429 }
430
431 div.documentwrapper {
432 margin-left: 0;
433 margin-top: 0;
434 margin-right: 0;
435 margin-bottom: 0;
436 }
437
438 div.bodywrapper {
439 margin-top: 0;
440 margin-right: 0;
441 margin-bottom: 0;
442 margin-left: 0;
443 }
444
445 ul {
446 margin-left: 0;
447 }
448
449 .document {
450 width: auto;
451 }
452
453 .footer {
454 width: auto;
455 }
456
457 .bodywrapper {
458 margin: 0;
459 }
460
461 .footer {
462 width: auto;
463 }
464
465 .github {
466 display: none;
467 }
468
469 html body div.indexwrapper div.related ul li.right {
470 padding: 10px 0 20px;
471 }
472
473 }
474
475 @media screen and (max-width: 875px) {
476
477 body {
478 margin: 0;
479 padding: 20px 30px;
480 }
481
482 ul {
483 list-style-position:inside;
484 }
485
486 div.sphinxsidebarwrapper img.logo {
487 display: none;
488 }
489
490 div.documentwrapper {
491 float: none;
492 background: white;
493 }
494
495 div.sphinxsidebar {
496 display: block;
497 float: none;
498 width: 102.5%;
499 margin: 50px -30px -100px -30px;
500 padding: 20px 24px 80px;
501 background: #333;
502 color: white;
503 }
504
505 div.relbar2 div.related {
506 padding-top: 50px;
507 padding-bottom: 20px;
508 margin-bottom: 100px;
509 color: white;
510 }
511
512 div.sphinxsidebar h3, div.sphinxsidebar h4, div.sphinxsidebar p,
513 div.sphinxsidebar h3 a {
514 color: white;
515 }
516
517 div.sphinxsidebar ul {
518 color: #f2f2f2;
519 }
520
521 div.sphinxsidebar a {
522 color: #f2f2f2;
523 }
524
525 div.sphinxsidebar p.logo {
526 display: none;
527 }
528
529 div.document {
530 width: 100%;
531 margin: 0;
532 }
533
534 div.related {
535 display: block;
536 margin: 0;
537 padding: 10px 0 20px 0;
538 }
539
540 div.related ul,
541 div.related ul li {
542 margin: 0;
543 padding: 0;
544 }
545
546 div.footer {
547 display: none;
548 }
549
550 div.bodywrapper {
551 margin: 0;
552 }
553
554 div.body {
555 min-height: 0;
556 padding: 0;
557 }
558
559 .rtd_doc_footer {
560 display: none;
561 }
562
563 .document {
564 width: auto;
565 }
566
567 .footer {
568 width: auto;
569 }
570
571 .footer {
572 width: auto;
573 }
574
575 .github {
576 display: none;
577 }
578 }
579
580 @media screen and (max-width: 400px) {
581 div.screenshots img {
582 width: 100%;
583 }
584 }
585
586
587 /* scrollbars */
588
589 ::-webkit-scrollbar {
590 width: 6px;
591 height: 6px;
592 }
593
594 ::-webkit-scrollbar-button:start:decrement,
595 ::-webkit-scrollbar-button:end:increment {
596 display: block;
597 height: 10px;
598 }
599
600 ::-webkit-scrollbar-button:vertical:increment {
601 background-color: #fff;
602 }
603
604 ::-webkit-scrollbar-track-piece {
605 background-color: #eee;
606 -webkit-border-radius: 3px;
607 }
608
609 ::-webkit-scrollbar-thumb:vertical {
610 height: 50px;
611 background-color: #ccc;
612 -webkit-border-radius: 3px;
613 }
614
615 ::-webkit-scrollbar-thumb:horizontal {
616 width: 50px;
617 background-color: #ccc;
618 -webkit-border-radius: 3px;
619 }
620
621 /* misc. */
622
623 .revsys-inline {
624 display: none!important;
625 }
626
627 body #prev_next_links {
628 list-style-type: none;
629 margin: 40px 0 20px 0;
630 padding: 0;
631 text-align: center;
632 }
633
634
635 /* -- Gitter sidecar button ------------------------------------------------- */
636
637 .gitter-open-chat-button {
638 background-color: {{ highlight_color }} !important;
639 }
640
641
642 /* -- Read the Docs version selector ---------------------------------------- */
643
644 .rst-versions .rst-current-version {
645 color: #fff !important;
646 background: {{ highlight_color }} !important;
647 }
648
649 .rst-versions.rst-badge.shift-up .rst-current-version {
650 border-bottom-left-radius: 0;
651 border-bottom-right-radius: 0;
652 }
653
654 .rst-versions.rst-badge.shift-up .rst-current-version .fa-book {
655 float: none !important;
656 }
657
658 .rst-versions .rst-other-versions hr {
659 border-color: #fafafa !important;
660 }
661
662 .rst-versions.rst-badge .rst-current-version {
663 color: #fff !important;
664 background: {{ highlight_color }} !important;
665 position: fixed !important;
666 right: 35px !important;
667 top: 0 !important;
668 padding: 1px 15px !important;
669 border-bottom-left-radius: 0.5em;
670 border-bottom-right-radius: 0.5em;
671 }
672
673 .rst-versions .rst-other-versions {
674 color: #fff !important;
675 background: {{ highlight_color }} !important;
676 position: fixed !important;
677 right: 35px !important;
678 top: 30px !important;
679 border-top-left-radius: 0.5em;
680 border-bottom-left-radius: 0.5em;
681 border-bottom-right-radius: 0.5em;
682 }
683
684 .rst-versions a {
685 text-decoration: underline;
686 color: #fff !important;
687 }
688
689 .rst-versions .rst-other-versions dl dt {
690 text-decoration: underline;
691 font-style: italic;
692 }
693
694 .rst-versions .rst-other-versions a {
695 text-decoration: underline;
696 }
697
698 .rst-versions .rst-other-versions dl dd a {
699 text-decoration: none;
700 }