From 6518e5f41b9ebf9a4be4e9e8a4872fad7ff88f3f Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Mon, 12 Oct 2020 18:16:18 +0200 Subject: mod_http_errors: Dark theme! --- plugins/mod_http_errors.lua | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'plugins/mod_http_errors.lua') diff --git a/plugins/mod_http_errors.lua b/plugins/mod_http_errors.lua index 1abdc57e..727b2516 100644 --- a/plugins/mod_http_errors.lua +++ b/plugins/mod_http_errors.lua @@ -45,6 +45,13 @@ p.extra { font-size : large; font-family : courier } + +@media(prefers-color-scheme: dark) { + body { + background-color: #161616; + color: #eee + } +} -- cgit v1.2.3