From dc5c253ad2cd010ec3a1423a2dd4a54b4cc70f4d Mon Sep 17 00:00:00 2001 From: Mylloon Date: Wed, 4 Dec 2024 11:04:31 +0100 Subject: [PATCH] dim image in dark mode --- static/css/style.css | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/static/css/style.css b/static/css/style.css index 35bd495..e7882c0 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -94,3 +94,9 @@ header nav a:hover { text-underline-position: under; } } + +@media (prefers-color-scheme: dark) { + img { + filter: brightness(0.8) contrast(1.2); + } +}