From 26d7378fd642a62b4f3f5c8453b865a884b9c8b3 Mon Sep 17 00:00:00 2001 From: Ben Larson <10101828+ben-larson@users.noreply.github.com> Date: Fri, 11 Jun 2021 22:43:34 -0500 Subject: [PATCH] Tweak fonts --- src/styles/main.css | 19 +++++-------------- 1 file changed, 5 insertions(+), 14 deletions(-) diff --git a/src/styles/main.css b/src/styles/main.css index 1498fcb..713397c 100644 --- a/src/styles/main.css +++ b/src/styles/main.css @@ -8,8 +8,8 @@ } body { - font-family: eadui; - font-size: 1.7rem; + font-family: lingua-franca, serif; + font-size: 19pt; background-color: var(--background-color-primary); color: var(--text-color-primary); text-shadow: var(--text-shadow); @@ -21,7 +21,7 @@ header { } h1 { - font-size: 4rem; + font-size: 45pt; line-height: 1em; margin: 0 auto; max-width: 50rem; @@ -47,7 +47,7 @@ p { position: relative; margin: 0 auto; max-width: 50rem; - line-height: 1.5em; + line-height: 1.6em; padding-bottom: 2rem; } @@ -59,17 +59,8 @@ p::first-letter { } @media (max-width: 45em) { - body { - font-size: 1.75em; - } - header { - padding: 3rem 2rem 2rem 1rem; - } - - h1 { - font-size: 4rem; - margin-bottom: 1rem; + padding: 3rem 2rem 3rem 1rem; } main { -- 2.45.2