From 421818ed546bfdb9889fdc0cc876e4a86fe66704 Mon Sep 17 00:00:00 2001 From: Felix Date: Fri, 19 Feb 2021 20:45:49 +0100 Subject: [PATCH] get (mostly) immune to dark reader --- _sass/style.scss | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/_sass/style.scss b/_sass/style.scss index 5f03112..1e7ecea 100644 --- a/_sass/style.scss +++ b/_sass/style.scss @@ -8,6 +8,12 @@ $content-width: 800px; box-sizing: border-box; /* never gets old */ } +html, body { + background-color: $color-bg; + margin: 0; + min-height: 100vh; +} + body { background-color: $color-bg; font-family: sans-serif; @@ -83,11 +89,15 @@ pre { } } -header h1 { - text-align: center; - margin: 20px 0 0; - font-weight: 400; - font-family: "Oleo Script", sans-serif; +header { + padding-top: 20px; + + h1 { + text-align: center; + margin: 0; + font-weight: 400; + font-family: "Oleo Script", sans-serif; + } } main {