From: Vladimír Vondruš Date: Mon, 6 Nov 2017 17:22:25 +0000 (+0100) Subject: Revert "css: better behaving background on short pages." X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~cjwatson/git?a=commitdiff_plain;h=623e8323a61f6b5f3f6c04daf961245261d01e15;p=blog.git Revert "css: better behaving background on short pages." 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. --- diff --git a/css/m-components.css b/css/m-components.css index 54c36faf..fa46a39c 100644 --- a/css/m-components.css +++ b/css/m-components.css @@ -25,13 +25,12 @@ /* 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 */ diff --git a/css/m-dark.compiled.css b/css/m-dark.compiled.css index 74d5fb42..59ee85e2 100644 --- a/css/m-dark.compiled.css +++ b/css/m-dark.compiled.css @@ -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; diff --git a/css/m-light.compiled.css b/css/m-light.compiled.css index 022039c0..1dff3603 100644 --- a/css/m-light.compiled.css +++ b/css/m-light.compiled.css @@ -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;