From e211f7b7f3a173e2e6081386f4e48b573b6382f6 Mon Sep 17 00:00:00 2001 From: Eryn Wells Date: Fri, 14 Oct 2022 14:31:50 -0700 Subject: [PATCH] Let fonts scale down a bit more; set body font size with a variable --- static/styles/root.css | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/static/styles/root.css b/static/styles/root.css index ffd4314..6c020d5 100644 --- a/static/styles/root.css +++ b/static/styles/root.css @@ -33,9 +33,10 @@ --font-family-monospace: "Courier New", Courier, monospace; --font-family-heading: Museo_Slab, Tahoma, sans-serif; --font-family-site-heading: Museo_Slab, Tahoma, sans-serif; - --font-size-min: 7px; + --font-size-min: 6px; --font-size-max: 8px; + --body-font-size: 2rem; --body-item-spacing: 1em; --body-line-height: 1.4; --body-header-line-height: 1.1; @@ -129,7 +130,7 @@ blockquote { body { color: var(--foreground-body-color); - font-size: 2rem; + font-size: var(--body-font-size); line-height: var(--body-line-height); }