From 468ccd44a65dee3fa9f574bbdc72689fc3a220e1 Mon Sep 17 00:00:00 2001 From: Chris Lawton <31627284+chris-lawton@users.noreply.github.com> Date: Thu, 13 Jun 2024 15:40:49 +0100 Subject: [PATCH] Update typography sizes and reduce spacing (#472) --- wagtailio/static/sass/base/_typography.scss | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/wagtailio/static/sass/base/_typography.scss b/wagtailio/static/sass/base/_typography.scss index 1b9996f4d..2f2095e1c 100644 --- a/wagtailio/static/sass/base/_typography.scss +++ b/wagtailio/static/sass/base/_typography.scss @@ -14,7 +14,7 @@ h3, h4, h5, h6 { - margin: 0 0 20px; + margin: 0 0 15px; font-weight: $weight--bold; } @@ -38,8 +38,8 @@ h1, letter-spacing: -0.01em; @include media-query(large) { - font-size: 4.5rem; - line-height: 5.4rem; + font-size: 3.8rem; + line-height: 4.8rem; } } @@ -49,8 +49,8 @@ h2, line-height: 2.125rem; @include media-query(large) { - font-size: 2.25rem; - line-height: 2.9rem; + font-size: 1.7rem; + line-height: 2.3rem; } } @@ -80,7 +80,7 @@ h4, font-size: 1.25rem; line-height: 1.9375rem; font-weight: $weight--regular; - + @include media-query(large) { font-size: 1.25rem; line-height: 1.85rem; @@ -115,8 +115,8 @@ h4, margin: 0 0 20px; @include media-query(large) { - font-size: 2rem; - line-height: 2.6rem; + font-size: 1.7rem; + line-height: 2.3rem; } }