From e395abc09fbfb79ac2c80eae7fe4d41284e6c7ab Mon Sep 17 00:00:00 2001 From: Speeder Date: Thu, 10 Oct 2024 13:16:31 +0200 Subject: [PATCH] Better avoidance of a force-dark function Many browsers have a forced dark mode feature for websites that only support light mode The force dark mode function should be disabled for this website, as it supports mode switching. This feature helps browsers detect that the website supports dark-mode and disable force dark. --- res/huroutes.css | 3 +++ 1 file changed, 3 insertions(+) diff --git a/res/huroutes.css b/res/huroutes.css index fcd297d..178ba38 100644 --- a/res/huroutes.css +++ b/res/huroutes.css @@ -2,6 +2,9 @@ * Page generics */ +:root { + color-scheme: light dark; +} body { font-size: 14px; overflow-x: hidden;