From bddcb7772b8903467fb8d331ffca6863e617eab6 Mon Sep 17 00:00:00 2001 From: Benjamin Bach Date: Wed, 5 Oct 2022 13:49:32 +0200 Subject: [PATCH] Adds SASS rules for aside.footnote to match former footnote font color+size --- src/sass/_theme_rst.sass | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/src/sass/_theme_rst.sass b/src/sass/_theme_rst.sass index 89d3e689d..1c765a522 100644 --- a/src/sass/_theme_rst.sass +++ b/src/sass/_theme_rst.sass @@ -347,8 +347,11 @@ font-size: 0.9rem // docutils >= 0.18 - aside.footnote + aside.footnote, + div.citation font-size: 0.9rem + p, span.label + font-size: 0.9rem aside.footnote > span, div.citation > span @@ -359,8 +362,13 @@ margin-left: 2rem // Both - html.writer-html4 & table.docutils.citation, table.docutils.footnote, - html.writer-html5 & dl.footnote, dl.citation, aside.footnote + html.writer-html4 & table.docutils.citation, + html.writer-html4 & table.docutils.footnote, + html.writer-html5 & dl.footnote, + html.writer-html5 & dl.citation, + // For some odd reason, with docutils 0.18, this is a div.citation not aside.citation + html.writer-html5 & div.citation, + html.writer-html5 & aside.footnote color: $text-medium code color: $gray