summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Carstairs <65492573+Sycamost@users.noreply.github.com>2023-08-19 08:15:06 +0100
committerJoe Carstairs <65492573+Sycamost@users.noreply.github.com>2023-08-19 08:15:06 +0100
commit7dadfe24917bac6c72fa1203e67f6c2546801ef3 (patch)
tree4d2f812f29c15c30296ccdf20fde91c1d09cac00
parent1838d15e96892ab3bc11d188fe964444f05db803 (diff)
Font sizes use rem instead of px
-rw-r--r--public/css/variables/typography.css14
1 files changed, 7 insertions, 7 deletions
diff --git a/public/css/variables/typography.css b/public/css/variables/typography.css
index 599f4ea..04802e8 100644
--- a/public/css/variables/typography.css
+++ b/public/css/variables/typography.css
@@ -1,11 +1,11 @@
:root {
- --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;
+ --font-size-0: 0.875rem;
+ --font-size-1: 1.125rem;
+ --font-size-2: 1.500rem;
+ --font-size-3: 2.000rem;
+ --font-size-4: 2.667rem;
+ --font-size-5: 3.375rem;
+ --font-size-6: 4.000rem;
--font-serif: Alegreya, 'Goudy Old Style', Garamond, serif;
--font-sans-serif: 'Alegreya Sans', Lato, Calibri, 'sans-serif';