From dec5bb3c8f1bf75a1b1c12063c688965629f31d2 Mon Sep 17 00:00:00 2001 From: L3D Date: Sun, 16 Jan 2022 19:23:35 +0100 Subject: [PATCH] think about font sizes --- assets/scss/_start.scss | 9 +++++++-- assets/scss/_variables.scss | 26 +++++++++++++------------- 2 files changed, 20 insertions(+), 15 deletions(-) diff --git a/assets/scss/_start.scss b/assets/scss/_start.scss index 595267a..3316c7d 100644 --- a/assets/scss/_start.scss +++ b/assets/scss/_start.scss @@ -14,7 +14,7 @@ div.start { flex: 55%; } img { - max-height: 7dh; + max-height: 6dh; max-width: 100%; } @@ -53,6 +53,11 @@ div.start { font-size: $font_size_h2_large; text-shadow: 0px 0px 4px black; } + img { + max-height: 8dh; + max-width: 100%; + } + } } @@ -70,7 +75,7 @@ div.start { margin-top: 40px; } img { - max-height: 5dh; + max-height: 4dh; max-width: 90%; } diff --git a/assets/scss/_variables.scss b/assets/scss/_variables.scss index de8265b..b79c81e 100644 --- a/assets/scss/_variables.scss +++ b/assets/scss/_variables.scss @@ -8,23 +8,23 @@ $font_accent_4: rgb(247, 196, 24); $font_default: white; $shadow_accent_1: rgba(255, 190, 14, 0.5); -$font_size_default: 1.5em; +$font_size_default: 1.3em; $font_size_default_large: 2.2em; -$font_size_default_mobile: 1.1em; -$font_size_default_tiny: 1em; -$font_size_default_pico: 0.8em; -$font_size_code: 1.7em; +$font_size_default_mobile: 1em; +$font_size_default_tiny: 0.9em; +$font_size_default_pico: 0.7em; +$font_size_code: 1.6em; $font_size_code_large: 2.6em; -$font_size_code_mobile: 1.3em; -$font_size_h1: 3em; -$font_size_h1_large: 5em; -$font_size_h1_mobile: 1.5em; +$font_size_code_mobile: 1.1em; +$font_size_h1: 2.3em; +$font_size_h1_large: 4.5em; +$font_size_h1_mobile: 1.4em; $font_size_h1_tiny: 1em; -$font_size_h1_pico: 0.7em; -$font_size_h2: 2.3em; +$font_size_h1_pico: 0.8em; +$font_size_h2: 1.9em; $font_size_h2_large: 3.2em; -$font_size_h2_mobile: 1.3em; -$font_size_h2_tiny: 1em; +$font_size_h2_mobile: 1.25em; +$font_size_h2_tiny: 0.9em; $font_size_h2_pico: 0.75em; $headline_font: 'Mochiy Pop One';