Software / code / prosody
Comparison
plugins/mod_http_errors.lua @ 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 |
| parent | 11155:8d692a8a8f48 |
| child | 11389:29e7ed75ed3f |
comparison
equal
deleted
inserted
replaced
| 11387:4f97b33e2596 | 11388:60a61c509d87 |
|---|---|
| 24 <html> | 24 <html> |
| 25 <head> | 25 <head> |
| 26 <meta charset="utf-8"> | 26 <meta charset="utf-8"> |
| 27 <title>{title}</title> | 27 <title>{title}</title> |
| 28 <style> | 28 <style> |
| 29 body { | 29 body{margin-top:14%;text-align:center;background-color:#f8f8f8;font-family:sans-serif} |
| 30 margin-top : 14%; | 30 h1{font-size:xx-large} |
| 31 text-align : center; | 31 p{font-size:x-large} |
| 32 background-color : #F8F8F8; | 32 p.extra{font-size:large;font-family:courier} |
| 33 font-family : sans-serif | 33 @media(prefers-color-scheme:dark){ |
| 34 } | 34 body{background-color:#161616;color:#eee} |
| 35 | |
| 36 h1 { | |
| 37 font-size : xx-large | |
| 38 } | |
| 39 | |
| 40 p { | |
| 41 font-size : x-large | |
| 42 } | |
| 43 | |
| 44 p.extra { | |
| 45 font-size : large; | |
| 46 font-family : courier | |
| 47 } | |
| 48 | |
| 49 @media(prefers-color-scheme: dark) { | |
| 50 body { | |
| 51 background-color: #161616; | |
| 52 color: #eee | |
| 53 } | |
| 54 } | 35 } |
| 55 </style> | 36 </style> |
| 56 </head> | 37 </head> |
| 57 <body> | 38 <body> |
| 58 <h1>{title}</h1> | 39 <h1>{title}</h1> |