-
Notifications
You must be signed in to change notification settings - Fork 0
/
404.html
84 lines (74 loc) · 1.8 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>The page you were looking for doesn’t exist (404)</title>
<style>
:root {
--foreground-rgb: 0, 0, 0;
--background-rgb: 255, 255, 255;
--font-sans: ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;
}
@media (prefers-color-scheme: dark) {
:root {
--foreground-rgb: 255, 255, 255;
--background-rgb: 0, 0, 0;
}
}
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body,
html {
max-width: 100vw;
overflow-x: hidden;
font-size: 100%;
}
body {
color: rgb(var(--foreground-rgb));
background: rgb(var(--background-rgb));
font-family: var(--font-sans);
font-style: normal;
}
main {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 100vh;
padding: 0 4vw;
}
.message {
display: flex;
gap: 1rem;
flex-direction: column;
text-align: center;
}
.message h1 {
font-size: 2rem;
font-weight: 500;
}
p {
line-height: 1.6;
}
@media (prefers-color-scheme: dark) {
html {
color-scheme: dark;
}
}
</style>
</head>
<body>
<!-- This file lives in public/404.html -->
<main>
<div class="message">
<h1>404</h1>
<p>The page you were looking for doesn’t exist.</p>
</div>
</main>
</body>
</html>