aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_http_errors.lua
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/mod_http_errors.lua')
-rw-r--r--plugins/mod_http_errors.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/mod_http_errors.lua b/plugins/mod_http_errors.lua
index 3f77f37c..dca36d76 100644
--- a/plugins/mod_http_errors.lua
+++ b/plugins/mod_http_errors.lua
@@ -29,18 +29,18 @@ local html = [[
body{margin-top:14%;text-align:center;background-color:#f8f8f8;font-family:sans-serif}
h1{font-size:xx-large}
p{font-size:x-large}
-p.warning{font-size:large;background-color:yellow}
+p.warning>span{font-size:large;background-color:yellow}
p.extra{font-size:large;font-family:courier}
@media(prefers-color-scheme:dark){
body{background-color:#161616;color:#eee}
-p.warning{background-color:inherit;color:yellow}
+p.warning>span{background-color:inherit;color:yellow}
}
</style>
</head>
<body>
<h1>{title}</h1>
<p>{message}</p>
-{warning&<p class="warning">&#9888; {warning?} &#9888;</p>}
+{warning&<p class="warning"><span>&#9888; {warning?} &#9888;</span></p>}
{extra&<p class="extra">{extra?}</p>}
</body>
</html>