diff --git a/assets/styles/root.css b/assets/styles/root.css index 506975a..3cabf93 100644 --- a/assets/styles/root.css +++ b/assets/styles/root.css @@ -386,11 +386,22 @@ main { } main > :first-child, -main > article > :first-child { margin-block-start: 0; } +main > article > :first-child, +main > section > :first-child { + margin-block-start: 0; +} + main > :not(:last-child), -main > article > :not(:last-child) { margin-block-end: var(--body-item-spacing); } +main > article > :not(:last-child), +main > section > :not(:last-child) { + margin-block-end: var(--body-item-spacing); +} + main > :last-child, -main > article > :last-child { margin-block-end: 0; } +main > article > :last-child, +main > section > :last-child { + margin-block-end: 0; +} nav.bulleted > li:first-child::before { color: var(--html-color); diff --git a/layouts/_default/term.html b/layouts/_default/term.html index 5ae43d7..d3e74b5 100644 --- a/layouts/_default/term.html +++ b/layouts/_default/term.html @@ -7,6 +7,12 @@