Debian Codegraph @

docs/source/_themes/readable-1.3.0-knorrie/static/readable.css_t

raw
1 /*
2 * readable.css_t
3 * ~~~~~~~~~~~~~~
4 *
5 * Sphinx stylesheet -- readable theme.
6 *
7 * :copyright: Copyright 2013 by Ignacy Sokolowski.
8 * :license: MIT, see LICENSE for details.
9 *
10 */
11
12 {% set page_width = '940px' %}
13
14 @import url('basic.css');
15
16 /* -- page layout --------------------------------------------------------- */
17
18 body {
19 font-family: -apple-system,system-ui,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
20 font-size: 16px;
21 margin: 0;
22 padding: 0;
23 }
24
25 div.document {
26 margin: 10px auto 0 auto;
27 max-width: {{ page_width }};
28 }
29
30 div.documentwrapper {
31 float: left;
32 width: 100%;
33 }
34
35 div.bodywrapper {
36 margin: 0 0 0 {{ theme_sidebarwidth|toint }}px;
37 }
38
39 div.body {
40 background-color: #ffffff;
41 color: #3e4349;
42 padding: 0 30px 30px 30px;
43 }
44
45 div.footer {
46 color: #555;
47 font-size: 14px;
48 margin: 20px auto 30px auto;
49 text-align: right;
50 max-width: 880px;
51 }
52
53 div.footer a {
54 color: #444;
55 text-decoration: underline;
56 }
57
58 div.related {
59 padding: 10px 10px;
60 width: auto;
61 }
62
63 div.sphinxsidebar {
64 float: left;
65 font-size: 14px;
66 line-height: 1.5em;
67 margin-left: -100%;
68 width: {{ theme_sidebarwidth|toint }}px;
69 }
70
71 div.sphinxsidebarwrapper {
72 font-size: 14px;
73 line-height: 1.5em;
74 padding: 10px 0 10px 10px;
75 }
76
77 div.sphinxsidebar h3,
78 div.sphinxsidebar h4 {
79 color: #333;
80 font-size: 24px;
81 font-weight: normal;
82 margin: 0 0 5px 0;
83 padding: 0;
84 }
85
86 div.sphinxsidebar h4 {
87 font-size: 1.1em;
88 }
89
90 div.sphinxsidebar h3 a {
91 color: #333;
92 }
93
94 div.sphinxsidebar p {
95 color: #888;
96 }
97
98 div.sphinxsidebar p.searchtip {
99 line-height: 1.4em;
100 }
101
102 div.sphinxsidebar ul {
103 color: #000;
104 margin: 10px 0 20px;
105 padding: 0;
106 }
107
108 div.sphinxsidebar a {
109 color: #444;
110 }
111
112 div.sphinxsidebar a:hover {
113 color: #d00;
114 }
115
116 div.sphinxsidebar input {
117 border: 1px solid #ccc;
118 font-family: sans-serif;
119 font-size: 1em;
120 }
121
122 /* -- body styles --------------------------------------------------------- */
123
124 a {
125 color: #900;
126 text-decoration: none;
127 }
128
129 a:visited {
130 color: #700;
131 }
132
133 a:hover {
134 color: #d00;
135 text-decoration: underline;
136 }
137
138 hr {
139 border: 1px solid #b1b4b6;
140 }
141
142 div.body h1,
143 div.body h2,
144 div.body h3,
145 div.body h4,
146 div.body h5,
147 div.body h6 { font-weight: normal; }
148
149 div.body h1,
150 div.body h2,
151 div.body h3,
152 div.body h4 { color: #212224; }
153 div.body h5 { color: #000; }
154 div.body h6 { color: #777; }
155
156 div.body h1 { margin: 0 0 10px 0; }
157 div.body h2,
158 div.body h3 { margin: 30px 0px 10px 0px; }
159 div.body h4,
160 div.body h5,
161 div.body h6 { margin: 20px 0px 10px 0px; }
162
163 div.body h1 { padding: 0 0 10px 0; }
164 div.body h2,
165 div.body h3 { padding: 10px 0 10px 0; }
166 div.body h4 { padding: 10px 0 10px 0; }
167 div.body h5,
168 div.body h6 { padding: 10px 0 0 0; }
169
170 div.body h1,
171 div.body h2,
172 div.body h3 { border-bottom: 1px solid #ddd; }
173 div.body h4 { border-bottom: 1px solid #e5e5e5; }
174
175 div.body h1 { font-size: 230%; }
176 div.body h2 { font-size: 180%; }
177 div.body h3 { font-size: 130%; }
178 div.body h4 { font-size: 110%; }
179 div.body h5 { font-size: 105%; }
180 div.body h6 { font-size: 100%; }
181
182 a.headerlink {
183 color: #c60f0f;
184 font-size: 0.8em;
185 padding: 0 4px 0 4px;
186 text-decoration: none;
187 }
188
189 a.headerlink:hover {
190 background-color: #c60f0f;
191 color: #fff;
192 }
193
194 div.body ul {
195 list-style: disc;
196 margin: 1em 0;
197 padding-left: 1.3em;
198 }
199
200 div.body ul ul, div.body ol ul {
201 margin: .2em 0;
202 padding-left: 1.2em;
203 }
204
205 div.body ul li {
206 padding: 2px 0;
207 }
208
209 div.body ul.search li {
210 padding: 5px 0 5px 20px;
211 }
212
213 div.body ol {
214 counter-reset: li;
215 margin-left: 0;
216 padding-left: 0;
217 }
218
219 div.body ol ol {
220 margin: .2em 0;
221 }
222
223 div.body ol > li {
224 list-style: none;
225 margin: 0 0 0 1.9em;
226 padding: 2px 1px;
227 position: relative;
228 }
229
230 div.body ol > li:before {
231 content: counter(li) ".";
232 counter-increment: li;
233 top: -2px;
234 left: -1.9em;
235 width: 1.9em;
236 padding: 4px 0;
237 position: absolute;
238 text-align: left;
239 }
240
241 div.body p,
242 div.body dd,
243 div.body li {
244 line-height: 1.4em;
245 }
246
247 div.admonition p.admonition-title + p {
248 display: inline;
249 }
250
251 div.highlight {
252 background-color: #fff;
253 }
254
255 div.important, div.note {
256 background-color: #eee;
257 border: 1px solid #ccc;
258 }
259
260 div.attention, div.caution, div.hint, div.seealso, div.tip {
261 background-color: #fef9e9;
262 border: 1px solid #fbe091;
263 }
264
265 div.topic {
266 background-color: #eee;
267 }
268
269 div.danger, div.error, div.warning {
270 background-color: #ffe4e4;
271 border: 1px solid #f66;
272 }
273
274 p.admonition-title {
275 display: inline;
276 }
277
278 p.admonition-title:after {
279 content: ':';
280 }
281
282 pre {
283 background-color: #f5f5f5;
284 border: 1px solid #C6C9CB;
285 color: #222;
286 font-size: 0.75em;
287 line-height: 1.5em;
288 margin: 1.5em 0 1.5em 0;
289 padding: 10px;
290 box-shadow: 1px 1px 1px #d8d8d8;
291 -webkit-box-shadow: 1px 1px 1px #d8d8d8;
292 -moz-box-shadow: 1px 1px 1px #d8d8d8;
293 }
294
295 pre, tt, code {
296 font-family: 'Consolas', 'Menlo', 'Deja Vu Sans Mono', 'Bitstream Vera Sans Mono', monospace;
297 }
298
299 tt, code {
300 background-color: #ecf0f3;
301 font-size: 0.85em;
302 }
303
304 tt.descname, code.descname {
305 font-size: 0.95em;
306 }
307
308 tt.xref, a tt, code.xref, a code {
309 font-weight: normal;
310 }
311
312 span.pre {
313 padding: 0 2px;
314 }
315
316 dl.class, dl.function {
317 margin-bottom: 50px;
318 }
319
320 dl.function > dt,
321 dl.attribute > dt,
322 dl.classmethod > dt,
323 dl.method > dt,
324 dl.class > dt,
325 dl.exception > dt {
326 background-color: #f5f5f5;
327 margin: 25px 0 10px 0;
328 padding: 1px 10px;
329 }
330
331 table.docutils {
332 width: 100%;
333 }
334
335 table.docutils.footnote {
336 width: auto;
337 }
338
339 table.docutils thead,
340 table.docutils tfoot {
341 background: #f5f5f5;
342 }
343
344 table.docutils thead tr th {
345 color: #000;
346 font-weight: normal;
347 padding: 2px 2px;
348 vertical-align: middle;
349 }
350
351 table.docutils tbody tr th,
352 table.docutils tbody tr td {
353 border-bottom: 0;
354 border-top: solid 1px #ddd;
355 padding: 2px 2px;
356 vertical-align: top;
357 }
358 table.docutils tbody tr:last-child th,
359 table.docutils tbody tr:last-child td {
360 border-bottom: solid 1px #ddd;
361 }
362
363 table.docutils thead tr td p,
364 table.docutils tfoot tr td p,
365 table.docutils tbody tr td p,
366 table.docutils thead tr td ul,
367 table.docutils tfoot tr td ul,
368 table.docutils tbody tr td ul,
369 table.docutils thead tr td ol,
370 table.docutils tfoot tr td ol,
371 table.docutils tbody tr td ol {
372 margin: 0 0 .5em;
373 }
374 table.docutils thead tr td p.last,
375 table.docutils tfoot tr td p.last,
376 table.docutils tbody tr td p.last,
377 table.docutils thead tr td ul.last,
378 table.docutils tfoot tr td ul.last,
379 table.docutils tbody tr td ul.last,
380 table.docutils thead tr td ol.last,
381 table.docutils tfoot tr td ol.last,
382 table.docutils tbody tr td ol.last {
383 margin-bottom: 0;
384 }
385
386 .viewcode-back {
387 font-family: Arial, sans-serif;
388 }
389
390 div.viewcode-block:target {
391 background-color: #fef9e9;
392 border-top: 1px solid #fbe091;
393 border-bottom: 1px solid #fbe091;
394 }
395
396 @media screen and (max-width: 870px) {
397
398 div.document {
399 width: auto;
400 margin: 0;
401 }
402
403 div.documentwrapper {
404 float: none;
405 }
406
407 div.bodywrapper {
408 margin: 0;
409 }
410
411 div.body {
412 min-height: 0;
413 padding: 0 20px 30px 20px;
414 }
415
416 div.footer {
417 background-color: #333;
418 color: #888;
419 margin: 0;
420 padding: 10px 20px 20px;
421 text-align: left;
422 width: auto;
423 }
424
425 div.footer a {
426 color: #bbb;
427 }
428
429 div.footer a:hover {
430 color: #fff;
431 }
432
433 div.sphinxsidebar {
434 background-color: #333;
435 color: #fff;
436 float: none;
437 margin: 0;
438 padding: 10px 20px;
439 width: auto;
440 }
441
442 div.sphinxsidebar h3,
443 div.sphinxsidebar h4,
444 div.sphinxsidebar p,
445 div.sphinxsidebar h3 a {
446 color: #fff;
447 }
448
449 div.sphinxsidebar ul {
450 color: #999;
451 }
452
453 div.sphinxsidebar a {
454 color: #aaa;
455 }
456
457 div.sphinxsidebar a:hover {
458 color: #fff;
459 }
460
461 }