chiark / gitweb /
Revert "css: better behaving background on short pages."
authorVladimír Vondruš <mosra@centrum.cz>
Mon, 6 Nov 2017 17:22:25 +0000 (18:22 +0100)
committerVladimír Vondruš <mosra@centrum.cz>
Mon, 6 Nov 2017 17:22:38 +0000 (18:22 +0100)
Breaks figure and code figure borders, because they have z-index se to
-1, which causes them to get hidden behind the body background. Not sure
how to solve that better for now, so I'm just reverting to the lesser of
the two evils.

This reverts commit 7844e00a6f93d379104896bcd5500a2f0bc9afcc.

css/m-components.css
css/m-dark.compiled.css
css/m-light.compiled.css

index 54c36faf26b102e1be3de3e2e4929362811dc795..fa46a39cdb9b9008f3951e4ebbdddfa3654d2d05 100644 (file)
 /* Globals */
 html {
   font-size: var(--font-size);
-  background-color: var(--footer-background-color);
+  background-color: var(--background-color);
 }
 body {
   font-family: var(--font);
   font-size: 1rem;
   color: var(--color);
-  background-color: var(--background-color);
 }
 
 /* Block elements */
index 74d5fb4287a85de80e4f782ede97013167417bf2..59ee85e2080988d151dcaa2951480f51f6ec067f 100644 (file)
@@ -389,13 +389,12 @@ body { margin: 0; }
 
 html {
   font-size: 16px;
-  background-color: #444e5c;
+  background-color: #2f363f;
 }
 body {
   font-family: 'Source Sans Pro', sans-serif;
   font-size: 1rem;
   color: #dcdcdc;
-  background-color: #2f363f;
 }
 h1, h2, h3, h4, h5, h6 {
   margin-top: 0;
index 022039c0d06791c7703a86c2e52d3dbaae14271a..1dff3603f8a3ee621d4a4737ff087c389d505929 100644 (file)
@@ -389,13 +389,12 @@ body { margin: 0; }
 
 html {
   font-size: 14px;
-  background-color: #eeeeee;
+  background-color: #ffffff;
 }
 body {
   font-family: 'Libre Baskerville', serif;
   font-size: 1rem;
   color: #000000;
-  background-color: #ffffff;
 }
 h1, h2, h3, h4, h5, h6 {
   margin-top: 0;