From 8c15f0c9070d97814c18d1cbb66c931dd9d933f3 Mon Sep 17 00:00:00 2001 From: Deimos Date: Tue, 28 May 2019 12:22:49 -0600 Subject: [PATCH] Reduce spacing of more consecutive wiki headers --- tildes/scss/modules/_text.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tildes/scss/modules/_text.scss b/tildes/scss/modules/_text.scss index ca03d94..e347c22 100644 --- a/tildes/scss/modules/_text.scss +++ b/tildes/scss/modules/_text.scss @@ -27,8 +27,8 @@ margin-top: 2rem; } - // smaller margin when an h2 is directly after an h1 - h1 + h2 { + // smaller margin when two large headers are sequential + h1 + h1, h1 + h2, h2 + h2 { margin-top: 1rem; }