summaryrefslogtreecommitdiff
path: root/public/css/variables/typography.css
diff options
context:
space:
mode:
Diffstat (limited to 'public/css/variables/typography.css')
-rw-r--r--public/css/variables/typography.css15
1 files changed, 7 insertions, 8 deletions
diff --git a/public/css/variables/typography.css b/public/css/variables/typography.css
index 10e3126..38384ce 100644
--- a/public/css/variables/typography.css
+++ b/public/css/variables/typography.css
@@ -1,12 +1,11 @@
:root {
- --font-size-relative-px: 0.067rem;
- --font-size-0: calc(14 * var(--font-size-relative-px));
- --font-size-1: calc(18 * var(--font-size-relative-px));
- --font-size-2: calc(24 * var(--font-size-relative-px));
- --font-size-3: calc(32 * var(--font-size-relative-px));
- --font-size-4: calc(40 * var(--font-size-relative-px));
- --font-size-5: calc(52 * var(--font-size-relative-px));
- --font-size-6: calc(64 * var(--font-size-relative-px));
+ --font-size-0: calc(7 * var(--relative-eighth-rem));
+ --font-size-1: calc(9 * var(--relative-eighth-rem));
+ --font-size-2: calc(12 * var(--relative-eighth-rem));
+ --font-size-3: calc(16 * var(--relative-eighth-rem));
+ --font-size-4: calc(20 * var(--relative-eighth-rem));
+ --font-size-5: calc(26 * var(--relative-eighth-rem));
+ --font-size-6: calc(32 * var(--relative-eighth-rem));
--font-serif: Alegreya, 'Goudy Old Style', Garamond, serif;
--font-sans-serif: 'Alegreya Sans', Lato, Calibri, 'sans-serif';