-
Notifications
You must be signed in to change notification settings - Fork 1
/
404.html
278 lines (239 loc) · 7.14 KB
/
404.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
<!DOCTYPE html>
<html lang="de" dir="ltr">
<head>
<meta charset="utf-8">
<link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="194x194" href="/images/favicon-194x194.png">
<link rel="icon" type="image/png" sizes="192x192" href="/images/android-chrome-192x192.png">
<link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16.png">
<link rel="manifest" href="/manifest.json">
<link rel="mask-icon" href="/images/safari-pinned-tab.svg" color="#000000">
<link rel="shortcut icon" href="/images/favicon.ico">
<meta name="apple-mobile-web-app-title" content="Verzweifelte Physiker">
<meta name="application-name" content="Verzweifelte Physiker">
<meta name="msapplication-TileColor" content="#2b5797">
<meta name="msapplication-config" content="/images/browserconfig.xml">
<meta name="theme-color" content="#ffffff">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<meta name="description"
content="Die 404 Page für WIRKLICH verzweifelte Physiker... Wenn das jemals jemand liest, schreibt mich an.">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Page Not Found</title>
<style media="screen">
:root {
--font-color: black;
--primary-color: #B71C1C;
--bg-color: #ffffff;
--bg-shade: #ECEFF1;
/*******static variables*****/
--dark-red: #7f0000;
--bright-red: #f05545;
--thin-material-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
--medium-material-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
--thick-material-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
}
@media(prefers-color-scheme:dark) {
:root {
--font-color: #E8F8F9;
--primary-color: #B71C1C;
--bg-color: #121212;
--bg-shade: #1d1d1d;
}
}
[data-theme="dark"] {
--font-color: #E8F8F9;
--primary-color: #B71C1C;
--bg-color: #121212;
--bg-shade: #1d1d1d;
}
[data-theme="light"] {
--font-color: black;
--primary-color: #B71C1C;
--bg-color: #ffffff;
--bg-shade: #ECEFF1;
}
body {
height: 100%;
margin: 0;
font-size: 150%;
background-color: var(--bg-shade)
}
body * {
font-family: 'Roboto', 'Monserrat', sans-serif;
font-weight: 300;
}
::-moz-selection {
background: var(--bright-red);
}
::selection {
background: var(--bright-red);
}
/*the fancy underline animations*/
.hoverline {
position: relative;
height: 100%;
}
.hoverline:before,
.hoverline:after,
.toast:after {
content: "";
position: absolute;
-webkit-transition: all 0.5s ease-in-out;
-moz-transition: all 0.5s ease-in-out;
-o-transition: all 0.5s ease-in-out;
transition: all 0.5s ease-in-out;
opacity: 0.2;
background-color: var(--primary-color);
height: 0.2em;
width: 0px;
/*box-shadow: var(--thin-material-shadow);*/
}
.hoverline:before {
top: 0;
left: 0;
}
.hoverline:after {
right: 0;
bottom: 0;
}
.hoverline:hover:before,
.hoverline:hover:after,
.hoverline:focus-within:before,
.hoverline:focus-within:after {
width: 100%;
opacity: 1;
}
.hoverline {
position: relative;
}
#message span {
display: flex;
align-items: stretch;
align-content: stretch;
justify-content: center;
padding: 0;
}
li,
input,
h1,
h2,
h3,
h4,
p {
color: var(--font-color);
}
h2 {
color: var(--primary-color);
}
/*link styling*/
a:link {
color: var(--font-color);
}
a:visited {
color: var(--primary-color);
}
a:active {
color: var(--primary-color);
}
#message {
background: var(--bg-color);
max-width: 360px;
margin: 100px auto 16px;
padding: 32px 24px 16px;
border-radius: 3px;
}
#message h3 {
color: var(--font-color);
font-weight: normal;
font-size: 16px;
margin: 16px 0 12px;
text-shadow: none;
}
#message h2 {
font-weight: bold;
font-size: 16px;
margin: 0 0 8px;
}
#message h1 {
font-size: 22px;
font-weight: 300;
margin: 0 0 16px;
}
#message p {
line-height: 140%;
margin: 16px 0 24px;
font-size: 14px;
}
#message a {
display: flex;
text-align: center;
align-items: center;
align-content: center;
justify-content: center;
background: var(--bg-shade);
text-transform: lowercase;
height: 3em;
margin-top: 16px;
border-radius: 4px;
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
}
#message {
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
}
#load {
color: rgba(0, 0, 0, 0.4);
text-align: center;
font-size: 13px;
}
@media (max-width: 600px) {
body,
#message {
margin-top: 0;
background: var(--bg-color);
box-shadow: none;
}
body {
border-top: 16px solid var(--primary-color, red);
}
}
</style>
<script type="text/javascript">
var theme = "light";
function detectColorScheme() {
//don't use the storage object, this has to happen in the header and we want to minimize loading times!!!!!!
if (localStorage.getItem("theme") == "dark") {
theme = "dark";
document.documentElement.setAttribute("data-theme", theme);
console.log("automatically set darkmode to " + theme)
} else if (localStorage.getItem("theme") == "light") {
theme = "light";
document.documentElement.setAttribute("data-theme", theme);
console.log("automatically set darkmode to " + theme)
} else if (!window.matchMedia) {
//matchMedia method not supported
console.log("matchMedia method not supported")
document.documentElement.setAttribute("data-theme", theme);
console.log("automatically set darkmode to " + theme)
} else if (window.matchMedia("(prefers-color-scheme: dark)").matches) {
//OS theme setting detected as dark
theme = "dark";
console.log("matchMedia color set ", theme);
}
}
detectColorScheme();
</script>
</head>
<body>
<div id="message">
<h2>404</h2>
<h1>Page Not Found</h1>
<p>Sorry for the inconvenience, it seems like the specified file was not found on this website. Please check the URL
for mistakes and try again.</p>
<h3>Why am I seeing this?</h3>
<p>You were probably messing around with our URLs and trying to figure out what else we're hosting, because I don't
see any other way how you could have gotten here... <br> If this was an accident, you can go back to our site
using this link: <a class="hoverline" href="/">main page</a></p>
</div>
</body>
</html>