summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTakeshi KOMIYA <i.tkomiya@gmail.com>2021-04-07 23:46:40 +0900
committerGitHub <noreply@github.com>2021-04-07 23:46:40 +0900
commitea6c62a6c5a4b2a9442c1e79988af01f06a11601 (patch)
tree65c4b9a08bf28cff8ca3674c6ec16a2ffcb9499d
parent64b69ad565304468cd3212190851759ab4b68fa1 (diff)
parentfa88bb2b8362d2466c2b7951c4bb4858ba88d120 (diff)
downloadsphinx-git-ea6c62a6c5a4b2a9442c1e79988af01f06a11601.tar.gz
Merge pull request #9059 from mgeier/sidebar-css
CSS: support for aside.sidebar (from docutils 0.17+)
-rw-r--r--sphinx/themes/basic/static/basic.css_t5
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 {