Fix top margins of h5's after lists

Prevent unbalanced h5 titles in regards to their contents.

Fixes #192.
This commit is contained in:
atse 2025-06-03 10:58:52 +08:00
parent 9998d9a86a
commit 133ea9c51f

View File

@ -58,6 +58,10 @@ ul, ol {
margin-left: $spacing-unit;
}
ul ~ h5, ol ~ h5 {
margin-top: 3rem;
}
li {
> ul,
> ol {