Debian Codegraph @

docs/_themes/babel/static/babel.css_t

raw ◀ ▶
1 Debian patch touch this file
1 /*
2 * babel.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 {% set text_font = "Verdana, Helvetica, sans-serif" %}
•12 {% set title_font = "Georgia, serif" %}
13 {% set link_color = '#b00' %}
14 {% set hover_color = '#FC5E1E' %}
15
16 @import url("basic.css");
17
18 /* -- page layout ----------------------------------------------------------- */
19
20 body {
21 font-family: {{ text_font }};
22 font-size: 15px;
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: 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.sphinxsidebarwrapper img.logo {
104 margin-bottom: 20px;
105 }
106
107 div.sphinxsidebar h3,
108 div.sphinxsidebar h4 {
109 font-family: {{ title_font }};
110 color: #444;
111 font-size: 24px;
112 font-weight: normal;
113 margin: 0 0 5px 0;
114 padding: 0;
115 }
116
117 div.sphinxsidebar h4 {
118 font-size: 20px;
119 }
120
121 div.sphinxsidebar h3 a {
122 color: #444;
123 }
124
125 div.sphinxsidebar p.logo a,
126 div.sphinxsidebar h3 a,
127 div.sphinxsidebar p.logo a:hover,
128 div.sphinxsidebar h3 a:hover {
129 border: none;
130 }
131
132 div.sphinxsidebar p {
133 color: #555;
134 margin: 10px 0;
135 }
136
137 div.sphinxsidebar ul {
138 margin: 10px 0;
139 padding: 0;
140 color: #000;
141 }
142
143 div.sphinxsidebar input {
144 border: 1px solid #ccc;
145 font-family: {{ text_font }};
146 font-size: 1em;
147 }
148
149 div.sphinxsidebar #searchbox input[type="text"] {
150 width: 140px;
151 }
152
153 /* -- body styles ----------------------------------------------------------- */
154
155 a {
156 color: {{ link_color }};
157 text-decoration: underline;
158 }
159
160 a:hover {
161 color: {{ hover_color }};
162 text-decoration: underline;
163 }
164
165 div.body h1,
166 div.body h2,
167 div.body h3,
168 div.body h4,
169 div.body h5,
170 div.body h6 {
171 font-family: {{ title_font }};
172 font-weight: normal;
173 margin: 30px 0px 10px 0px;
174 padding: 0;
175 }
176
177 {% if theme_index_logo %}
178 div.indexwrapper h1 {
179 text-indent: -999999px;
180 background: url({{ theme_index_logo }}) no-repeat center center;
181 height: {{ theme_index_logo_height }};
182 margin-bottom: 50px;
183 }
184 {% endif %}
185
186 div.body h1 { margin-top: 0; padding-top: 0; font-size: 240%; }
187 div.body h2 { font-size: 180%; }
188 div.body h3 { font-size: 150%; }
189 div.body h4 { font-size: 130%; }
190 div.body h5 { font-size: 100%; }
191 div.body h6 { font-size: 100%; }
192
193 a.headerlink {
194 color: #ddd;
195 padding: 0 4px;
196 text-decoration: none;
197 }
198
199 a.headerlink:hover {
200 color: #444;
201 background: #eaeaea;
202 }
203
204 div.body p, div.body dd, div.body li {
205 line-height: 1.4em;
206 }
207
208 div.admonition {
209 background: #fafafa;
210 margin: 20px -30px;
211 padding: 10px 30px;
212 border-top: 1px solid #ccc;
213 border-bottom: 1px solid #ccc;
214 }
215
216 div.admonition tt.xref, div.admonition a tt {
217 border-bottom: 1px solid #fafafa;
218 }
219
220 dd div.admonition {
221 margin-left: -60px;
222 padding-left: 60px;
223 }
224
225 div.admonition p.admonition-title {
226 font-family: {{ title_font }};
227 font-weight: normal;
228 font-size: 24px;
229 margin: 0 0 10px 0;
230 padding: 0;
231 line-height: 1;
232 }
233
234 div.admonition p.last {
235 margin-bottom: 0;
236 }
237
238 div.highlight {
239 background-color: white;
240 }
241
242 dt:target, .highlight {
243 background: #FAF3E8;
244 }
245
246 div.note {
247 background-color: #eee;
248 border: 1px solid #ccc;
249 }
250
251 div.seealso {
252 background-color: #ffc;
253 border: 1px solid #ff6;
254 }
255
256 div.topic {
257 background-color: #eee;
258 }
259
260 p.admonition-title {
261 display: inline;
262 }
263
264 p.admonition-title:after {
265 content: ":";
266 }
267
268 pre, tt {
269 font-family: 'Consolas', 'Menlo', 'Deja Vu Sans Mono', 'Bitstream Vera Sans Mono', monospace;
270 font-size: 0.9em;
271 }
272
273 img.screenshot {
274 }
275
276 tt.descname, tt.descclassname {
277 font-size: 0.95em;
278 }
279
280 tt.descname {
281 padding-right: 0.08em;
282 }
283
284 img.screenshot {
285 -moz-box-shadow: 2px 2px 4px #eee;
286 -webkit-box-shadow: 2px 2px 4px #eee;
287 box-shadow: 2px 2px 4px #eee;
288 }
289
290 table.docutils {
291 border: 1px solid #888;
292 -moz-box-shadow: 2px 2px 4px #eee;
293 -webkit-box-shadow: 2px 2px 4px #eee;
294 box-shadow: 2px 2px 4px #eee;
295 }
296
297 table.docutils td, table.docutils th {
298 border: 1px solid #888;
299 padding: 0.25em 0.7em;
300 }
301
302 table.field-list, table.footnote {
303 border: none;
304 -moz-box-shadow: none;
305 -webkit-box-shadow: none;
306 box-shadow: none;
307 }
308
309 table.footnote {
310 margin: 15px 0;
311 width: 100%;
312 border: 1px solid #eee;
313 background: #fdfdfd;
314 font-size: 0.9em;
315 }
316
317 table.footnote + table.footnote {
318 margin-top: -15px;
319 border-top: none;
320 }
321
322 table.field-list th {
323 padding: 0 0.8em 0 0;
324 }
325
326 table.field-list td {
327 padding: 0;
328 }
329
330 table.footnote td.label {
331 width: 0px;
332 padding: 0.3em 0 0.3em 0.5em;
333 }
334
335 table.footnote td {
336 padding: 0.3em 0.5em;
337 }
338
339 dl {
340 margin: 0;
341 padding: 0;
342 }
343
344 dl dd {
345 margin-left: 30px;
346 }
347
348 blockquote {
349 margin: 0 0 0 30px;
350 padding: 0;
351 }
352
353 ul, ol {
354 margin: 10px 0 10px 30px;
355 padding: 0;
356 }
357
358 pre {
359 background: #eee;
360 padding: 7px 30px;
361 margin: 15px -30px;
362 line-height: 1.3em;
363 -webkit-border-radius: 3px;
364 -moz-border-radius: 3px;
365 border-radius: 3px;
366 }
367
368 dl pre, blockquote pre, li pre {
369 margin-left: -60px;
370 padding-left: 60px;
371 }
372
373 dl dl pre {
374 margin-left: -90px;
375 padding-left: 90px;
376 }
377
378 tt {
379 background-color: #ecf0f3;
380 color: #222;
381 -webkit-border-radius: 3px;
382 -moz-border-radius: 3px;
383 border-radius: 3px;
384 }
385
386 tt.xref, a tt {
387 background-color: #FBFBFB;
388 border-bottom: 1px solid white;
389 }
390
391 a.reference {
392 text-decoration: none;
393 border-bottom: 1px dotted {{ link_color }};
394 }
395
396 a.reference:hover {
397 border-bottom: 1px solid {{ hover_color }};
398 }
399
400 a.footnote-reference {
401 text-decoration: none;
402 font-size: 0.7em;
403 vertical-align: top;
404 border-bottom: 1px dotted {{ link_color }};
405 }
406
407 a.footnote-reference:hover {
408 border-bottom: 1px solid {{ hover_color }};
409 }
410
411 a:hover tt {
412 background: #EEE;
413 }