From 8ec0bf6da346b454c78efe155b71ae977dff0184 Mon Sep 17 00:00:00 2001 From: Helen Chong <119173961+helenclx@users.noreply.github.com> Date: Mon, 15 Apr 2024 12:11:33 +0800 Subject: [PATCH] Adjust h1 and main heading spacing --- src/assets/css/main.css | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/assets/css/main.css b/src/assets/css/main.css index b84c2cd3..de833657 100644 --- a/src/assets/css/main.css +++ b/src/assets/css/main.css @@ -131,8 +131,8 @@ h1 { color: var(--clr-main-heading); font-size: 2.2rem; border-bottom: 0.18rem solid var(--clr-title-border); - margin-bottom: 1.2rem; - text-align: center; + padding-bottom: 0.3em; + margin-bottom: 0.5em; } h2, h3, h4, h5, h6 { @@ -269,6 +269,7 @@ main { .main__header { background-color: var(--clr-quote-bg); + text-align: center; } .article, @@ -686,4 +687,4 @@ main { #f5a9b8 0 80%, #5bcefa 0 100% ); -} +} \ No newline at end of file