Debian Codegraph @

nature/static/basic.css

raw
1 /*
2 * basic.css
3 * ~~~~~~~~~
4 *
5 * Sphinx stylesheet -- basic theme.
6 *
7 * :copyright: Copyright 2007-2016 by the Sphinx team, see AUTHORS.
8 * :license: BSD, see LICENSE for details.
9 *
10 */
11
12 /* -- main layout ----------------------------------------------------------- */
13
14 div.clearer {
15 clear: both;
16 }
17
18 /* -- relbar ---------------------------------------------------------------- */
19
20 div.related {
21 width: 100%;
22 font-size: 90%;
23 }
24
25 div.related h3 {
26 display: none;
27 }
28
29 div.related ul {
30 margin: 0;
31 padding: 0 0 0 10px;
32 list-style: none;
33 }
34
35 div.related li {
36 display: inline;
37 }
38
39 div.related li.right {
40 float: right;
41 margin-right: 5px;
42 }
43
44 /* -- sidebar --------------------------------------------------------------- */
45
46 div.sphinxsidebarwrapper {
47 padding: 10px 5px 0 10px;
48 }
49
50 div.sphinxsidebar {
51 float: left;
52 width: 230px;
53 margin-left: -100%;
54 font-size: 90%;
55 word-wrap: break-word;
56 overflow-wrap : break-word;
57 }
58
59 div.sphinxsidebar ul {
60 list-style: none;
61 }
62
63 div.sphinxsidebar ul ul,
64 div.sphinxsidebar ul.want-points {
65 margin-left: 20px;
66 list-style: square;
67 }
68
69 div.sphinxsidebar ul ul {
70 margin-top: 0;
71 margin-bottom: 0;
72 }
73
74 div.sphinxsidebar form {
75 margin-top: 10px;
76 }
77
78 div.sphinxsidebar input {
79 border: 1px solid #98dbcc;
80 font-family: sans-serif;
81 font-size: 1em;
82 }
83
84 div.sphinxsidebar #searchbox input[type="text"] {
85 width: 170px;
86 }
87
88 img {
89 border: 0;
90 max-width: 100%;
91 }
92
93 /* -- search page ----------------------------------------------------------- */
94
95 ul.search {
96 margin: 10px 0 0 20px;
97 padding: 0;
98 }
99
100 ul.search li {
101 padding: 5px 0 5px 20px;
102 background-image: url(file.png);
103 background-repeat: no-repeat;
104 background-position: 0 7px;
105 }
106
107 ul.search li a {
108 font-weight: bold;
109 }
110
111 ul.search li div.context {
112 color: #888;
113 margin: 2px 0 0 30px;
114 text-align: left;
115 }
116
117 ul.keywordmatches li.goodmatch a {
118 font-weight: bold;
119 }
120
121 /* -- index page ------------------------------------------------------------ */
122
123 table.contentstable {
124 width: 90%;
125 margin-left: auto;
126 margin-right: auto;
127 }
128
129 table.contentstable p.biglink {
130 line-height: 150%;
131 }
132
133 a.biglink {
134 font-size: 1.3em;
135 }
136
137 span.linkdescr {
138 font-style: italic;
139 padding-top: 5px;
140 font-size: 90%;
141 }
142
143 /* -- general index --------------------------------------------------------- */
144
145 table.indextable {
146 width: 100%;
147 }
148
149 table.indextable td {
150 text-align: left;
151 vertical-align: top;
152 }
153
154 table.indextable ul {
155 margin-top: 0;
156 margin-bottom: 0;
157 list-style-type: none;
158 }
159
160 table.indextable > tbody > tr > td > ul {
161 padding-left: 0em;
162 }
163
164 table.indextable tr.pcap {
165 height: 10px;
166 }
167
168 table.indextable tr.cap {
169 margin-top: 10px;
170 background-color: #f2f2f2;
171 }
172
173 img.toggler {
174 margin-right: 3px;
175 margin-top: 3px;
176 cursor: pointer;
177 }
178
179 div.modindex-jumpbox {
180 border-top: 1px solid #ddd;
181 border-bottom: 1px solid #ddd;
182 margin: 1em 0 1em 0;
183 padding: 0.4em;
184 }
185
186 div.genindex-jumpbox {
187 border-top: 1px solid #ddd;
188 border-bottom: 1px solid #ddd;
189 margin: 1em 0 1em 0;
190 padding: 0.4em;
191 }
192
193 /* -- domain module index --------------------------------------------------- */
194
195 table.modindextable td {
196 padding: 2px;
197 border-collapse: collapse;
198 }
199
200 /* -- general body styles --------------------------------------------------- */
201
202 div.body p, div.body dd, div.body li, div.body blockquote {
203 -moz-hyphens: auto;
204 -ms-hyphens: auto;
205 -webkit-hyphens: auto;
206 hyphens: auto;
207 }
208
209 a.headerlink {
210 visibility: hidden;
211 }
212
213 h1:hover > a.headerlink,
214 h2:hover > a.headerlink,
215 h3:hover > a.headerlink,
216 h4:hover > a.headerlink,
217 h5:hover > a.headerlink,
218 h6:hover > a.headerlink,
219 dt:hover > a.headerlink,
220 caption:hover > a.headerlink,
221 p.caption:hover > a.headerlink,
222 div.code-block-caption:hover > a.headerlink {
223 visibility: visible;
224 }
225
226 div.body p.caption {
227 text-align: inherit;
228 }
229
230 div.body td {
231 text-align: left;
232 }
233
234 .first {
235 margin-top: 0 !important;
236 }
237
238 p.rubric {
239 margin-top: 30px;
240 font-weight: bold;
241 }
242
243 img.align-left, .figure.align-left, object.align-left {
244 clear: left;
245 float: left;
246 margin-right: 1em;
247 }
248
249 img.align-right, .figure.align-right, object.align-right {
250 clear: right;
251 float: right;
252 margin-left: 1em;
253 }
254
255 img.align-center, .figure.align-center, object.align-center {
256 display: block;
257 margin-left: auto;
258 margin-right: auto;
259 }
260
261 .align-left {
262 text-align: left;
263 }
264
265 .align-center {
266 text-align: center;
267 }
268
269 .align-right {
270 text-align: right;
271 }
272
273 /* -- sidebars -------------------------------------------------------------- */
274
275 div.sidebar {
276 margin: 0 0 0.5em 1em;
277 border: 1px solid #ddb;
278 padding: 7px 7px 0 7px;
279 background-color: #ffe;
280 width: 40%;
281 float: right;
282 }
283
284 p.sidebar-title {
285 font-weight: bold;
286 }
287
288 /* -- topics ---------------------------------------------------------------- */
289
290 div.topic {
291 border: 1px solid #ccc;
292 padding: 7px 7px 0 7px;
293 margin: 10px 0 10px 0;
294 }
295
296 p.topic-title {
297 font-size: 1.1em;
298 font-weight: bold;
299 margin-top: 10px;
300 }
301
302 /* -- admonitions ----------------------------------------------------------- */
303
304 div.admonition {
305 margin-top: 10px;
306 margin-bottom: 10px;
307 padding: 7px;
308 }
309
310 div.admonition dt {
311 font-weight: bold;
312 }
313
314 div.admonition dl {
315 margin-bottom: 0;
316 }
317
318 p.admonition-title {
319 margin: 0px 10px 5px 0px;
320 font-weight: bold;
321 }
322
323 div.body p.centered {
324 text-align: center;
325 margin-top: 25px;
326 }
327
328 /* -- tables ---------------------------------------------------------------- */
329
330 table {
331 border: 0;
332 border-collapse: collapse;
333 }
334
335 table caption span.caption-number {
336 font-style: italic;
337 }
338
339 table caption span.caption-text {
340 }
341
342 table td, table th {
343 padding: 1px 8px 1px 5px;
344 border-top: 0;
345 border-left: 0;
346 border-right: 0;
347 border-bottom: 1px solid #aaa;
348 }
349
350 table.footnote td, table.footnote th {
351 border: 0 !important;
352 }
353
354 th {
355 text-align: left;
356 padding-right: 5px;
357 }
358
359 table.citation {
360 border-left: solid 1px gray;
361 margin-left: 1px;
362 }
363
364 table.citation td {
365 border-bottom: none;
366 }
367
368 /* -- figures --------------------------------------------------------------- */
369
370 div.figure {
371 margin: 0.5em;
372 padding: 0.5em;
373 }
374
375 div.figure p.caption {
376 padding: 0.3em;
377 }
378
379 div.figure p.caption span.caption-number {
380 font-style: italic;
381 }
382
383 div.figure p.caption span.caption-text {
384 }
385
386 /* -- field list styles ----------------------------------------------------- */
387
388 table.field-list td, table.field-list th {
389 border: 0 !important;
390 }
391
392 .field-list ul {
393 margin: 0;
394 padding-left: 1em;
395 }
396
397 .field-list p {
398 margin: 0;
399 }
400
401 /* -- other body styles ----------------------------------------------------- */
402
403 ol.arabic {
404 list-style: decimal;
405 }
406
407 ol.loweralpha {
408 list-style: lower-alpha;
409 }
410
411 ol.upperalpha {
412 list-style: upper-alpha;
413 }
414
415 ol.lowerroman {
416 list-style: lower-roman;
417 }
418
419 ol.upperroman {
420 list-style: upper-roman;
421 }
422
423 dl {
424 margin-bottom: 15px;
425 }
426
427 dd p {
428 margin-top: 0px;
429 }
430
431 dd ul, dd table {
432 margin-bottom: 10px;
433 }
434
435 dd {
436 margin-top: 3px;
437 margin-bottom: 10px;
438 margin-left: 30px;
439 }
440
441 dt:target, .highlighted {
442 background-color: #fbe54e;
443 }
444
445 dl.glossary dt {
446 font-weight: bold;
447 font-size: 1.1em;
448 }
449
450 .optional {
451 font-size: 1.3em;
452 }
453
454 .sig-paren {
455 font-size: larger;
456 }
457
458 .versionmodified {
459 font-style: italic;
460 }
461
462 .system-message {
463 background-color: #fda;
464 padding: 5px;
465 border: 3px solid red;
466 }
467
468 .footnote:target {
469 background-color: #ffa;
470 }
471
472 .line-block {
473 display: block;
474 margin-top: 1em;
475 margin-bottom: 1em;
476 }
477
478 .line-block .line-block {
479 margin-top: 0;
480 margin-bottom: 0;
481 margin-left: 1.5em;
482 }
483
484 .guilabel, .menuselection {
485 font-family: sans-serif;
486 }
487
488 .accelerator {
489 text-decoration: underline;
490 }
491
492 .classifier {
493 font-style: oblique;
494 }
495
496 abbr, acronym {
497 border-bottom: dotted 1px;
498 cursor: help;
499 }
500
501 /* -- code displays --------------------------------------------------------- */
502
503 pre {
504 overflow: auto;
505 overflow-y: hidden; /* fixes display issues on Chrome browsers */
506 }
507
508 span.pre {
509 -moz-hyphens: none;
510 -ms-hyphens: none;
511 -webkit-hyphens: none;
512 hyphens: none;
513 }
514
515 td.linenos pre {
516 padding: 5px 0px;
517 border: 0;
518 background-color: transparent;
519 color: #aaa;
520 }
521
522 table.highlighttable {
523 margin-left: 0.5em;
524 }
525
526 table.highlighttable td {
527 padding: 0 0.5em 0 0.5em;
528 }
529
530 div.code-block-caption {
531 padding: 2px 5px;
532 font-size: small;
533 }
534
535 div.code-block-caption code {
536 background-color: transparent;
537 }
538
539 div.code-block-caption + div > div.highlight > pre {
540 margin-top: 0;
541 }
542
543 div.code-block-caption span.caption-number {
544 padding: 0.1em 0.3em;
545 font-style: italic;
546 }
547
548 div.code-block-caption span.caption-text {
549 }
550
551 div.literal-block-wrapper {
552 padding: 1em 1em 0;
553 }
554
555 div.literal-block-wrapper div.highlight {
556 margin: 0;
557 }
558
559 code.descname {
560 background-color: transparent;
561 font-weight: bold;
562 font-size: 1.2em;
563 }
564
565 code.descclassname {
566 background-color: transparent;
567 }
568
569 code.xref, a code {
570 background-color: transparent;
571 font-weight: bold;
572 }
573
574 h1 code, h2 code, h3 code, h4 code, h5 code, h6 code {
575 background-color: transparent;
576 }
577
578 .viewcode-link {
579 float: right;
580 }
581
582 .viewcode-back {
583 float: right;
584 font-family: sans-serif;
585 }
586
587 div.viewcode-block:target {
588 margin: -1px -10px;
589 padding: 0 10px;
590 }
591
592 /* -- math display ---------------------------------------------------------- */
593
594 img.math {
595 vertical-align: middle;
596 }
597
598 div.body div.math p {
599 text-align: center;
600 }
601
602 span.eqno {
603 float: right;
604 }
605
606 span.eqno a.headerlink {
607 position: relative;
608 left: 0px;
609 z-index: 1;
610 }
611
612 div.math:hover a.headerlink {
613 visibility: visible;
614 }
615
616 /* -- printout stylesheet --------------------------------------------------- */
617
618 @media print {
619 div.document,
620 div.documentwrapper,
621 div.bodywrapper {
622 margin: 0 !important;
623 width: 100%;
624 }
625
626 div.sphinxsidebar,
627 div.related,
628 div.footer,
629 #top-link {
630 display: none;
631 }
632 }