Skip to content

Commit

Permalink
Adds SASS rules for aside.footnote to match former footnote font colo…
Browse files Browse the repository at this point in the history
…r+size
  • Loading branch information
benjaoming committed Oct 5, 2022
1 parent 48b1cd5 commit bddcb77
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions src/sass/_theme_rst.sass
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit bddcb77

Please sign in to comment.