on master help sign in
docs(css): render HTML rst-example slightly more discreet

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>

commitb91e07bbf156241f6236b7e26d389e10e37553a3 authorMarkus Heiser <markus.heiser@darmarit.de> dateSat 28 Dec 2019, 01:26 (7 years ago) parentd1892b2
1 file changed+17−16
docs/_themes/searx/static/searx.css+17−16
docs/_themes/searx/static/searx.css+17−16
@@ -24,10 +24,12 @@ p.sidebar-title, .sidebar p {
2424 margin: 6pt;
2525}
2626
27−.sidebar li {
27+.sidebar li,
28+.hlist li {
2829 list-style-type: disclosure-closed;
2930}
3031
32+
3133/* admonitions
3234*/
3335
@@ -69,25 +71,24 @@ p.admonition-title:after {
6971*/
7072
7173div.rst-example {
72− padding-left: 12px;
73− padding-right: 12px;
7474 background-color: inherit;
75− transform: scale(0.9);
76− transition: transform 1s;
75+ margin: 0;
76+ border-top: none;
77+ border-right: 1px solid #ccc;
78+ border-bottom: none;
7779 border-left: none;
80+ border-radius: none;
81+ padding: 0;
7882}
7983
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 {
89− display: none;
90− }
84+div.rst-example > p.admonition-title {
85+ font-family: Sans Serif;
86+ font-style: italic;
87+ font-size: 0.8em;
88+ display: block;
89+ border-bottom: 1px solid #ccc;
90+ padding: 0.5em 1em;
91+ text-align: right;
9192}
9293
9394/* code block in figures