Adjusted font sizes

This commit is contained in:
Marcel Kapfer 2021-08-18 22:32:56 +02:00
parent 252c7e68c5
commit f64f15984e
Signed by: mmk2410
GPG Key ID: CADE6F0C09F21B09
1 changed files with 16 additions and 3 deletions

View File

@ -31,9 +31,14 @@ $s-content: 1000px;
$s-nav-title: 24px; $s-nav-title: 24px;
$s-border: 2px; $s-border: 2px;
$s-border-radius: 2px; $s-border-radius: 2px;
$s-font-size: 18px;
$p-box-shadow: 1px 1px 5px #888; $p-box-shadow: 1px 1px 5px #888;
html {
font-size: $s-font-size;
}
body { body {
background-color: $c-bg; background-color: $c-bg;
color: $c-font; color: $c-font;
@ -151,7 +156,7 @@ main {
} }
h1, h2 { h1, h2 {
font-size: 3em; font-size: 3rem;
margin: 20px 0 0; margin: 20px 0 0;
padding: 0; padding: 0;
text-decoration: underline; text-decoration: underline;
@ -164,7 +169,7 @@ main {
} }
h2 { h2 {
font-size: 2em; font-size: 2rem;
margin: 40px 0 0; margin: 40px 0 0;
text-decoration-thickness: 3px; text-decoration-thickness: 3px;
@ -183,6 +188,14 @@ main {
} }
} }
h3 {
font-size: 1.3rem;
}
h4 {
font-size: 1.1rem;
}
figure { figure {
margin: 0; margin: 0;
@ -242,7 +255,7 @@ main {
} }
#tags > a, #categories > a { #tags > a, #categories > a {
font-size: 14px; font-size: 0.9rem;
color: #fff; color: #fff;
padding: 4px 8px; padding: 4px 8px;
border-radius: 20px; border-radius: 20px;