From 49cc8dee5d39dc1baa3a60f933e638459056fc7c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Moritz=20St=C3=BCckler?= Date: Wed, 27 Aug 2025 16:33:44 +0200 Subject: [PATCH] fix: use type scale for headline sizes --- sass/_fonts.scss | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/sass/_fonts.scss b/sass/_fonts.scss index 9a30ba799..e70d42964 100644 --- a/sass/_fonts.scss +++ b/sass/_fonts.scss @@ -31,27 +31,32 @@ h5 { line-height: 1.3; } +// These headlines are using a "minor third" type scale (scaling factor is 1.2) h1 { margin-top: 0; - font-size: 2.441rem; + font-size: 2.986rem; } h2 { - font-size: 1.953rem; + font-size: 2.488rem; margin-block: 2rem .5rem; } h3 { - font-size: 1.563rem; + font-size: 2.074rem; margin-block: 1.5rem .5rem; } h4 { - font-size: 1.25rem; + font-size: 1.728rem; } h5 { - font-size: 0.8rem; + font-size: 1.44rem; +} + +h6 { + font-size: 1.2rem; } h2+h3 {