on master help sign in
docs(css): render HTML rst-example slightly more discreet
b91e07bMarkus Heiser
docs/_themes/searx/static/searx.css+17−16
@@ -24,10 +24,12 @@ p.sidebar-title, .sidebar p {
24 margin: 6pt;
24 margin: 6pt;
25}
25}
26
26
27−.sidebar li {
27+.sidebar li,
28+.hlist li {
28 list-style-type: disclosure-closed;
29 list-style-type: disclosure-closed;
29}
30}
30
31
32+
31/* admonitions
33/* admonitions
32*/
34*/
33
35
@@ -69,25 +71,24 @@ p.admonition-title:after {
69*/
71*/
70
72
71div.rst-example {
73div.rst-example {
72− padding-left: 12px;
73− padding-right: 12px;
74 background-color: inherit;
74 background-color: inherit;
75− transform: scale(0.9);
75+ margin: 0;
76− transition: transform 1s;
76+ border-top: none;
77+ border-right: 1px solid #ccc;
78+ border-bottom: none;
77 border-left: none;
79 border-left: none;
80+ border-radius: none;
81+ padding: 0;
78}
82}
79
83
80−@media screen {
81− div.rst-example:hover {
82− transform: scale(1);
83− padding-left: inherit;
84− padding-right: inherit;
85− border-left: inherit;
86− }
87−
88− div.rst-example:hover > .admonition-title {
84+div.rst-example > p.admonition-title {
85+ font-family: Sans Serif;
86+ font-style: italic;
87+ font-size: 0.8em;
89− display: none;
88+ display: block;
90− }
89+ border-bottom: 1px solid #ccc;
90+ padding: 0.5em 1em;
91+ text-align: right;
91}
92}
92
93
93/* code block in figures
94/* code block in figures