summaryrefslogtreecommitdiff
path: root/public/css/variables/typography.css
diff options
context:
space:
mode:
authorJoe Carstairs <65492573+Sycamost@users.noreply.github.com>2023-08-22 09:22:45 +0100
committerJoe Carstairs <65492573+Sycamost@users.noreply.github.com>2023-08-22 09:22:45 +0100
commit06bf980b67ee61334c0c760f2d36c856f3c63e69 (patch)
tree78f3353a362b399db37e5726116cb22fd6208a3f /public/css/variables/typography.css
parent946a87ccc8fa70382115a91a3b7efe49b4cb38a1 (diff)
Responsive design up to very large screens
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';