From e3fc17a878fd9b65ee73b890e1952e0e4fcd4873 Mon Sep 17 00:00:00 2001 From: Patryk Niedźwiedziński Date: Mon, 15 Mar 2021 11:49:27 +0100 Subject: Add dark mode image --- wpisy/index.html | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'wpisy/index.html') diff --git a/wpisy/index.html b/wpisy/index.html index fedd134..a0ba1a4 100644 --- a/wpisy/index.html +++ b/wpisy/index.html @@ -17,7 +17,7 @@ } .title { - background-color: #340c0e; + background-color: #200c0e; color: #fff; width: 260px; height: 85px; @@ -32,6 +32,12 @@ align-items: center; } } + +@media (prefers-color-scheme: dark) { + section.joinus { + background-image: url(/assets/bg-dark.jpg); + } +}
-- cgit 1.4.1