From a264a12bf8fcd74a4e8ca73a3bd953e3dc11a142 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Sun, 22 Oct 2017 15:26:30 +0200 Subject: [PATCH] css: make base font size configurable. --- css/m-components.css | 2 +- css/m-dark.css | 1 + css/m-light.css | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/css/m-components.css b/css/m-components.css index 72597978..9ce07d65 100644 --- a/css/m-components.css +++ b/css/m-components.css @@ -1,6 +1,6 @@ /* Globals */ html { - font-size: 16px; + font-size: var(--font-size); background-color: var(--background-color); } body { diff --git a/css/m-dark.css b/css/m-dark.css index 315666a6..47a553e6 100644 --- a/css/m-dark.css +++ b/css/m-dark.css @@ -6,6 +6,7 @@ /* Text properties */ --font: 'Source Sans Pro', sans-serif; --code-font: 'Source Code Pro', monospace; + --font-size: 16px; --link-decoration: underline; --link-decoration-nav: none; --link-decoration-heading: none; diff --git a/css/m-light.css b/css/m-light.css index 91d7cd06..d811e548 100644 --- a/css/m-light.css +++ b/css/m-light.css @@ -5,6 +5,7 @@ /* Text properties */ --font: 'Libre Baskerville', serif; --code-font: 'Source Code Pro', monospace; + --font-size: 14px; --link-decoration: underline; --link-decoration-nav: none; --link-decoration-heading: none; -- 2.30.2