diff options
author | Matthias Geier <Matthias.Geier@gmail.com> | 2020-06-27 18:57:27 +0300 |
---|---|---|
committer | Matthias Geier <Matthias.Geier@gmail.com> | 2020-07-05 11:32:39 +0300 |
commit | 3098aba3431eb8c40ea052d6b8fc90328802c389 (patch) | |
tree | 3df11af9c2f7ee0498c2f78477bb4d9c7abb9270 /sphinx/themes/basic/static/basic.css_t | |
parent | 045fc6807820ba1a1976799a237cc01cfc8403c8 (diff) |
basic CSS: apply "clearfix" to admonitions etc.
Diffstat (limited to 'sphinx/themes/basic/static/basic.css_t')
-rw-r--r-- | sphinx/themes/basic/static/basic.css_t | 15 |
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 { |