Debian Codegraph @

doc/_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 * 2022-07-21: Minor updates by @adrien-berchet
9 */
10
11 {% set page_width = '1140px' %}
12 {% set sidebar_width = '220px' %}
13 {% set text_font = "Garamond, Giorgia, serif" %}
14 {% set title_font = "'Bree Serif', Georgia, serif" %}
15
16 @import url("basic.css");
17
18 /* -- page layout ----------------------------------------------------------- */
19
20 body {
21 font-family: {{ text_font }};
22 font-size: 17px;
23 background-color: white;
24 color: #000;
25 margin: 0;
26 padding: 0;
27 }
28
29 div.document {
30 width: {{ page_width }};
31 margin: 30px auto 0 auto;
32 }
33
34 div.documentwrapper {
35 float: left;
36 width: 100%;
37 }
38
39 div.bodywrapper {
40 margin: 0 0 0 {{ sidebar_width }};
41 }
42
43 div.sphinxsidebar {
44 width: {{ sidebar_width }};
45 }
46
47 hr {
48 border: 1px solid #B1B4B6;
49 }
50
51 div.body {
52 background-color: #ffffff;
53 color: #3E4349;
54 padding: 0 30px 0 30px;
55 }
56
57 img.floatingflask {
58 padding: 0 0 10px 10px;
59 float: right;
60 }
61
62 div.footer {
63 width: {{ page_width }};
64 margin: 20px auto 30px auto;
65 font-size: 14px;
66 color: #888;
67 text-align: right;
68 }
69
70 div.footer a {
71 color: #888;
72 }
73
74 div.related {
75 display: none;
76 }
77
78 div.sphinxsidebar a {
79 color: #444;
80 text-decoration: none;
81 border-bottom: 1px dotted #999;
82 }
83
84 div.sphinxsidebar a:hover {
85 border-bottom: 1px solid #999;
86 }
87
88 div.sphinxsidebar {
89 font-size: 14px;
90 line-height: 1.5;
91 }
92
93 div.sphinxsidebarwrapper {
94 padding: 18px 10px;
95 }
96
97 div.sphinxsidebarwrapper p.logo {
98 padding: 0 0 20px 0;
99 margin: 0;
100 text-align: center;
101 }
102
103 div.sphinxsidebar h3,
104 div.sphinxsidebar h4 {
105 font-family: {{ title_font }};
106 color: #444;
107 font-size: 24px;
108 font-weight: normal;
109 margin: 0 0 5px 0;
110 padding: 0;
111 }
112
113 div.sphinxsidebar h4 {
114 font-size: 20px;
115 }
116
117 div.sphinxsidebar h3 a {
118 color: #444;
119 }
120
121 div.sphinxsidebar p.logo a,
122 div.sphinxsidebar h3 a,
123 div.sphinxsidebar p.logo a:hover,
124 div.sphinxsidebar h3 a:hover {
125 border: none;
126 }
127
128 div.sphinxsidebar p {
129 color: #555;
130 margin: 10px 0;
131 }
132
133 div.sphinxsidebar ul {
134 margin: 10px 0;
135 padding: 0;
136 color: #000;
137 }
138
139 div.sphinxsidebar input {
140 border: 1px solid #ccc;
141 font-family: {{ text_font }};
142 font-size: 1em;
143 }
144
145 /* -- body styles ----------------------------------------------------------- */
146
147 a {
148 color: #CD2103;
149 text-decoration: underline;
150 }
151
152 a:hover {
153 color: #FC5E1E;
154 text-decoration: underline;
155 }
156
157 div.body h1,
158 div.body h2,
159 div.body h3,
160 div.body h4,
161 div.body h5,
162 div.body h6 {
163 font-family: {{ title_font }};
164 font-weight: normal;
165 margin: 30px 0px 10px 0px;
166 padding: 0;
167 }
168
169 {% if theme_index_logo %}
170 div.indexwrapper h1 {
171 text-indent: -999999px;
172 background: url({{ theme_index_logo }}) no-repeat center center;
173 height: {{ theme_index_logo_height }};
174 }
175 {% endif %}
176
177 div.body h1 { margin-top: 0; padding-top: 0; font-size: 240%; }
178 div.body h2 { font-size: 180%; }
179 div.body h3 { font-size: 150%; }
180 div.body h4 { font-size: 130%; }
181 div.body h5 { font-size: 100%; }
182 div.body h6 { font-size: 100%; }
183
184 a.headerlink {
185 color: #ddd;
186 padding: 0 4px;
187 text-decoration: none;
188 }
189
190 a.headerlink:hover {
191 color: #444;
192 background: #eaeaea;
193 }
194
195 div.body p, div.body dd, div.body li {
196 line-height: 1.4em;
197 }
198
199 div.admonition {
200 background: #fafafa;
201 margin: 20px -30px;
202 padding: 10px 30px;
203 border-top: 1px solid #ccc;
204 border-bottom: 1px solid #ccc;
205 }
206
207 div.admonition tt.xref, div.admonition a tt {
208 border-bottom: 1px solid #fafafa;
209 }
210
211 dd div.admonition {
212 margin-left: -60px;
213 padding-left: 60px;
214 }
215
216 div.admonition p.admonition-title {
217 font-family: {{ title_font }};
218 font-weight: normal;
219 font-size: 24px;
220 margin: 0 0 10px 0;
221 padding: 0;
222 line-height: 1;
223 }
224
225 div.admonition p.last {
226 margin-bottom: 0;
227 }
228
229 div.highlight {
230 background-color: white;
231 }
232
233 dt:target, .highlight {
234 background: #FAF3E8;
235 }
236
237 div.note {
238 background-color: #eee;
239 border: 1px solid #ccc;
240 }
241
242 div.seealso {
243 background-color: #ffc;
244 border: 1px solid #ff6;
245 }
246
247 div.topic {
248 background-color: #eee;
249 }
250
251 p.admonition-title {
252 display: inline;
253 }
254
255 p.admonition-title:after {
256 content: ":";
257 }
258
259 pre, tt {
260 font-family: 'Consolas', 'Menlo', 'Deja Vu Sans Mono', 'Bitstream Vera Sans Mono', monospace;
261 font-size: 0.9em;
262 }
263
264 img.screenshot {
265 }
266
267 tt.descname, tt.descclassname {
268 font-size: 0.95em;
269 }
270
271 tt.descname {
272 padding-right: 0.08em;
273 }
274
275 img.screenshot {
276 -moz-box-shadow: 2px 2px 4px #eee;
277 -webkit-box-shadow: 2px 2px 4px #eee;
278 box-shadow: 2px 2px 4px #eee;
279 }
280
281 table.docutils {
282 border: 1px solid #888;
283 -moz-box-shadow: 2px 2px 4px #eee;
284 -webkit-box-shadow: 2px 2px 4px #eee;
285 box-shadow: 2px 2px 4px #eee;
286 }
287
288 table.docutils td, table.docutils th {
289 border: 1px solid #888;
290 padding: 0.25em 0.7em;
291 }
292
293 table.field-list, table.footnote {
294 border: none;
295 -moz-box-shadow: none;
296 -webkit-box-shadow: none;
297 box-shadow: none;
298 }
299
300 table.footnote {
301 margin: 15px 0;
302 width: 100%;
303 border: 1px solid #eee;
304 background: #fdfdfd;
305 font-size: 0.9em;
306 }
307
308 table.footnote + table.footnote {
309 margin-top: -15px;
310 border-top: none;
311 }
312
313 table.field-list th {
314 padding: 0 0.8em 0 0;
315 }
316
317 table.field-list td {
318 padding: 0;
319 }
320
321 table.footnote td.label {
322 width: 0px;
323 padding: 0.3em 0 0.3em 0.5em;
324 }
325
326 table.footnote td {
327 padding: 0.3em 0.5em;
328 }
329
330 dl {
331 margin: 0;
332 padding: 0;
333 margin-top: 20px;
334 }
335
336 dl dd {
337 margin-left: 30px;
338 }
339
340 blockquote {
341 margin: 0 0 0 30px;
342 padding: 0;
343 }
344
345 ul, ol {
346 margin: 10px 0 10px 30px;
347 padding: 0;
348 }
349
350 pre {
351 background: #eee;
352 padding: 7px 30px;
353 margin: 15px -30px;
354 line-height: 1.3em;
355 -webkit-border-radius: 3px;
356 -moz-border-radius: 3px;
357 border-radius: 3px;
358 }
359
360 dl pre, blockquote pre, li pre {
361 margin-left: -60px;
362 padding-left: 60px;
363 }
364
365 dl dl pre {
366 margin-left: -90px;
367 padding-left: 90px;
368 }
369
370 tt {
371 background-color: #ecf0f3;
372 color: #222;
373 padding: 3px 6px;
374 -webkit-border-radius: 3px;
375 -moz-border-radius: 3px;
376 border-radius: 3px;
377 }
378
379 tt.xref, a tt {
380 background-color: #FBFBFB;
381 border-bottom: 1px solid white;
382 }
383
384 a.reference {
385 text-decoration: none;
386 border-bottom: 1px dotted #CD2103;
387 }
388
389 a.reference:hover {
390 border-bottom: 1px solid #FC5E1E;
391 }
392
393 a.footnote-reference {
394 text-decoration: none;
395 font-size: 0.7em;
396 vertical-align: top;
397 border-bottom: 1px dotted #CD2103;
398 }
399
400 a.footnote-reference:hover {
401 border-bottom: 1px solid #FC5E1E;
402 }
403
404 a:hover tt {
405 background: #EEE;
406 }