From 1b3ea99b50aadfbc39b64b2505b6ff727720ea99 Mon Sep 17 00:00:00 2001 From: Jan-Erik Rediger <janerik@fnordig.de> Date: Tue, 11 Mar 2025 22:15:45 +0100 Subject: [PATCH] global font spec --- style.css | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/style.css b/style.css index bb79114..2b4711c 100644 --- a/style.css +++ b/style.css @@ -24,8 +24,12 @@ font-weight: bold; } +:root { + --font: Crimson,Palatino,Georgia,Lucida Bright,Book Antiqua,serif; +} + html{ - font-family:Crimson,Palatino,Georgia,Lucida Bright,Book Antiqua,serif; + font-family: var(--font); font-size:16px; line-height:1.5rem } @@ -285,11 +289,11 @@ blockquote p { } h2 { - font: 600 30px "Crimson", Georgia, serif; + font: 600 30px var(--font); } h3 { - font: 600 20px "Crimson", Georgia, serif; + font: 600 20px var(--font); } .clearfix:after {