-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path404.html
More file actions
129 lines (129 loc) · 3.69 KB
/
Copy path404.html
File metadata and controls
129 lines (129 loc) · 3.69 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
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
---
permalink: /404.html
layout: none
---
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Page Not Found — Hacker News Daily</title>
<style>
:root {
--bg: #ffffff;
--fg: #1a1a1a;
--fg-muted: #666;
--link: #0b57d0;
--accent: #ff6600;
--border: rgba(0,0,0,0.10);
--card-bg: #fff;
--sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
:root {
--bg: #0b0f14;
--fg: #d4d4d4;
--fg-muted: #888;
--link: #7ab7ff;
--accent: #ff8c3a;
--border: rgba(255,255,255,0.14);
--card-bg: #151b24;
}
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
font-family: var(--sans);
background: var(--bg);
color: var(--fg);
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
}
.container {
text-align: center;
padding: 2rem;
max-width: 520px;
}
.error-code {
font-size: 7rem;
font-weight: 800;
color: var(--accent);
line-height: 1;
letter-spacing: -4px;
}
.error-title {
font-size: 1.5rem;
font-weight: 600;
margin: 0.5rem 0 1rem;
color: var(--fg);
}
.error-desc {
font-size: 1rem;
color: var(--fg-muted);
line-height: 1.6;
margin-bottom: 2rem;
}
.nav-links {
display: flex;
flex-wrap: wrap;
gap: 0.75rem;
justify-content: center;
}
.nav-links a {
display: inline-block;
padding: 0.6rem 1.2rem;
font-size: 0.9rem;
font-weight: 600;
color: var(--link);
text-decoration: none;
border: 1.5px solid var(--border);
border-radius: 8px;
transition: all 0.15s ease;
}
.nav-links a:hover {
background: var(--link);
color: #fff;
border-color: var(--link);
}
.nav-links a.primary {
background: var(--accent);
color: #fff;
border-color: var(--accent);
}
.nav-links a.primary:hover {
opacity: 0.85;
}
.hint {
margin-top: 2rem;
font-size: 0.82rem;
color: var(--fg-muted);
}
.hint code {
background: var(--card-bg);
border: 1px solid var(--border);
padding: 0.15em 0.4em;
border-radius: 4px;
font-size: 0.85em;
}
</style>
</head>
<body>
<div class="container">
<div class="error-code">404</div>
<div class="error-title">Page Not Found</div>
<div class="error-desc">
The page you're looking for doesn't exist or may have been moved.
</div>
<div class="nav-links">
<a class="primary" href="/hackernews/">← Back to Hacker News Daily</a>
<a href="/hackernews/trends/">Trends</a>
<a href="/hackernews/feed.xml">RSS Feed</a>
<a href="/">Main Site</a>
</div>
<div class="hint">
Browse daily pages by URL: <code>/hackernews/YYYY/MM/DD/</code>
</div>
</div>
</body>
</html>