diff options
author | Matthias Geier <Matthias.Geier@gmail.com> | 2021-04-04 15:17:53 +0200 |
---|---|---|
committer | Matthias Geier <Matthias.Geier@gmail.com> | 2021-04-07 15:55:54 +0200 |
commit | fa88bb2b8362d2466c2b7951c4bb4858ba88d120 (patch) | |
tree | 65c4b9a08bf28cff8ca3674c6ec16a2ffcb9499d | |
parent | 64b69ad565304468cd3212190851759ab4b68fa1 (diff) | |
download | sphinx-git-fa88bb2b8362d2466c2b7951c4bb4858ba88d120.tar.gz |
CSS: support for aside.sidebar (from docutils 0.17+)
-rw-r--r-- | sphinx/themes/basic/static/basic.css_t | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sphinx/themes/basic/static/basic.css_t b/sphinx/themes/basic/static/basic.css_t index 3bb3ea705..5fc83c848 100644 --- a/sphinx/themes/basic/static/basic.css_t +++ b/sphinx/themes/basic/static/basic.css_t @@ -319,7 +319,8 @@ img.align-default, .figure.align-default { /* -- sidebars -------------------------------------------------------------- */ -div.sidebar { +div.sidebar, +aside.sidebar { margin: 0 0 0.5em 1em; border: 1px solid #ddb; padding: 7px; @@ -377,12 +378,14 @@ div.body p.centered { /* -- content of sidebars/topics/admonitions -------------------------------- */ div.sidebar > :last-child, +aside.sidebar > :last-child, div.topic > :last-child, div.admonition > :last-child { margin-bottom: 0; } div.sidebar::after, +aside.sidebar::after, div.topic::after, div.admonition::after, blockquote::after { |