From f64f15984ee9caf369278ec2e200f78ae37cf337 Mon Sep 17 00:00:00 2001 From: Marcel Kapfer Date: Wed, 18 Aug 2021 22:32:56 +0200 Subject: [PATCH] Adjusted font sizes --- assets/css/main.scss | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/assets/css/main.scss b/assets/css/main.scss index 93258cc..77c535c 100644 --- a/assets/css/main.scss +++ b/assets/css/main.scss @@ -31,9 +31,14 @@ $s-content: 1000px; $s-nav-title: 24px; $s-border: 2px; $s-border-radius: 2px; +$s-font-size: 18px; $p-box-shadow: 1px 1px 5px #888; +html { + font-size: $s-font-size; +} + body { background-color: $c-bg; color: $c-font; @@ -151,7 +156,7 @@ main { } h1, h2 { - font-size: 3em; + font-size: 3rem; margin: 20px 0 0; padding: 0; text-decoration: underline; @@ -164,7 +169,7 @@ main { } h2 { - font-size: 2em; + font-size: 2rem; margin: 40px 0 0; text-decoration-thickness: 3px; @@ -183,6 +188,14 @@ main { } } + h3 { + font-size: 1.3rem; + } + + h4 { + font-size: 1.1rem; + } + figure { margin: 0; @@ -242,7 +255,7 @@ main { } #tags > a, #categories > a { - font-size: 14px; + font-size: 0.9rem; color: #fff; padding: 4px 8px; border-radius: 20px;