-
Notifications
You must be signed in to change notification settings - Fork 1
/
404.html
74 lines (66 loc) · 1.51 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
---
permalink: /404.html
sitemap: false
---
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<title>{{ site.name }} | Page not found</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link type="text/css" rel="stylesheet" href="/light.css">
<link type="text/css" rel="stylesheet" href="/dark.css">
<style>
.notfound-wrapper {
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
display: flex;
align-items: center;
justify-content: center;
}
.notfound-content {
flex: auto;
max-width: 250px;
text-align: center;
}
.notfound-content h1 {
display: inline-block;
margin-bottom: 4px;
font-size: 36px;
}
.notfound-content h1 a {
color: #121111;
}
.notfound-content p {
display: block;
text-align: center;
}
.notfound-content p a {
color: #121111;
}
@media (prefers-color-scheme: dark) {
.notfound-content h1 a {
color: #ffffff;
}
.notfound-content p a {
color: #ffffff;
}
}
</style>
</head>
<body>
<main class="notfound-wrapper">
<div class="notfound-content">
<h1><a href="{{ '/' | relative_url }}" title="Back to homepage">404</a></h1>
<p>
Looks like you got lost. Let's get you back to the <a href="{{ '/' | relative_url }}">homepage</a>!<br>
Or, learn something <a href="https://en.wikipedia.org/wiki/Special:Random">random</a>!
</p>
</div>
</main>
</body>
</html>