From d24f7ca6b57052eaf0843d56da46e1bfc71aa7f5 Mon Sep 17 00:00:00 2001 From: Daniele Procida Date: Fri, 15 Sep 2017 00:23:46 +0200 Subject: [PATCH] Added `.admonition` to the CSS (#462) Now generic admonitions are styled too. --- sass/_theme_rst.sass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sass/_theme_rst.sass b/sass/_theme_rst.sass index ef0ebda6..fb807e82 100644 --- a/sass/_theme_rst.sass +++ b/sass/_theme_rst.sass @@ -50,7 +50,7 @@ .literal-block, pre.literal-block @extend .codeblock // These are the various note pullouts that sphinx applies - .note, .attention, .caution, .danger, .error, .hint, .important, .tip, .warning, .seealso, .admonition-todo + .note, .attention, .caution, .danger, .error, .hint, .important, .tip, .warning, .seealso, .admonition-todo, .admonition @extend .wy-alert .last margin-bottom: 0 @@ -119,7 +119,7 @@ display: inline-block &:hover .headerlink display: inline-block - + .centered text-align: center