summaryrefslogtreecommitdiff
path: root/sphinx/themes/basic
diff options
context:
space:
mode:
authorMatthias Geier <Matthias.Geier@gmail.com>2020-06-27 17:57:27 +0200
committerMatthias Geier <Matthias.Geier@gmail.com>2020-07-05 10:32:39 +0200
commit3098aba3431eb8c40ea052d6b8fc90328802c389 (patch)
tree3df11af9c2f7ee0498c2f78477bb4d9c7abb9270 /sphinx/themes/basic
parent045fc6807820ba1a1976799a237cc01cfc8403c8 (diff)
downloadsphinx-git-3098aba3431eb8c40ea052d6b8fc90328802c389.tar.gz
basic CSS: apply "clearfix" to admonitions etc.
Diffstat (limited to 'sphinx/themes/basic')
-rw-r--r--sphinx/themes/basic/static/basic.css_t15
1 files changed, 15 insertions, 0 deletions
diff --git a/sphinx/themes/basic/static/basic.css_t b/sphinx/themes/basic/static/basic.css_t
index 53e685061..a22ef80d4 100644
--- a/sphinx/themes/basic/static/basic.css_t
+++ b/sphinx/themes/basic/static/basic.css_t
@@ -15,6 +15,12 @@ div.clearer {
clear: both;
}
+div.section::after {
+ display: block;
+ content: '';
+ clear: left;
+}
+
/* -- relbar ---------------------------------------------------------------- */
div.related {
@@ -376,6 +382,15 @@ div.admonition > :last-child {
margin-bottom: 0;
}
+div.sidebar::after,
+div.topic::after,
+div.admonition::after,
+blockquote::after {
+ display: block;
+ content: '';
+ clear: both;
+}
+
/* -- tables ---------------------------------------------------------------- */
table.docutils {