chiark / gitweb /
css: make base font size configurable.
authorVladimír Vondruš <mosra@centrum.cz>
Sun, 22 Oct 2017 13:26:30 +0000 (15:26 +0200)
committerVladimír Vondruš <mosra@centrum.cz>
Sun, 22 Oct 2017 13:35:13 +0000 (15:35 +0200)
css/m-components.css
css/m-dark.css
css/m-light.css

index 72597978d35ccc83f2123766b616bcbbe847970b..9ce07d65339238851842d563da32b6c8dd562d12 100644 (file)
@@ -1,6 +1,6 @@
 /* Globals */
 html {
-  font-size: 16px;
+  font-size: var(--font-size);
   background-color: var(--background-color);
 }
 body {
index 315666a60b2e4341a2d0db50dcd2694f9cb763e0..47a553e6934e09e88286234b15457e441d82667c 100644 (file)
@@ -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;
index 91d7cd06f6fe85b9c4b0ae32ad78982d8bdab4d6..d811e548d94f5d33825e319c0344de33c9786594 100644 (file)
@@ -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;