Debian Codegraph @

docs/source/_themes/jinja/static/jinja.css_t

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