diff options
author | Kim Alvefur <zash@zash.se> | 2021-02-18 14:55:38 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2021-02-18 14:55:38 +0100 |
commit | 699e27da56f9b2774d7019470e3fce3c91a02726 (patch) | |
tree | 1b49227d4159a2c402a4c92b0d310b30d8cf9f73 /plugins | |
parent | fa59c6b45f25983956f48ae69ff75d314f821b48 (diff) | |
download | prosody-699e27da56f9b2774d7019470e3fce3c91a02726.tar.gz prosody-699e27da56f9b2774d7019470e3fce3c91a02726.zip |
mod_http_errors: Minify CSS
Because It looks too big in view source!
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/mod_http_errors.lua | 31 |
1 files changed, 6 insertions, 25 deletions
diff --git a/plugins/mod_http_errors.lua b/plugins/mod_http_errors.lua index a2138d88..2915a3e3 100644 --- a/plugins/mod_http_errors.lua +++ b/plugins/mod_http_errors.lua @@ -26,31 +26,12 @@ local html = [[ <meta charset="utf-8"> <title>{title}</title> <style> -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.extra { - font-size : large; - font-family : courier -} - -@media(prefers-color-scheme: dark) { - body { - background-color: #161616; - color: #eee - } +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.extra{font-size:large;font-family:courier} +@media(prefers-color-scheme:dark){ +body{background-color:#161616;color:#eee} } </style> </head> |