Software /
code /
prosody
Changeset
11388:60a61c509d87
mod_http_errors: Minify CSS
Because It looks too big in view source!
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 18 Feb 2021 14:55:38 +0100 |
parents | 11387:4f97b33e2596 |
children | 11389:29e7ed75ed3f |
files | plugins/mod_http_errors.lua |
diffstat | 1 files changed, 6 insertions(+), 25 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/mod_http_errors.lua Thu Feb 18 14:43:45 2021 +0100 +++ b/plugins/mod_http_errors.lua Thu Feb 18 14:55:38 2021 +0100 @@ -26,31 +26,12 @@ <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>