Mercurial > minori
comparison dep/fmt/doc/html/_static/basic.css @ 343:1faa72660932
*: transfer back to cmake from autotools
autotools just made lots of things more complicated than
they should have and many things broke (i.e. translations)
author | Paper <paper@paper.us.eu.org> |
---|---|
date | Thu, 20 Jun 2024 05:56:06 -0400 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
342:adb79bdde329 | 343:1faa72660932 |
---|---|
1 /* | |
2 * basic.css | |
3 * ~~~~~~~~~ | |
4 * | |
5 * Sphinx stylesheet -- basic theme. | |
6 * | |
7 * :copyright: Copyright 2007-2020 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 div.section::after { | |
19 display: block; | |
20 content: ''; | |
21 clear: left; | |
22 } | |
23 | |
24 /* -- relbar ---------------------------------------------------------------- */ | |
25 | |
26 div.related { | |
27 width: 100%; | |
28 font-size: 90%; | |
29 } | |
30 | |
31 div.related h3 { | |
32 display: none; | |
33 } | |
34 | |
35 div.related ul { | |
36 margin: 0; | |
37 padding: 0 0 0 10px; | |
38 list-style: none; | |
39 } | |
40 | |
41 div.related li { | |
42 display: inline; | |
43 } | |
44 | |
45 div.related li.right { | |
46 float: right; | |
47 margin-right: 5px; | |
48 } | |
49 | |
50 /* -- sidebar --------------------------------------------------------------- */ | |
51 | |
52 div.sphinxsidebarwrapper { | |
53 padding: 10px 5px 0 10px; | |
54 } | |
55 | |
56 div.sphinxsidebar { | |
57 float: left; | |
58 width: 230px; | |
59 margin-left: -100%; | |
60 font-size: 90%; | |
61 word-wrap: break-word; | |
62 overflow-wrap : break-word; | |
63 } | |
64 | |
65 div.sphinxsidebar ul { | |
66 list-style: none; | |
67 } | |
68 | |
69 div.sphinxsidebar ul ul, | |
70 div.sphinxsidebar ul.want-points { | |
71 margin-left: 20px; | |
72 list-style: square; | |
73 } | |
74 | |
75 div.sphinxsidebar ul ul { | |
76 margin-top: 0; | |
77 margin-bottom: 0; | |
78 } | |
79 | |
80 div.sphinxsidebar form { | |
81 margin-top: 10px; | |
82 } | |
83 | |
84 div.sphinxsidebar input { | |
85 border: 1px solid #98dbcc; | |
86 font-family: sans-serif; | |
87 font-size: 1em; | |
88 } | |
89 | |
90 div.sphinxsidebar #searchbox form.search { | |
91 overflow: hidden; | |
92 } | |
93 | |
94 div.sphinxsidebar #searchbox input[type="text"] { | |
95 float: left; | |
96 width: 80%; | |
97 padding: 0.25em; | |
98 box-sizing: border-box; | |
99 } | |
100 | |
101 div.sphinxsidebar #searchbox input[type="submit"] { | |
102 float: left; | |
103 width: 20%; | |
104 border-left: none; | |
105 padding: 0.25em; | |
106 box-sizing: border-box; | |
107 } | |
108 | |
109 | |
110 img { | |
111 border: 0; | |
112 max-width: 100%; | |
113 } | |
114 | |
115 /* -- search page ----------------------------------------------------------- */ | |
116 | |
117 ul.search { | |
118 margin: 10px 0 0 20px; | |
119 padding: 0; | |
120 } | |
121 | |
122 ul.search li { | |
123 padding: 5px 0 5px 20px; | |
124 background-image: url(file.png); | |
125 background-repeat: no-repeat; | |
126 background-position: 0 7px; | |
127 } | |
128 | |
129 ul.search li a { | |
130 font-weight: bold; | |
131 } | |
132 | |
133 ul.search li div.context { | |
134 color: #888; | |
135 margin: 2px 0 0 30px; | |
136 text-align: left; | |
137 } | |
138 | |
139 ul.keywordmatches li.goodmatch a { | |
140 font-weight: bold; | |
141 } | |
142 | |
143 /* -- index page ------------------------------------------------------------ */ | |
144 | |
145 table.contentstable { | |
146 width: 90%; | |
147 margin-left: auto; | |
148 margin-right: auto; | |
149 } | |
150 | |
151 table.contentstable p.biglink { | |
152 line-height: 150%; | |
153 } | |
154 | |
155 a.biglink { | |
156 font-size: 1.3em; | |
157 } | |
158 | |
159 span.linkdescr { | |
160 font-style: italic; | |
161 padding-top: 5px; | |
162 font-size: 90%; | |
163 } | |
164 | |
165 /* -- general index --------------------------------------------------------- */ | |
166 | |
167 table.indextable { | |
168 width: 100%; | |
169 } | |
170 | |
171 table.indextable td { | |
172 text-align: left; | |
173 vertical-align: top; | |
174 } | |
175 | |
176 table.indextable ul { | |
177 margin-top: 0; | |
178 margin-bottom: 0; | |
179 list-style-type: none; | |
180 } | |
181 | |
182 table.indextable > tbody > tr > td > ul { | |
183 padding-left: 0em; | |
184 } | |
185 | |
186 table.indextable tr.pcap { | |
187 height: 10px; | |
188 } | |
189 | |
190 table.indextable tr.cap { | |
191 margin-top: 10px; | |
192 background-color: #f2f2f2; | |
193 } | |
194 | |
195 img.toggler { | |
196 margin-right: 3px; | |
197 margin-top: 3px; | |
198 cursor: pointer; | |
199 } | |
200 | |
201 div.modindex-jumpbox { | |
202 border-top: 1px solid #ddd; | |
203 border-bottom: 1px solid #ddd; | |
204 margin: 1em 0 1em 0; | |
205 padding: 0.4em; | |
206 } | |
207 | |
208 div.genindex-jumpbox { | |
209 border-top: 1px solid #ddd; | |
210 border-bottom: 1px solid #ddd; | |
211 margin: 1em 0 1em 0; | |
212 padding: 0.4em; | |
213 } | |
214 | |
215 /* -- domain module index --------------------------------------------------- */ | |
216 | |
217 table.modindextable td { | |
218 padding: 2px; | |
219 border-collapse: collapse; | |
220 } | |
221 | |
222 /* -- general body styles --------------------------------------------------- */ | |
223 | |
224 div.body { | |
225 min-width: 450px; | |
226 max-width: 800px; | |
227 } | |
228 | |
229 div.body p, div.body dd, div.body li, div.body blockquote { | |
230 -moz-hyphens: auto; | |
231 -ms-hyphens: auto; | |
232 -webkit-hyphens: auto; | |
233 hyphens: auto; | |
234 } | |
235 | |
236 a.headerlink { | |
237 visibility: hidden; | |
238 } | |
239 | |
240 a.brackets:before, | |
241 span.brackets > a:before{ | |
242 content: "["; | |
243 } | |
244 | |
245 a.brackets:after, | |
246 span.brackets > a:after { | |
247 content: "]"; | |
248 } | |
249 | |
250 h1:hover > a.headerlink, | |
251 h2:hover > a.headerlink, | |
252 h3:hover > a.headerlink, | |
253 h4:hover > a.headerlink, | |
254 h5:hover > a.headerlink, | |
255 h6:hover > a.headerlink, | |
256 dt:hover > a.headerlink, | |
257 caption:hover > a.headerlink, | |
258 p.caption:hover > a.headerlink, | |
259 div.code-block-caption:hover > a.headerlink { | |
260 visibility: visible; | |
261 } | |
262 | |
263 div.body p.caption { | |
264 text-align: inherit; | |
265 } | |
266 | |
267 div.body td { | |
268 text-align: left; | |
269 } | |
270 | |
271 .first { | |
272 margin-top: 0 !important; | |
273 } | |
274 | |
275 p.rubric { | |
276 margin-top: 30px; | |
277 font-weight: bold; | |
278 } | |
279 | |
280 img.align-left, .figure.align-left, object.align-left { | |
281 clear: left; | |
282 float: left; | |
283 margin-right: 1em; | |
284 } | |
285 | |
286 img.align-right, .figure.align-right, object.align-right { | |
287 clear: right; | |
288 float: right; | |
289 margin-left: 1em; | |
290 } | |
291 | |
292 img.align-center, .figure.align-center, object.align-center { | |
293 display: block; | |
294 margin-left: auto; | |
295 margin-right: auto; | |
296 } | |
297 | |
298 img.align-default, .figure.align-default { | |
299 display: block; | |
300 margin-left: auto; | |
301 margin-right: auto; | |
302 } | |
303 | |
304 .align-left { | |
305 text-align: left; | |
306 } | |
307 | |
308 .align-center { | |
309 text-align: center; | |
310 } | |
311 | |
312 .align-default { | |
313 text-align: center; | |
314 } | |
315 | |
316 .align-right { | |
317 text-align: right; | |
318 } | |
319 | |
320 /* -- sidebars -------------------------------------------------------------- */ | |
321 | |
322 div.sidebar { | |
323 margin: 0 0 0.5em 1em; | |
324 border: 1px solid #ddb; | |
325 padding: 7px; | |
326 background-color: #ffe; | |
327 width: 40%; | |
328 float: right; | |
329 clear: right; | |
330 overflow-x: auto; | |
331 } | |
332 | |
333 p.sidebar-title { | |
334 font-weight: bold; | |
335 } | |
336 | |
337 div.admonition, div.topic, blockquote { | |
338 clear: left; | |
339 } | |
340 | |
341 /* -- topics ---------------------------------------------------------------- */ | |
342 | |
343 div.topic { | |
344 border: 1px solid #ccc; | |
345 padding: 7px; | |
346 margin: 10px 0 10px 0; | |
347 } | |
348 | |
349 p.topic-title { | |
350 font-size: 1.1em; | |
351 font-weight: bold; | |
352 margin-top: 10px; | |
353 } | |
354 | |
355 /* -- admonitions ----------------------------------------------------------- */ | |
356 | |
357 div.admonition { | |
358 margin-top: 10px; | |
359 margin-bottom: 10px; | |
360 padding: 7px; | |
361 } | |
362 | |
363 div.admonition dt { | |
364 font-weight: bold; | |
365 } | |
366 | |
367 p.admonition-title { | |
368 margin: 0px 10px 5px 0px; | |
369 font-weight: bold; | |
370 } | |
371 | |
372 div.body p.centered { | |
373 text-align: center; | |
374 margin-top: 25px; | |
375 } | |
376 | |
377 /* -- content of sidebars/topics/admonitions -------------------------------- */ | |
378 | |
379 div.sidebar > :last-child, | |
380 div.topic > :last-child, | |
381 div.admonition > :last-child { | |
382 margin-bottom: 0; | |
383 } | |
384 | |
385 div.sidebar::after, | |
386 div.topic::after, | |
387 div.admonition::after, | |
388 blockquote::after { | |
389 display: block; | |
390 content: ''; | |
391 clear: both; | |
392 } | |
393 | |
394 /* -- tables ---------------------------------------------------------------- */ | |
395 | |
396 table.docutils { | |
397 margin-top: 10px; | |
398 margin-bottom: 10px; | |
399 border: 0; | |
400 border-collapse: collapse; | |
401 } | |
402 | |
403 table.align-center { | |
404 margin-left: auto; | |
405 margin-right: auto; | |
406 } | |
407 | |
408 table.align-default { | |
409 margin-left: auto; | |
410 margin-right: auto; | |
411 } | |
412 | |
413 table caption span.caption-number { | |
414 font-style: italic; | |
415 } | |
416 | |
417 table caption span.caption-text { | |
418 } | |
419 | |
420 table.docutils td, table.docutils th { | |
421 padding: 1px 8px 1px 5px; | |
422 border-top: 0; | |
423 border-left: 0; | |
424 border-right: 0; | |
425 border-bottom: 1px solid #aaa; | |
426 } | |
427 | |
428 table.footnote td, table.footnote th { | |
429 border: 0 !important; | |
430 } | |
431 | |
432 th { | |
433 text-align: left; | |
434 padding-right: 5px; | |
435 } | |
436 | |
437 table.citation { | |
438 border-left: solid 1px gray; | |
439 margin-left: 1px; | |
440 } | |
441 | |
442 table.citation td { | |
443 border-bottom: none; | |
444 } | |
445 | |
446 th > :first-child, | |
447 td > :first-child { | |
448 margin-top: 0px; | |
449 } | |
450 | |
451 th > :last-child, | |
452 td > :last-child { | |
453 margin-bottom: 0px; | |
454 } | |
455 | |
456 /* -- figures --------------------------------------------------------------- */ | |
457 | |
458 div.figure { | |
459 margin: 0.5em; | |
460 padding: 0.5em; | |
461 } | |
462 | |
463 div.figure p.caption { | |
464 padding: 0.3em; | |
465 } | |
466 | |
467 div.figure p.caption span.caption-number { | |
468 font-style: italic; | |
469 } | |
470 | |
471 div.figure p.caption span.caption-text { | |
472 } | |
473 | |
474 /* -- field list styles ----------------------------------------------------- */ | |
475 | |
476 table.field-list td, table.field-list th { | |
477 border: 0 !important; | |
478 } | |
479 | |
480 .field-list ul { | |
481 margin: 0; | |
482 padding-left: 1em; | |
483 } | |
484 | |
485 .field-list p { | |
486 margin: 0; | |
487 } | |
488 | |
489 .field-name { | |
490 -moz-hyphens: manual; | |
491 -ms-hyphens: manual; | |
492 -webkit-hyphens: manual; | |
493 hyphens: manual; | |
494 } | |
495 | |
496 /* -- hlist styles ---------------------------------------------------------- */ | |
497 | |
498 table.hlist { | |
499 margin: 1em 0; | |
500 } | |
501 | |
502 table.hlist td { | |
503 vertical-align: top; | |
504 } | |
505 | |
506 | |
507 /* -- other body styles ----------------------------------------------------- */ | |
508 | |
509 ol.arabic { | |
510 list-style: decimal; | |
511 } | |
512 | |
513 ol.loweralpha { | |
514 list-style: lower-alpha; | |
515 } | |
516 | |
517 ol.upperalpha { | |
518 list-style: upper-alpha; | |
519 } | |
520 | |
521 ol.lowerroman { | |
522 list-style: lower-roman; | |
523 } | |
524 | |
525 ol.upperroman { | |
526 list-style: upper-roman; | |
527 } | |
528 | |
529 :not(li) > ol > li:first-child > :first-child, | |
530 :not(li) > ul > li:first-child > :first-child { | |
531 margin-top: 0px; | |
532 } | |
533 | |
534 :not(li) > ol > li:last-child > :last-child, | |
535 :not(li) > ul > li:last-child > :last-child { | |
536 margin-bottom: 0px; | |
537 } | |
538 | |
539 ol.simple ol p, | |
540 ol.simple ul p, | |
541 ul.simple ol p, | |
542 ul.simple ul p { | |
543 margin-top: 0; | |
544 } | |
545 | |
546 ol.simple > li:not(:first-child) > p, | |
547 ul.simple > li:not(:first-child) > p { | |
548 margin-top: 0; | |
549 } | |
550 | |
551 ol.simple p, | |
552 ul.simple p { | |
553 margin-bottom: 0; | |
554 } | |
555 | |
556 dl.footnote > dt, | |
557 dl.citation > dt { | |
558 float: left; | |
559 margin-right: 0.5em; | |
560 } | |
561 | |
562 dl.footnote > dd, | |
563 dl.citation > dd { | |
564 margin-bottom: 0em; | |
565 } | |
566 | |
567 dl.footnote > dd:after, | |
568 dl.citation > dd:after { | |
569 content: ""; | |
570 clear: both; | |
571 } | |
572 | |
573 dl.field-list { | |
574 display: grid; | |
575 grid-template-columns: fit-content(30%) auto; | |
576 } | |
577 | |
578 dl.field-list > dt { | |
579 font-weight: bold; | |
580 word-break: break-word; | |
581 padding-left: 0.5em; | |
582 padding-right: 5px; | |
583 } | |
584 | |
585 dl.field-list > dt:after { | |
586 content: ":"; | |
587 } | |
588 | |
589 dl.field-list > dd { | |
590 padding-left: 0.5em; | |
591 margin-top: 0em; | |
592 margin-left: 0em; | |
593 margin-bottom: 0em; | |
594 } | |
595 | |
596 dl { | |
597 margin-bottom: 15px; | |
598 } | |
599 | |
600 dd > :first-child { | |
601 margin-top: 0px; | |
602 } | |
603 | |
604 dd ul, dd table { | |
605 margin-bottom: 10px; | |
606 } | |
607 | |
608 dd { | |
609 margin-top: 3px; | |
610 margin-bottom: 10px; | |
611 margin-left: 30px; | |
612 } | |
613 | |
614 dl > dd:last-child, | |
615 dl > dd:last-child > :last-child { | |
616 margin-bottom: 0; | |
617 } | |
618 | |
619 dt:target, span.highlighted { | |
620 background-color: #fbe54e; | |
621 } | |
622 | |
623 rect.highlighted { | |
624 fill: #fbe54e; | |
625 } | |
626 | |
627 dl.glossary dt { | |
628 font-weight: bold; | |
629 font-size: 1.1em; | |
630 } | |
631 | |
632 .optional { | |
633 font-size: 1.3em; | |
634 } | |
635 | |
636 .sig-paren { | |
637 font-size: larger; | |
638 } | |
639 | |
640 .versionmodified { | |
641 font-style: italic; | |
642 } | |
643 | |
644 .system-message { | |
645 background-color: #fda; | |
646 padding: 5px; | |
647 border: 3px solid red; | |
648 } | |
649 | |
650 .footnote:target { | |
651 background-color: #ffa; | |
652 } | |
653 | |
654 .line-block { | |
655 display: block; | |
656 margin-top: 1em; | |
657 margin-bottom: 1em; | |
658 } | |
659 | |
660 .line-block .line-block { | |
661 margin-top: 0; | |
662 margin-bottom: 0; | |
663 margin-left: 1.5em; | |
664 } | |
665 | |
666 .guilabel, .menuselection { | |
667 font-family: sans-serif; | |
668 } | |
669 | |
670 .accelerator { | |
671 text-decoration: underline; | |
672 } | |
673 | |
674 .classifier { | |
675 font-style: oblique; | |
676 } | |
677 | |
678 .classifier:before { | |
679 font-style: normal; | |
680 margin: 0.5em; | |
681 content: ":"; | |
682 } | |
683 | |
684 abbr, acronym { | |
685 border-bottom: dotted 1px; | |
686 cursor: help; | |
687 } | |
688 | |
689 /* -- code displays --------------------------------------------------------- */ | |
690 | |
691 pre { | |
692 overflow: auto; | |
693 overflow-y: hidden; /* fixes display issues on Chrome browsers */ | |
694 } | |
695 | |
696 pre, div[class*="highlight-"] { | |
697 clear: both; | |
698 } | |
699 | |
700 span.pre { | |
701 -moz-hyphens: none; | |
702 -ms-hyphens: none; | |
703 -webkit-hyphens: none; | |
704 hyphens: none; | |
705 } | |
706 | |
707 div[class*="highlight-"] { | |
708 margin: 1em 0; | |
709 } | |
710 | |
711 td.linenos pre { | |
712 border: 0; | |
713 background-color: transparent; | |
714 color: #aaa; | |
715 } | |
716 | |
717 table.highlighttable { | |
718 display: block; | |
719 } | |
720 | |
721 table.highlighttable tbody { | |
722 display: block; | |
723 } | |
724 | |
725 table.highlighttable tr { | |
726 display: flex; | |
727 } | |
728 | |
729 table.highlighttable td { | |
730 margin: 0; | |
731 padding: 0; | |
732 } | |
733 | |
734 table.highlighttable td.linenos { | |
735 padding-right: 0.5em; | |
736 } | |
737 | |
738 table.highlighttable td.code { | |
739 flex: 1; | |
740 overflow: hidden; | |
741 } | |
742 | |
743 .highlight .hll { | |
744 display: block; | |
745 } | |
746 | |
747 div.highlight pre, | |
748 table.highlighttable pre { | |
749 margin: 0; | |
750 } | |
751 | |
752 div.code-block-caption + div { | |
753 margin-top: 0; | |
754 } | |
755 | |
756 div.code-block-caption { | |
757 margin-top: 1em; | |
758 padding: 2px 5px; | |
759 font-size: small; | |
760 } | |
761 | |
762 div.code-block-caption code { | |
763 background-color: transparent; | |
764 } | |
765 | |
766 table.highlighttable td.linenos, | |
767 span.linenos, | |
768 div.doctest > div.highlight span.gp { /* gp: Generic.Prompt */ | |
769 user-select: none; | |
770 } | |
771 | |
772 div.code-block-caption span.caption-number { | |
773 padding: 0.1em 0.3em; | |
774 font-style: italic; | |
775 } | |
776 | |
777 div.code-block-caption span.caption-text { | |
778 } | |
779 | |
780 div.literal-block-wrapper { | |
781 margin: 1em 0; | |
782 } | |
783 | |
784 code.descname { | |
785 background-color: transparent; | |
786 font-weight: bold; | |
787 font-size: 1.2em; | |
788 } | |
789 | |
790 code.descclassname { | |
791 background-color: transparent; | |
792 } | |
793 | |
794 code.xref, a code { | |
795 background-color: transparent; | |
796 font-weight: bold; | |
797 } | |
798 | |
799 h1 code, h2 code, h3 code, h4 code, h5 code, h6 code { | |
800 background-color: transparent; | |
801 } | |
802 | |
803 .viewcode-link { | |
804 float: right; | |
805 } | |
806 | |
807 .viewcode-back { | |
808 float: right; | |
809 font-family: sans-serif; | |
810 } | |
811 | |
812 div.viewcode-block:target { | |
813 margin: -1px -10px; | |
814 padding: 0 10px; | |
815 } | |
816 | |
817 /* -- math display ---------------------------------------------------------- */ | |
818 | |
819 img.math { | |
820 vertical-align: middle; | |
821 } | |
822 | |
823 div.body div.math p { | |
824 text-align: center; | |
825 } | |
826 | |
827 span.eqno { | |
828 float: right; | |
829 } | |
830 | |
831 span.eqno a.headerlink { | |
832 position: absolute; | |
833 z-index: 1; | |
834 } | |
835 | |
836 div.math:hover a.headerlink { | |
837 visibility: visible; | |
838 } | |
839 | |
840 /* -- printout stylesheet --------------------------------------------------- */ | |
841 | |
842 @media print { | |
843 div.document, | |
844 div.documentwrapper, | |
845 div.bodywrapper { | |
846 margin: 0 !important; | |
847 width: 100%; | |
848 } | |
849 | |
850 div.sphinxsidebar, | |
851 div.related, | |
852 div.footer, | |
853 #top-link { | |
854 display: none; | |
855 } | |
856 } |