diff options
author | Matthias Geier <Matthias.Geier@gmail.com> | 2020-05-12 14:22:53 +0300 |
---|---|---|
committer | Matthias Geier <Matthias.Geier@gmail.com> | 2020-05-12 14:22:53 +0300 |
commit | aad6c2d489689bb1dcac390a9ace8981819f2684 (patch) | |
tree | 9645d45f0e51932b3fc461634bcaafc627c8c5b4 /sphinx/themes/basic/static/basic.css_t | |
parent | 1b9e52613e8c498c80bc9051e60270a5cac0a052 (diff) |
basic CSS: Remove margin-bottom from last child in sidebar/topic/admonition
Diffstat (limited to 'sphinx/themes/basic/static/basic.css_t')
-rw-r--r-- | sphinx/themes/basic/static/basic.css_t | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/sphinx/themes/basic/static/basic.css_t b/sphinx/themes/basic/static/basic.css_t index e572959be..1adf01368 100644 --- a/sphinx/themes/basic/static/basic.css_t +++ b/sphinx/themes/basic/static/basic.css_t @@ -360,10 +360,6 @@ div.admonition dt { font-weight: bold; } -div.admonition dl { - margin-bottom: 0; -} - p.admonition-title { margin: 0px 10px 5px 0px; font-weight: bold; @@ -374,6 +370,14 @@ div.body p.centered { margin-top: 25px; } +/* -- content of sidebars/topics/admonitions -------------------------------- */ + +div.sidebar > :last-child, +div.topic > :last-child, +div.admonition > :last-child { + margin-bottom: 0; +} + /* -- tables ---------------------------------------------------------------- */ table.docutils { |