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