From 3ba508febb45de42d122c0609aaa742d24a2dd05 Mon Sep 17 00:00:00 2001 From: Laura Kalbag Date: Wed, 26 Sep 2018 17:17:55 +0100 Subject: [PATCH] Improve margins above and below H1s. Make slightly larger too. --- common/static/styles/common.css | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/common/static/styles/common.css b/common/static/styles/common.css index 7f873bd..e659b88 100644 --- a/common/static/styles/common.css +++ b/common/static/styles/common.css @@ -249,17 +249,17 @@ h1, h2, h3, h4 { @media only screen and (min-width: 33.4em) { - h1, h2, h3, h4 + h2, h3, h4 { margin: 2em 0 1em; } } h1 { - font-size: 2em; + font-size: 2.5em; font-weight: bold; /* ↓ as h1s are always at the top of the page */ - margin-top: 1em; + margin: 0.5em 0; text-align: center; } -- GitLab