From 8ff3ea2933fd8ce64e82666a4aaa155dad615605 Mon Sep 17 00:00:00 2001 From: Kazhnuz Date: Sun, 22 Sep 2024 18:33:17 +0200 Subject: [PATCH] feat: simplification taille --- scss/clear-typography.scss | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/scss/clear-typography.scss b/scss/clear-typography.scss index cdcf423..81729ef 100644 --- a/scss/clear-typography.scss +++ b/scss/clear-typography.scss @@ -4,8 +4,7 @@ } // Change these two variables for styling -$baseheight: 18px; -$baseline: 1.75; +$baseline: 1.6; // Don't change this one, it's just to // make code more readable @@ -20,14 +19,14 @@ $lineheight: $baseline * 1rem; html { font-family: var(--font-family); text-align: left; - font-size: $baseheight; + font-size: 17px; } body { line-height: $lineheight; color: #444; font-weight: 400; - max-width:900px; + max-width: 800px; padding:1rem; margin: auto; } @@ -98,7 +97,6 @@ sub { h1, h2, h3, h4, h5, h6 { text-align: left; - font-size: $baseheight; line-height: 1; padding:0; margin:0;