-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
404.html
76 lines (76 loc) · 1.81 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="theme-color" content="#000000" media="(prefers-color-scheme: dark)"/>
<meta name="theme-color" content="#ffffff" media="(prefers-color-scheme: light)"/>
<meta name="viewport" content="initial-scale=1, shrink-to-fit=yes, width=device-width" />
<title>Error 404</title>
<style>
@keyframes fade {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
@media (prefers-color-scheme: dark) {
body {
background: black;
color: white;
}
}
@media (prefers-color-scheme: light) {
body {
background: white;
color: black;
}
}
br,
button {
user-select: none;
}
.button,
h1,
html {
animation: fade 0.5s;
border: none;
color: var(--body-color);
outline: none;
text-align: center;
text-decoration: none;
transition: 0.5s; /*Animate link color on hover*/
}
html {
align-items: center;
background: var(--body-background);
display: grid;
height: 100%;
overflow: hidden;
}
.button {
background: #1a73e8;
border-radius: 32px;
display: inline-block; /*Fix animation on hover*/
font-size: large;
font-weight: 700;
line-height: 24px;
padding: 7px 14px;
}
.button:hover {
filter: drop-shadow(0 0 1rem #1a73e8);
margin: -1px;
padding: 8px 16px;
}
::selection {
background: rgba(26, 115, 232, 0.25);
}
</style>
</head>
<body>
<h2>There ain't no Internet, yo!</h2>
<br />
<a class="button" href="/">Reload</a>
</body>
</html>