summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarit.de>2019-12-28 01:26:24 +0100
committerMarkus Heiser <markus.heiser@darmarit.de>2019-12-28 01:26:24 +0100
commitb91e07bbf156241f6236b7e26d389e10e37553a3 (patch)
tree74c5ca5d49c9b62508d9a68addfe45a409e9f39e
parentd1892b211268d958e4134c82328ba1e6065a7fa3 (diff)
downloadsearxng-b91e07bbf156241f6236b7e26d389e10e37553a3.tar.gz
searxng-b91e07bbf156241f6236b7e26d389e10e37553a3.zip
docs(css): render HTML rst-example slightly more discreet
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
-rw-r--r--docs/_themes/searx/static/searx.css33
1 files changed, 17 insertions, 16 deletions
diff --git a/docs/_themes/searx/static/searx.css b/docs/_themes/searx/static/searx.css
index 05bbb49da..d6a664f0f 100644
--- a/docs/_themes/searx/static/searx.css
+++ b/docs/_themes/searx/static/searx.css
@@ -24,10 +24,12 @@ p.sidebar-title, .sidebar p {
margin: 6pt;
}
-.sidebar li {
+.sidebar li,
+.hlist li {
list-style-type: disclosure-closed;
}
+
/* admonitions
*/
@@ -69,25 +71,24 @@ p.admonition-title:after {
*/
div.rst-example {
- padding-left: 12px;
- padding-right: 12px;
background-color: inherit;
- transform: scale(0.9);
- transition: transform 1s;
+ margin: 0;
+ border-top: none;
+ border-right: 1px solid #ccc;
+ border-bottom: none;
border-left: none;
+ border-radius: none;
+ padding: 0;
}
-@media screen {
- div.rst-example:hover {
- transform: scale(1);
- padding-left: inherit;
- padding-right: inherit;
- border-left: inherit;
- }
-
- div.rst-example:hover > .admonition-title {
- display: none;
- }
+div.rst-example > p.admonition-title {
+ font-family: Sans Serif;
+ font-style: italic;
+ font-size: 0.8em;
+ display: block;
+ border-bottom: 1px solid #ccc;
+ padding: 0.5em 1em;
+ text-align: right;
}
/* code block in figures