diff options
| author | Joe Carstairs <65492573+Sycamost@users.noreply.github.com> | 2023-08-18 20:37:09 +0100 |
|---|---|---|
| committer | Joe Carstairs <65492573+Sycamost@users.noreply.github.com> | 2023-08-18 20:37:09 +0100 |
| commit | 176e105dc3a11ac118b6e84e8dd77d77371deb0c (patch) | |
| tree | 0245ae746035303ec47cc16218cc3aa1479bb41a /public/main.css | |
| parent | 5b59e2878dd5e58d1c98ffc0d64503ddb8884b27 (diff) | |
Pulls out typography variables
Diffstat (limited to 'public/main.css')
| -rw-r--r-- | public/main.css | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/public/main.css b/public/main.css index 531a91e..b6daf68 100644 --- a/public/main.css +++ b/public/main.css @@ -8,16 +8,8 @@ --breakpoint-sm: 640px; --breakpoint-lg: 1280px; - --font-size-0: 14px; - --font-size-1: 18px; - --font-size-2: 24px; - --font-size-3: 32px; - --font-size-4: 44px; - --font-size-5: 54px; - --font-size-6: 72px; - scroll-behavior: smooth; - font-family: 'Alegreya Sans', Lato, Calibri, 'sans-serif'; + font-family: var(--font-sans-serif); font-size: var(--font-size-1); font-weight: 400; letter-spacing: 0.03rem; @@ -59,7 +51,7 @@ h1, h2, h3, h4 { - font-family: Alegreya, 'Goudy Old Style', Garamond, serif; + font-family: var(--font-serif); } .title { |
