summaryrefslogtreecommitdiff
path: root/docs/_themes/searx/static
diff options
context:
space:
mode:
authorJohannes 'josch' Schauer <josch@debian.org>2020-07-14 16:26:13 +0200
committerJohannes 'josch' Schauer <josch@debian.org>2020-07-14 16:26:13 +0200
commit075e7e02683d9db1b303de8e8c17ff7da4c62510 (patch)
tree72d3ed7514879810445f4309e641e29d9c57d02d /docs/_themes/searx/static
parent61b98ca52e8d48a6ad3b4baed5feb4b38ee53804 (diff)
New upstream version 0.17.0+dfsg1
Diffstat (limited to 'docs/_themes/searx/static')
-rw-r--r--docs/_themes/searx/static/searx.css41
1 files changed, 40 insertions, 1 deletions
diff --git a/docs/_themes/searx/static/searx.css b/docs/_themes/searx/static/searx.css
index d6a664f..0f2eff7 100644
--- a/docs/_themes/searx/static/searx.css
+++ b/docs/_themes/searx/static/searx.css
@@ -33,7 +33,7 @@ p.sidebar-title, .sidebar p {
/* admonitions
*/
-div.admonition, div.topic {
+div.admonition, div.topic, div.toctree-wrapper {
background-color: #fafafa;
margin: 8px 0px;
padding: 1em;
@@ -42,6 +42,16 @@ div.admonition, div.topic {
border-right: none;
border-bottom: none;
border-left: 5pt solid #ccc;
+ list-style-type: disclosure-closed;
+}
+
+div.toctree-wrapper p.caption {
+ font-weight: normal;
+ font-size: 24px;
+ margin: 0 0 10px 0;
+ padding: 0;
+ line-height: 1;
+ display: inline;
}
p.admonition-title:after {
@@ -128,3 +138,32 @@ caption {
caption-side: top;
text-align: left;
}
+
+/* bugs since sphinx 3.1
+
+See sphinx-doc project, PR 7838 & 7484 with elementary patch to the basic CSS:
+
+- https://github.com/sphinx-doc/sphinx/issues/7838#issuecomment-646009605
+- https://github.com/sphinx-doc/sphinx/pull/7484#issuecomment-646058972
+
+*/
+
+li > p:first-child {
+ margin-top: 0;
+}
+
+li > p:last-child {
+ margin-bottom: 0;
+}
+
+div.admonition dl {
+ margin-bottom: 0;
+}
+
+div.sidebar {
+ clear: none;
+}
+
+div.admonition, div.topic, pre {
+ clear: none;
+}