diff --git a/CHANGES.txt b/CHANGES.txt index f7c4b91c58..bb2381b78b 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -9,6 +9,7 @@ Features Bugfixes -------- +* Fix margins of paragraphs at the end of sections (Issue #3704) * Ignore ``.DS_Store`` files in listing indexes (Issue #3698) * Fix baguetteBox.js invoking in the base theme (Issue #3687) diff --git a/nikola/data/themes/base/assets/css/rst_base.css b/nikola/data/themes/base/assets/css/rst_base.css index b14590389d..d5aa552ac8 100644 --- a/nikola/data/themes/base/assets/css/rst_base.css +++ b/nikola/data/themes/base/assets/css/rst_base.css @@ -72,10 +72,11 @@ span.problematic { margin-top: 0; margin-bottom: 0; } -/* Nested Paragraphs */ +/* Nested Paragraphs p:first-child { margin-top: 0; } p:last-child { margin-bottom: 0; } details > p:last-child { margin-bottom: 1em; } + */ /* Table of Contents */ .contents ul.auto-toc { /* section numbers present */