aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2020-10-12 18:16:18 +0200
committerKim Alvefur <zash@zash.se>2020-10-12 18:16:18 +0200
commit6518e5f41b9ebf9a4be4e9e8a4872fad7ff88f3f (patch)
treec13870fc17f761f08185b0f1202f66268f452bc6
parent09e8795afb2f3d218be88fbe51819c01d3f7ed13 (diff)
downloadprosody-6518e5f41b9ebf9a4be4e9e8a4872fad7ff88f3f.tar.gz
prosody-6518e5f41b9ebf9a4be4e9e8a4872fad7ff88f3f.zip
mod_http_errors: Dark theme!
-rw-r--r--plugins/mod_http_errors.lua7
1 files changed, 7 insertions, 0 deletions
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
+ }
+}
</style>
</head>
<body>