summaryrefslogtreecommitdiff
path: root/docs/_themes
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarit.de>2020-06-18 19:02:22 +0200
committerMarkus Heiser <markus.heiser@darmarit.de>2020-06-18 19:02:22 +0200
commit0616684baa58b86cac5df6546432d4372f965fe2 (patch)
tree3e056ebdc13610fa4e6a4f73ac9d0d044f10ba78 /docs/_themes
parenta5e82f98013eb76acc373c397bec7c694adad403 (diff)
downloadsearxng-0616684baa58b86cac5df6546432d4372f965fe2.tar.gz
searxng-0616684baa58b86cac5df6546432d4372f965fe2.zip
[fix] sphinx 3.1 CSS issues
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 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'docs/_themes')
-rw-r--r--docs/_themes/searx/static/searx.css29
1 files changed, 29 insertions, 0 deletions
diff --git a/docs/_themes/searx/static/searx.css b/docs/_themes/searx/static/searx.css
index ae742a4e0..0f2eff728 100644
--- a/docs/_themes/searx/static/searx.css
+++ b/docs/_themes/searx/static/searx.css
@@ -138,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;
+}