bw/nginx moar fancy css
This commit is contained in:
parent
a09953a849
commit
856c9be73f
1 changed files with 56 additions and 28 deletions
|
@ -1,32 +1,59 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>Internal Server Error</title>
|
<title>Server Error</title>
|
||||||
<link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>❌</text></svg>">
|
<link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>❌</text></svg>">
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<style>
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
body{
|
<style type="text/css">
|
||||||
font-family: "Segoe UI", system-ui, "Roboto", "Helvetica Neue", "Arial"
|
:root {
|
||||||
|
--text-color: #111;
|
||||||
|
--bg-color: #FFFFFF;
|
||||||
|
--line-color: #FF0000;
|
||||||
|
--page-width: 70%;
|
||||||
}
|
}
|
||||||
.content{
|
|
||||||
margin-top: 1em;
|
@media (prefers-color-scheme: dark) {
|
||||||
margin-left: auto;
|
:root {
|
||||||
margin-right: auto;
|
--text-color: #FFFFFF;
|
||||||
width: 70%;
|
--bg-color: #222222;
|
||||||
|
--line-color: #800000;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
@media screen and (max-width: 800px) {
|
||||||
|
:root {
|
||||||
|
--page-width: 95%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
* {
|
||||||
|
font-family: "Segoe UI", system-ui, "Roboto", "Helvetica Neue", "Arial";
|
||||||
|
color: var(--text-color);
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
html {
|
||||||
|
background-color: var(--bg-color);
|
||||||
}
|
}
|
||||||
.header{
|
.header{
|
||||||
margin-left: auto;
|
border-bottom-width: 10px;
|
||||||
margin-right: auto;
|
border-bottom-style: solid;
|
||||||
height: 8em;
|
border-bottom-color: var(--line-color);
|
||||||
border-bottom: 10px solid red;
|
padding-bottom: 1em
|
||||||
|
}
|
||||||
|
h1{
|
||||||
|
vertical-align: middle;
|
||||||
|
margin: 0 auto;
|
||||||
|
width: var(--page-width);
|
||||||
}
|
}
|
||||||
.emoji{
|
.emoji{
|
||||||
font-size:3em;
|
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
|
font-size: 3em;
|
||||||
|
margin-right: 0.5em;
|
||||||
}
|
}
|
||||||
.text{
|
.text{
|
||||||
margin-left: auto;
|
margin: 1em auto;
|
||||||
margin-right: auto;
|
width: var(--page-width);
|
||||||
font-size: 1.5em;
|
font-size: 1.5em;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
@ -34,10 +61,11 @@
|
||||||
<body>
|
<body>
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<div class="header" >
|
<div class="header" >
|
||||||
<h1><span class="emoji">❌</span><span style="vertical-align:middle;">Internal Server Error</span></h1>
|
<h1><span class="emoji">❌</span> Server Error</h1>
|
||||||
</div>
|
</div>
|
||||||
<div class="text">
|
<div class="text">
|
||||||
<p>The 500 (Internal Server Error) status code indicates that the server encountered an unexpected condition that prevented it from fulfilling the request.</p>
|
<p>Dieses System ist aktuell nicht verfügbar.</p>
|
||||||
|
<p>This system is currently unavailable.</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
|
|
Loading…
Reference in a new issue