diff --git a/scss/template/_typography.scss b/scss/template/_typography.scss index c87dd6e..a807a78 100644 --- a/scss/template/_typography.scss +++ b/scss/template/_typography.scss @@ -61,8 +61,7 @@ h3 { letter-spacing: -1px; } -h1 + h2 { - margin: -2rem 0 2rem 0; +h1 ~ h2 { font-size: 2rem; @include breakpoint(tablet-range) { font-size: 1.6rem; @@ -76,8 +75,12 @@ h1 + h2 { font-weight: 300; } -h2 + h3 { - margin: 0.5rem 0 2rem 0; +// When no content in-between +h1 + h2 { + margin: -2rem 0 2rem 0; +} + +h2 ~ h3 { font-size: 2rem; @include breakpoint(tablet-range) { font-size: 1.6rem; @@ -91,6 +94,10 @@ h2 + h3 { font-weight: 300; } +// When no content in-between +h2 + h3 { + margin: 0.5rem 0 2rem 0; +} // Blockquote blockquote {