From 1b7a502cd4ab92ec02679a0123478d0e2a80652d Mon Sep 17 00:00:00 2001 From: Christian Klein Date: Sun, 27 Dec 2020 23:16:01 +0100 Subject: [PATCH] Fixed Cookie Auto-Nightmode and changed copyright --- out/css/cookie.css | 17 +++++++++++++++++ out/index.html | 4 ++-- 2 files changed, 19 insertions(+), 2 deletions(-) diff --git a/out/css/cookie.css b/out/css/cookie.css index dde940e..bc8bdef 100644 --- a/out/css/cookie.css +++ b/out/css/cookie.css @@ -7,6 +7,7 @@ width: 100vw; height: min-content; + color: black; background-color: white; border-top: 1px solid black; @@ -20,6 +21,9 @@ padding: .5rem 1rem; margin: 0; line-height: 1em; + + color: black; + border-color: black; } .cookie-banner * { @@ -33,4 +37,17 @@ .cookie-banner > :last-child { margin-right: 0 !important; +} + +@media (prefers-color-scheme: dark){ +.cookie-banner { + background-color: black; + border-color: white; + color: white; +} +.cookie-banner button{ + color: white; + border-color: white; +} + } \ No newline at end of file diff --git a/out/index.html b/out/index.html index b2ac3ca..9ac8e4d 100644 --- a/out/index.html +++ b/out/index.html @@ -370,8 +370,8 @@