Debian Codegraph @

docs/_themes/flask/static/flasky.css_t

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