-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path404.html
More file actions
184 lines (184 loc) · 4.92 KB
/
Copy path404.html
File metadata and controls
184 lines (184 loc) · 4.92 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
<!DOCTYPE html>
<!--
[站点注释 Site Note]
文件: D:\Documents\GitHub\whwdzg.github.io\404.html
作用: 页面结构与内容容器,具体交互由对应 JS/CSS 增强。
English: Defines page markup; behavior and styling are enhanced by JS/CSS.
-->
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>404 未找到</title>
<link rel="icon" href="/resource/img/shell/favicon.ico" type="image/x-icon">
<link rel="stylesheet" href="/css/variables.css">
<link rel="stylesheet" href="/css/header.css">
<style>
:root {
color-scheme: light dark;
--bg-color: #ffffff;
--text-color: #111111;
--secondary-bg: #f7f9fb;
--border-color: #dfe3eb;
--hover-bg: #eef1f5;
--active-bg: #e2e6ed;
--card-bg: rgba(255, 255, 255, 0.95);
}
body {
margin: 0;
min-height: 100vh;
display: flex;
flex-direction: column;
font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
background: radial-gradient(circle at 20% 20%, #e9f7f2, #f6f7fb 50%);
color: #1f2933;
}
.header-title a {
display: inline-flex;
align-items: center;
gap: 8px;
text-decoration: none;
color: inherit;
}
.offline-container {
flex: 1;
display: flex;
align-items: center;
justify-content: center;
padding: calc(var(--header-height, 64px) + 16px) 24px 24px;
box-sizing: border-box;
width: 100%;
}
.card {
max-width: 520px;
padding: 32px;
border-radius: 18px;
background: rgba(255, 255, 255, 0.9);
box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
backdrop-filter: blur(4px);
text-align: left;
}
.card h1 {
margin: 0 0 12px;
font-size: 28px;
letter-spacing: 0.5px;
}
p {
margin: 0 0 16px;
line-height: 1.6;
}
ul {
margin: 0 0 20px 18px;
padding: 0;
line-height: 1.6;
}
.actions {
display: flex;
gap: 12px;
flex-wrap: wrap;
}
a.btn,
button.btn {
appearance: none;
border: none;
text-decoration: none;
padding: 10px 16px;
border-radius: 10px;
font-weight: 600;
color: #fff;
background: linear-gradient(120deg, #3ecf8e, #2dbf9c);
cursor: pointer;
box-shadow: 0 8px 20px rgba(45, 191, 156, 0.35);
transition: transform 120ms ease, box-shadow 120ms ease, filter 120ms ease;
}
a.btn:hover,
button.btn:hover {
transform: translateY(-1px);
box-shadow: 0 10px 24px rgba(45, 191, 156, 0.4);
filter: brightness(1.03);
}
a.btn:active,
button.btn:active {
transform: translateY(-2px);
box-shadow: 0 6px 18px rgba(45, 191, 156, 0.3);
}
a.secondary,
button.secondary {
background: #eef2f7;
color: #1f2933;
box-shadow: none;
}
a.secondary:hover,
button.secondary:hover {
box-shadow: none;
filter: brightness(1.02);
}
@media (prefers-color-scheme: dark) {
:root {
--bg-color: #1a1a1a;
--text-color: #e5e5e5;
--secondary-bg: #2a2a2a;
--border-color: #3a3a3a;
--hover-bg: #333333;
--active-bg: #3d3d3d;
--card-bg: rgba(42, 42, 42, 0.95);
}
body {
background: radial-gradient(circle at 20% 20%, #1c2724, #0f151c 55%);
color: #e7ecf0;
}
.card {
background: rgba(22, 30, 35, 0.9);
box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}
a.secondary,
button.secondary {
background: #1f2b33;
color: #e7ecf0;
}
}
</style>
</head>
<body>
<header>
<h1>
<span class="header-title">
<a href="/index.html" title="">
<img src="/resource/img/shell/favicon.ico" alt="logo" class="logo" fetchpriority="high">
<span class="title-text">主页</span>
</a>
</span>
</h1>
</header>
<div class="offline-container">
<main class="card" role="main">
<h1>404 页面未找到</h1>
<p>抱歉,您访问的页面不存在或已被移动。</p>
<ul>
<li>检查网址是否正确。</li>
<li>返回首页继续浏览。</li>
<li>或您正在寻找来福Simulation Wiki?</li>
</ul>
<div class="actions">
<a class="btn" href="/">返回首页</a>
<button class="btn secondary" id="back-btn" type="button">返回上一页</button>
<a class="btn secondary" href="/Life-Simulation-Wiki">前往来福Simulation Wiki</a>
</div>
</main>
</div>
<script>
(function(){
var back = document.getElementById('back-btn');
if (back) {
back.addEventListener('click', function(){
if (window.history.length > 1) {
window.history.back();
} else {
window.location.href = '/';
}
});
}
})();
</script>
</body>
</html>