Software /
code /
prosody
Changeset
11154:dd81a318a794
mod_http_errors: Dark theme!
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 12 Oct 2020 18:16:18 +0200 |
parents | 11153:e4075ca84a1a |
children | 11155:8d692a8a8f48 |
files | plugins/mod_http_errors.lua |
diffstat | 1 files changed, 7 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/mod_http_errors.lua Mon Oct 12 18:13:20 2020 +0200 +++ b/plugins/mod_http_errors.lua Mon Oct 12 18:16:18 2020 +0200 @@ -45,6 +45,13 @@ font-size : large; font-family : courier } + +@media(prefers-color-scheme: dark) { + body { + background-color: #161616; + color: #eee + } +} </style> </head> <body>