on gh-pages help sign in
searx/_static/basic.css
905 lines 15 kB history raw
1/*
2 * basic.css
3 * ~~~~~~~~~
4 *
5 * Sphinx stylesheet -- basic theme.
6 *
7 * :copyright: Copyright 2007-2021 by the Sphinx team, see AUTHORS.
8 * :license: BSD, see LICENSE for details.
9 *
10 */
12/* -- main layout ----------------------------------------------------------- */
14div.clearer {
15 clear: both;
18div.section::after {
19 display: block;
20 content: '';
21 clear: left;
24/* -- relbar ---------------------------------------------------------------- */
26div.related {
27 width: 100%;
28 font-size: 90%;
31div.related h3 {
32 display: none;
35div.related ul {
36 margin: 0;
37 padding: 0 0 0 10px;
38 list-style: none;
41div.related li {
42 display: inline;
45div.related li.right {
46 float: right;
47 margin-right: 5px;
50/* -- sidebar --------------------------------------------------------------- */
52div.sphinxsidebarwrapper {
53 padding: 10px 5px 0 10px;
56div.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;
65div.sphinxsidebar ul {
66 list-style: none;
69div.sphinxsidebar ul ul,
70div.sphinxsidebar ul.want-points {
71 margin-left: 20px;
72 list-style: square;
75div.sphinxsidebar ul ul {
76 margin-top: 0;
77 margin-bottom: 0;
80div.sphinxsidebar form {
81 margin-top: 10px;
84div.sphinxsidebar input {
85 border: 1px solid #98dbcc;
86 font-family: sans-serif;
87 font-size: 1em;
90div.sphinxsidebar #searchbox form.search {
91 overflow: hidden;
94div.sphinxsidebar #searchbox input[type="text"] {
95 float: left;
96 width: 80%;
97 padding: 0.25em;
98 box-sizing: border-box;
101div.sphinxsidebar #searchbox input[type="submit"] {
102 float: left;
103 width: 20%;
104 border-left: none;
105 padding: 0.25em;
106 box-sizing: border-box;
110img {
111 border: 0;
112 max-width: 100%;
115/* -- search page ----------------------------------------------------------- */
117ul.search {
118 margin: 10px 0 0 20px;
119 padding: 0;
122ul.search li {
123 padding: 5px 0 5px 20px;
124 background-image: url(file.png);
125 background-repeat: no-repeat;
126 background-position: 0 7px;
129ul.search li a {
130 font-weight: bold;
133ul.search li p.context {
134 color: #888;
135 margin: 2px 0 0 30px;
136 text-align: left;
139ul.keywordmatches li.goodmatch a {
140 font-weight: bold;
143/* -- index page ------------------------------------------------------------ */
145table.contentstable {
146 width: 90%;
147 margin-left: auto;
148 margin-right: auto;
151table.contentstable p.biglink {
152 line-height: 150%;
155a.biglink {
156 font-size: 1.3em;
159span.linkdescr {
160 font-style: italic;
161 padding-top: 5px;
162 font-size: 90%;
165/* -- general index --------------------------------------------------------- */
167table.indextable {
168 width: 100%;
171table.indextable td {
172 text-align: left;
173 vertical-align: top;
176table.indextable ul {
177 margin-top: 0;
178 margin-bottom: 0;
179 list-style-type: none;
182table.indextable > tbody > tr > td > ul {
183 padding-left: 0em;
186table.indextable tr.pcap {
187 height: 10px;
190table.indextable tr.cap {
191 margin-top: 10px;
192 background-color: #f2f2f2;
195img.toggler {
196 margin-right: 3px;
197 margin-top: 3px;
198 cursor: pointer;
201div.modindex-jumpbox {
202 border-top: 1px solid #ddd;
203 border-bottom: 1px solid #ddd;
204 margin: 1em 0 1em 0;
205 padding: 0.4em;
208div.genindex-jumpbox {
209 border-top: 1px solid #ddd;
210 border-bottom: 1px solid #ddd;
211 margin: 1em 0 1em 0;
212 padding: 0.4em;
215/* -- domain module index --------------------------------------------------- */
217table.modindextable td {
218 padding: 2px;
219 border-collapse: collapse;
222/* -- general body styles --------------------------------------------------- */
224div.body {
225 min-width: 450px;
226 max-width: 800px;
229div.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;
236a.headerlink {
237 visibility: hidden;
240a.brackets:before,
241span.brackets > a:before{
242 content: "[";
245a.brackets:after,
246span.brackets > a:after {
247 content: "]";
250h1:hover > a.headerlink,
251h2:hover > a.headerlink,
252h3:hover > a.headerlink,
253h4:hover > a.headerlink,
254h5:hover > a.headerlink,
255h6:hover > a.headerlink,
256dt:hover > a.headerlink,
257caption:hover > a.headerlink,
258p.caption:hover > a.headerlink,
259div.code-block-caption:hover > a.headerlink {
260 visibility: visible;
263div.body p.caption {
264 text-align: inherit;
267div.body td {
268 text-align: left;
271.first {
272 margin-top: 0 !important;
275p.rubric {
276 margin-top: 30px;
277 font-weight: bold;
280img.align-left, figure.align-left, .figure.align-left, object.align-left {
281 clear: left;
282 float: left;
283 margin-right: 1em;
286img.align-right, figure.align-right, .figure.align-right, object.align-right {
287 clear: right;
288 float: right;
289 margin-left: 1em;
292img.align-center, figure.align-center, .figure.align-center, object.align-center {
293 display: block;
294 margin-left: auto;
295 margin-right: auto;
298img.align-default, figure.align-default, .figure.align-default {
299 display: block;
300 margin-left: auto;
301 margin-right: auto;
304.align-left {
305 text-align: left;
308.align-center {
309 text-align: center;
312.align-default {
313 text-align: center;
316.align-right {
317 text-align: right;
320/* -- sidebars -------------------------------------------------------------- */
322div.sidebar,
323aside.sidebar {
324 margin: 0 0 0.5em 1em;
325 border: 1px solid #ddb;
326 padding: 7px;
327 background-color: #ffe;
328 width: 40%;
329 float: right;
330 clear: right;
331 overflow-x: auto;
334p.sidebar-title {
335 font-weight: bold;
338div.admonition, div.topic, blockquote {
339 clear: left;
342/* -- topics ---------------------------------------------------------------- */
344div.topic {
345 border: 1px solid #ccc;
346 padding: 7px;
347 margin: 10px 0 10px 0;
350p.topic-title {
351 font-size: 1.1em;
352 font-weight: bold;
353 margin-top: 10px;
356/* -- admonitions ----------------------------------------------------------- */
358div.admonition {
359 margin-top: 10px;
360 margin-bottom: 10px;
361 padding: 7px;
364div.admonition dt {
365 font-weight: bold;
368p.admonition-title {
369 margin: 0px 10px 5px 0px;
370 font-weight: bold;
373div.body p.centered {
374 text-align: center;
375 margin-top: 25px;
378/* -- content of sidebars/topics/admonitions -------------------------------- */
380div.sidebar > :last-child,
381aside.sidebar > :last-child,
382div.topic > :last-child,
383div.admonition > :last-child {
384 margin-bottom: 0;
387div.sidebar::after,
388aside.sidebar::after,
389div.topic::after,
390div.admonition::after,
391blockquote::after {
392 display: block;
393 content: '';
394 clear: both;
397/* -- tables ---------------------------------------------------------------- */
399table.docutils {
400 margin-top: 10px;
401 margin-bottom: 10px;
402 border: 0;
403 border-collapse: collapse;
406table.align-center {
407 margin-left: auto;
408 margin-right: auto;
411table.align-default {
412 margin-left: auto;
413 margin-right: auto;
416table caption span.caption-number {
417 font-style: italic;
420table caption span.caption-text {
423table.docutils td, table.docutils th {
424 padding: 1px 8px 1px 5px;
425 border-top: 0;
426 border-left: 0;
427 border-right: 0;
428 border-bottom: 1px solid #aaa;
431table.footnote td, table.footnote th {
432 border: 0 !important;
435th {
436 text-align: left;
437 padding-right: 5px;
440table.citation {
441 border-left: solid 1px gray;
442 margin-left: 1px;
445table.citation td {
446 border-bottom: none;
449th > :first-child,
450td > :first-child {
451 margin-top: 0px;
454th > :last-child,
455td > :last-child {
456 margin-bottom: 0px;
459/* -- figures --------------------------------------------------------------- */
461div.figure, figure {
462 margin: 0.5em;
463 padding: 0.5em;
466div.figure p.caption, figcaption {
467 padding: 0.3em;
470div.figure p.caption span.caption-number,
471figcaption span.caption-number {
472 font-style: italic;
475div.figure p.caption span.caption-text,
476figcaption span.caption-text {
479/* -- field list styles ----------------------------------------------------- */
481table.field-list td, table.field-list th {
482 border: 0 !important;
485.field-list ul {
486 margin: 0;
487 padding-left: 1em;
490.field-list p {
491 margin: 0;
494.field-name {
495 -moz-hyphens: manual;
496 -ms-hyphens: manual;
497 -webkit-hyphens: manual;
498 hyphens: manual;
501/* -- hlist styles ---------------------------------------------------------- */
503table.hlist {
504 margin: 1em 0;
507table.hlist td {
508 vertical-align: top;
511/* -- object description styles --------------------------------------------- */
513.sig {
514 font-family: 'Consolas', 'Menlo', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', monospace;
517.sig-name, code.descname {
518 background-color: transparent;
519 font-weight: bold;
522.sig-name {
523 font-size: 1.1em;
526code.descname {
527 font-size: 1.2em;
530.sig-prename, code.descclassname {
531 background-color: transparent;
534.optional {
535 font-size: 1.3em;
538.sig-paren {
539 font-size: larger;
542.sig-param.n {
543 font-style: italic;
546/* C++ specific styling */
548.sig-inline.c-texpr,
549.sig-inline.cpp-texpr {
550 font-family: unset;
553.sig.c .k, .sig.c .kt,
554.sig.cpp .k, .sig.cpp .kt {
555 color: #0033B3;
558.sig.c .m,
559.sig.cpp .m {
560 color: #1750EB;
563.sig.c .s, .sig.c .sc,
564.sig.cpp .s, .sig.cpp .sc {
565 color: #067D17;
569/* -- other body styles ----------------------------------------------------- */
571ol.arabic {
572 list-style: decimal;
575ol.loweralpha {
576 list-style: lower-alpha;
579ol.upperalpha {
580 list-style: upper-alpha;
583ol.lowerroman {
584 list-style: lower-roman;
587ol.upperroman {
588 list-style: upper-roman;
591:not(li) > ol > li:first-child > :first-child,
592:not(li) > ul > li:first-child > :first-child {
593 margin-top: 0px;
596:not(li) > ol > li:last-child > :last-child,
597:not(li) > ul > li:last-child > :last-child {
598 margin-bottom: 0px;
601ol.simple ol p,
602ol.simple ul p,
603ul.simple ol p,
604ul.simple ul p {
605 margin-top: 0;
608ol.simple > li:not(:first-child) > p,
609ul.simple > li:not(:first-child) > p {
610 margin-top: 0;
613ol.simple p,
614ul.simple p {
615 margin-bottom: 0;
618dl.footnote > dt,
619dl.citation > dt {
620 float: left;
621 margin-right: 0.5em;
624dl.footnote > dd,
625dl.citation > dd {
626 margin-bottom: 0em;
629dl.footnote > dd:after,
630dl.citation > dd:after {
631 content: "";
632 clear: both;
635dl.field-list {
636 display: grid;
637 grid-template-columns: fit-content(30%) auto;
640dl.field-list > dt {
641 font-weight: bold;
642 word-break: break-word;
643 padding-left: 0.5em;
644 padding-right: 5px;
647dl.field-list > dt:after {
648 content: ":";
651dl.field-list > dd {
652 padding-left: 0.5em;
653 margin-top: 0em;
654 margin-left: 0em;
655 margin-bottom: 0em;
658dl {
659 margin-bottom: 15px;
662dd > :first-child {
663 margin-top: 0px;
666dd ul, dd table {
667 margin-bottom: 10px;
670dd {
671 margin-top: 3px;
672 margin-bottom: 10px;
673 margin-left: 30px;
676dl > dd:last-child,
677dl > dd:last-child > :last-child {
678 margin-bottom: 0;
681dt:target, span.highlighted {
682 background-color: #fbe54e;
685rect.highlighted {
686 fill: #fbe54e;
689dl.glossary dt {
690 font-weight: bold;
691 font-size: 1.1em;
694.versionmodified {
695 font-style: italic;
698.system-message {
699 background-color: #fda;
700 padding: 5px;
701 border: 3px solid red;
704.footnote:target {
705 background-color: #ffa;
708.line-block {
709 display: block;
710 margin-top: 1em;
711 margin-bottom: 1em;
714.line-block .line-block {
715 margin-top: 0;
716 margin-bottom: 0;
717 margin-left: 1.5em;
720.guilabel, .menuselection {
721 font-family: sans-serif;
724.accelerator {
725 text-decoration: underline;
728.classifier {
729 font-style: oblique;
732.classifier:before {
733 font-style: normal;
734 margin: 0 0.5em;
735 content: ":";
736 display: inline-block;
739abbr, acronym {
740 border-bottom: dotted 1px;
741 cursor: help;
744/* -- code displays --------------------------------------------------------- */
746pre {
747 overflow: auto;
748 overflow-y: hidden; /* fixes display issues on Chrome browsers */
751pre, div[class*="highlight-"] {
752 clear: both;
755span.pre {
756 -moz-hyphens: none;
757 -ms-hyphens: none;
758 -webkit-hyphens: none;
759 hyphens: none;
762div[class*="highlight-"] {
763 margin: 1em 0;
766td.linenos pre {
767 border: 0;
768 background-color: transparent;
769 color: #aaa;
772table.highlighttable {
773 display: block;
776table.highlighttable tbody {
777 display: block;
780table.highlighttable tr {
781 display: flex;
784table.highlighttable td {
785 margin: 0;
786 padding: 0;
789table.highlighttable td.linenos {
790 padding-right: 0.5em;
793table.highlighttable td.code {
794 flex: 1;
795 overflow: hidden;
798.highlight .hll {
799 display: block;
802div.highlight pre,
803table.highlighttable pre {
804 margin: 0;
807div.code-block-caption + div {
808 margin-top: 0;
811div.code-block-caption {
812 margin-top: 1em;
813 padding: 2px 5px;
814 font-size: small;
817div.code-block-caption code {
818 background-color: transparent;
821table.highlighttable td.linenos,
822span.linenos,
823div.highlight span.gp { /* gp: Generic.Prompt */
824 user-select: none;
825 -webkit-user-select: text; /* Safari fallback only */
826 -webkit-user-select: none; /* Chrome/Safari */
827 -moz-user-select: none; /* Firefox */
828 -ms-user-select: none; /* IE10+ */
831div.code-block-caption span.caption-number {
832 padding: 0.1em 0.3em;
833 font-style: italic;
836div.code-block-caption span.caption-text {
839div.literal-block-wrapper {
840 margin: 1em 0;
843code.xref, a code {
844 background-color: transparent;
845 font-weight: bold;
848h1 code, h2 code, h3 code, h4 code, h5 code, h6 code {
849 background-color: transparent;
852.viewcode-link {
853 float: right;
856.viewcode-back {
857 float: right;
858 font-family: sans-serif;
861div.viewcode-block:target {
862 margin: -1px -10px;
863 padding: 0 10px;
866/* -- math display ---------------------------------------------------------- */
868img.math {
869 vertical-align: middle;
872div.body div.math p {
873 text-align: center;
876span.eqno {
877 float: right;
880span.eqno a.headerlink {
881 position: absolute;
882 z-index: 1;
885div.math:hover a.headerlink {
886 visibility: visible;
889/* -- printout stylesheet --------------------------------------------------- */
891@media print {
892 div.document,
893 div.documentwrapper,
894 div.bodywrapper {
895 margin: 0 !important;
896 width: 100%;
897 }
899 div.sphinxsidebar,
900 div.related,
901 div.footer,
902 #top-link {
903 display: none;
904 }