From 7dadfe24917bac6c72fa1203e67f6c2546801ef3 Mon Sep 17 00:00:00 2001 From: Joe Carstairs <65492573+Sycamost@users.noreply.github.com> Date: Sat, 19 Aug 2023 08:15:06 +0100 Subject: Font sizes use rem instead of px --- public/css/variables/typography.css | 14 +++++++------- 1 file 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'; -- cgit v1.2.3