-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path404.html
More file actions
83 lines (81 loc) · 3.54 KB
/
Copy path404.html
File metadata and controls
83 lines (81 loc) · 3.54 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- The presence of this file is what turns off Cloudflare Pages' single-page-app
mode: without a 404.html at the root, Pages answers 200 with the home page for
every unknown path. -->
<title>Page not found - EXPLAIN Render</title>
<meta name="robots" content="noindex, follow">
<meta name="color-scheme" content="light dark">
<meta name="theme-color" content="#f4f6f9" media="(prefers-color-scheme: light)">
<meta name="theme-color" content="#12161c" media="(prefers-color-scheme: dark)">
<link rel="icon" href="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Crect width='32' height='32' rx='7' fill='%232f6fb0'/%3E%3Crect x='6' y='5' width='20' height='7' rx='2' fill='%23fff'/%3E%3Crect x='4' y='20' width='10' height='7' rx='2' fill='%23fff' opacity='.85'/%3E%3Crect x='18' y='20' width='10' height='7' rx='2' fill='%23fff' opacity='.85'/%3E%3Cpath d='M16 12v4M9 16h14M9 16v4M23 16v4' stroke='%23fff' stroke-width='1.8' fill='none'/%3E%3C/svg%3E">
<link rel="apple-touch-icon" href="apple-touch-icon.png">
<!-- its own styles, not depending on css/style.css: the error page has to render
even if the stylesheet path changes -->
<style>
:root {
color-scheme: light;
--bg: #f4f6f9;
--panel: #ffffff;
--border: #dde3ea;
--text: #1b2430;
--dim: #5a6675;
--accent: #2f6fb0;
--accent-hover: #275f97;
}
@media (prefers-color-scheme: dark) {
:root {
color-scheme: dark;
--bg: #12161c;
--panel: #171c24;
--border: #262e3a;
--text: #e6ebf2;
--dim: #a4b0c0;
--accent: #58a0e6;
--accent-hover: #74b1ee;
}
}
* { box-sizing: border-box; }
body {
margin: 0; min-height: 100vh; display: flex; align-items: center;
justify-content: center; padding: 24px; background: var(--bg); color: var(--text);
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
"Helvetica Neue", Arial, sans-serif;
line-height: 1.5;
}
.card {
background: var(--panel); border: 1px solid var(--border); border-radius: 14px;
padding: 44px 40px; max-width: 460px; text-align: center;
box-shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 8px 24px rgba(16, 24, 40, .06);
}
.logo { width: 52px; height: 52px; color: var(--accent); }
.code { margin: 18px 0 0; font-size: 42px; font-weight: 700; letter-spacing: -1px; }
h1 { margin: 6px 0 0; font-size: 20px; font-weight: 600; }
p { margin: 14px 0 0; color: var(--dim); font-size: 15px; }
a.btn {
display: inline-block; margin-top: 26px; padding: 11px 22px; border-radius: 10px;
background: var(--accent); color: #fff; text-decoration: none; font-weight: 600;
font-size: 15px;
}
a.btn:hover { background: var(--accent-hover); }
</style>
</head>
<body>
<main class="card">
<svg class="logo" viewBox="0 0 32 32" aria-hidden="true">
<rect width="32" height="32" rx="7" fill="currentColor"/>
<rect x="6" y="5" width="20" height="7" rx="2" fill="#fff"/>
<rect x="4" y="20" width="10" height="7" rx="2" fill="#fff" opacity=".85"/>
<rect x="18" y="20" width="10" height="7" rx="2" fill="#fff" opacity=".85"/>
<path d="M16 12v4M9 16h14M9 16v4M23 16v4" stroke="#fff" stroke-width="1.8" fill="none"/>
</svg>
<p class="code">404</p>
<h1>This page does not exist</h1>
<p>EXPLAIN Render is a single page: the tool that draws the query plan.</p>
<a class="btn" href="/">Go to EXPLAIN Render</a>
</main>
</body>
</html>