diff --git a/src/theme/book.css b/src/theme/book.css index 7a464cdd..80160288 100644 --- a/src/theme/book.css +++ b/src/theme/book.css @@ -47,6 +47,17 @@ table td { table thead td { font-weight: 700; } +:not(.footnote-definition) + .footnote-definition, +.footnote-definition + :not(.footnote-definition) { + margin-top: 2em; +} +.footnote-definition { + font-size: 0.9em; + margin: 0.5em 0; +} +.footnote-definition p { + display: inline; +} .sidebar { position: fixed; left: 0; diff --git a/src/theme/stylus/general.styl b/src/theme/stylus/general.styl index dbbedabb..c4a4b023 100644 --- a/src/theme/stylus/general.styl +++ b/src/theme/stylus/general.styl @@ -48,3 +48,15 @@ table { td { font-weight: 700; } } } + +:not(.footnote-definition) + .footnote-definition, +.footnote-definition + :not(.footnote-definition) { + margin-top: 2em; +} + +.footnote-definition { + font-size: 0.9em; + margin: 0.5em 0; + + p { display: inline; } +}