-
Notifications
You must be signed in to change notification settings - Fork 18
Expand file tree
/
Copy path404.html
More file actions
203 lines (201 loc) · 6.34 KB
/
Copy path404.html
File metadata and controls
203 lines (201 loc) · 6.34 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
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover">
<title>404 - 页面未找到 | BioQuest</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;600;700&family=Noto+Sans+SC:wght@300;400;500;600&display=swap" rel="stylesheet">
<style>
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
font-size: 1rem;
line-height: 1.6;
color: #1a1a1a;
background-color: #faf7f2;
background-image:
radial-gradient(ellipse at 20% 30%, rgba(196, 149, 106, 0.025) 0%, transparent 50%),
radial-gradient(ellipse at 80% 70%, rgba(90, 125, 92, 0.02) 0%, transparent 50%);
min-height: 100vh;
display: flex;
flex-direction: column;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.header {
position: fixed;
top: 0; left: 0; right: 0;
height: 64px;
background: rgba(26, 47, 29, 0.94);
backdrop-filter: blur(16px);
-webkit-backdrop-filter: blur(16px);
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 32px;
z-index: 100;
border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.header-brand {
font-family: 'Noto Serif SC', serif;
font-size: 1.25rem;
font-weight: 700;
color: #fff;
display: flex;
align-items: center;
gap: 10px;
text-decoration: none;
transition: color 0.15s ease;
}
.header-brand:hover { color: #c4956a; }
.main {
flex: 1;
display: flex;
align-items: center;
justify-content: center;
padding: 64px 24px 40px;
}
.error-container {
text-align: center;
max-width: 560px;
width: 100%;
animation: fadeInUp 0.5s ease forwards;
}
.error-code {
font-family: 'Noto Serif SC', serif;
font-size: 8rem;
font-weight: 700;
line-height: 1;
background: linear-gradient(135deg, #5a7d5c 0%, #c4956a 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
margin-bottom: 8px;
letter-spacing: -0.02em;
}
.error-title {
font-family: 'Noto Serif SC', serif;
font-size: 1.5rem;
font-weight: 700;
color: #1a3a2a;
margin-bottom: 12px;
}
.error-message {
font-size: 1.05rem;
color: #4a4a4a;
margin-bottom: 40px;
line-height: 1.7;
}
.btn-primary {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 8px;
font-family: 'Noto Sans SC', sans-serif;
font-size: 0.938rem;
font-weight: 600;
padding: 13px 26px;
border-radius: 12px;
border: none;
cursor: pointer;
background-color: #c4956a;
color: #1a3a2a;
text-decoration: none;
transition: background-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
outline: none;
user-select: none;
}
.btn-primary:hover {
transform: translateY(-1px);
box-shadow: 0 6px 20px rgba(196, 149, 106, 0.3);
}
.btn-primary:active { transform: scale(0.97); }
.btn-primary:focus-visible { box-shadow: 0 0 0 3px rgba(196, 149, 106, 0.6); }
.footer {
background: #1a3a2a;
padding: 44px 0;
color: rgba(255, 255, 255, 0.6);
}
.footer-content {
max-width: 1280px;
margin: 0 auto;
padding: 0 64px;
display: flex;
justify-content: space-between;
align-items: center;
flex-wrap: wrap;
gap: 20px;
}
.footer-brand {
font-family: 'Noto Serif SC', serif;
font-size: 1rem;
font-weight: 700;
color: rgba(255, 255, 255, 0.9);
}
@keyframes fadeInUp {
from { opacity: 0; transform: translateY(20px); }
to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 768px) {
.header { padding: 0 12px; }
.header-brand { font-size: 1.1rem; }
.error-code { font-size: 5.5rem; }
.error-title { font-size: 1.25rem; }
.error-message { font-size: 0.95rem; }
.footer-content { padding: 0 20px; flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
.error-code { font-size: 4rem; }
.error-title { font-size: 1.1rem; }
}
@media (prefers-color-scheme: dark) {
body {
color: #e8e6e2;
background-color: #1a1f1c;
background-image:
radial-gradient(ellipse at 20% 30%, rgba(212, 165, 116, 0.03) 0%, transparent 50%),
radial-gradient(ellipse at 80% 70%, rgba(90, 125, 92, 0.025) 0%, transparent 50%);
}
.error-code {
background: linear-gradient(135deg, #5a7d5c 0%, #d4a574 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.error-title { color: #e8e6e2; }
.error-message { color: #b0aea8; }
.btn-primary { background-color: #d4a574; color: #1a2f1d; }
.btn-primary:hover { box-shadow: 0 6px 20px rgba(212, 165, 116, 0.2); }
.footer { background: #1a2f1d; }
}
</style>
</head>
<body>
<header class="header">
<a href="./" class="header-brand">
<svg width="28" height="28" viewBox="0 0 28 28" fill="none" aria-hidden="true">
<circle cx="14" cy="14" r="12" stroke="#e8a830" stroke-width="2"/>
<circle cx="14" cy="14" r="4" fill="#e8a830"/>
<path d="M14 2v4M14 22v4M2 14h4M22 14h4" stroke="#5a7d5c" stroke-width="1.5"/>
</svg>
BioQuest
</a>
</header>
<main class="main">
<div class="error-container">
<div class="error-code">404</div>
<h1 class="error-title">页面未找到</h1>
<p class="error-message">您访问的页面不存在或已被移动</p>
<a href="./" class="btn-primary">返回首页</a>
</div>
</main>
<footer class="footer">
<div class="footer-content">
<div class="footer-brand">BioQuest — 生物竞赛学习平台</div>
</div>
</footer>
</body>
</html>