chiark / gitweb /
css: allow customizing text line height.
authorCris Luengo <cris.l.luengo@gmail.com>
Wed, 1 May 2019 22:13:52 +0000 (16:13 -0600)
committerVladimír Vondruš <mosra@centrum.cz>
Sun, 7 Jul 2019 17:42:55 +0000 (19:42 +0200)
css/m-components.css
css/m-dark+documentation.compiled.css
css/m-dark.compiled.css
css/m-light+documentation.compiled.css
css/m-light.compiled.css
css/m-theme-dark.css
css/m-theme-light.css

index e73bd31ee65bd029358ce5bd0f28f7d4118b57f8..24a449ef5d7c26673749253bfb6e043d2e28ad68 100644 (file)
@@ -30,6 +30,7 @@ html {
 body {
   font-family: var(--font);
   font-size: 1rem;
+  line-height: var(--line-height);
   color: var(--color);
 }
 
index 24e8825ef0e7fd2a38e95aeadb9d302eccd3fa5b..a1f0bbba2ae022560d83108e738b6a0c29e6e032 100644 (file)
@@ -345,6 +345,7 @@ html {
 body {
   font-family: 'Source Sans Pro', sans-serif;
   font-size: 1rem;
+  line-height: normal;
   color: #dcdcdc;
 }
 h1, h2, h3, h4, h5, h6 {
index 5d79133e35f2ec39964ce6d98bceb8ffda9b721b..f1204e93e2517977797f8d5f78051cf4b4af114f 100644 (file)
@@ -345,6 +345,7 @@ html {
 body {
   font-family: 'Source Sans Pro', sans-serif;
   font-size: 1rem;
+  line-height: normal;
   color: #dcdcdc;
 }
 h1, h2, h3, h4, h5, h6 {
index d48ce9dc59189bb43eb21575296f2db5eb01e464..3eba5412473dd0a359904c0538bb0715cc6ad27e 100644 (file)
@@ -345,6 +345,7 @@ html {
 body {
   font-family: 'Libre Baskerville', serif;
   font-size: 1rem;
+  line-height: normal;
   color: #000000;
 }
 h1, h2, h3, h4, h5, h6 {
index ce62675d11b325ef6bb1f71187ffd7e2cba222b1..00959f2fbab6f979055d8af3491ab191abff30f9 100644 (file)
@@ -345,6 +345,7 @@ html {
 body {
   font-family: 'Libre Baskerville', serif;
   font-size: 1rem;
+  line-height: normal;
   color: #000000;
 }
 h1, h2, h3, h4, h5, h6 {
index caea5727498dc756ba29ec6a8724623bc6d7da01..2a0d6232d6ed0f0c54ecaa4d49fbb86627c1a56f 100644 (file)
@@ -28,6 +28,7 @@
   --code-font: 'Source Code Pro', monospace;
   --font-size: 16px;
   --code-font-size: 0.9em; /* *not* rem, so it follows surrounding font size */
+  --line-height: normal;
   --paragraph-indent: 1.5rem;
   --paragraph-align: justify;
   --link-decoration: underline;
index 6f2c293b3c2452822b9511be7d85bc18b5ca73c7..e2f593f8f281d835efd875838c0b697bea883e1b 100644 (file)
@@ -28,6 +28,7 @@
   --code-font: 'Source Code Pro', monospace;
   --font-size: 14px;
   --code-font-size: 1em; /* *not* rem, so it follows surrounding font size */
+  --line-height: normal;
   --paragraph-indent: 1.5rem;
   --paragraph-align: justify;
   --link-decoration: underline;