diff --git a/assets/style.scss b/assets/style.scss index 788e6f0..434171c 100644 --- a/assets/style.scss +++ b/assets/style.scss @@ -20,7 +20,6 @@ body { } header { - margin-bottom: 1em; } main { @@ -51,8 +50,12 @@ footer { } h1, h2, h3, h4, h5, h6, p, ul { - margin-bottom: 0.5em; + margin-top: 0.5em; padding: 0 0.5rem; + + &:last-child { + margin-bottom: 0.5em; + } } h1, h2, h3, h4, h5, h6 { @@ -64,7 +67,7 @@ h1 { } figure { - margin-bottom: 1rem; + margin: 1rem 0; img { max-width: 100%;