113 lines
2.9 KiB
HTML
113 lines
2.9 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="zh-CN">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>404 - 页面未找到</title>
|
|
<style>
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
|
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
|
min-height: 100vh;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
padding: 20px;
|
|
}
|
|
|
|
.error-container {
|
|
background: white;
|
|
border-radius: 20px;
|
|
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
|
|
max-width: 500px;
|
|
padding: 50px;
|
|
text-align: center;
|
|
}
|
|
|
|
.error-code {
|
|
font-size: 120px;
|
|
font-weight: bold;
|
|
color: #e74c3c;
|
|
line-height: 1;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.error-title {
|
|
font-size: 28px;
|
|
color: #333;
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
.error-message {
|
|
color: #666;
|
|
font-size: 16px;
|
|
line-height: 1.6;
|
|
margin-bottom: 30px;
|
|
}
|
|
|
|
.error-animation {
|
|
font-size: 60px;
|
|
margin-bottom: 20px;
|
|
animation: float 3s ease-in-out infinite;
|
|
}
|
|
|
|
@keyframes float {
|
|
0%, 100% {
|
|
transform: translateY(0px);
|
|
}
|
|
50% {
|
|
transform: translateY(-20px);
|
|
}
|
|
}
|
|
|
|
.btn {
|
|
display: inline-block;
|
|
padding: 12px 30px;
|
|
font-size: 16px;
|
|
font-weight: 600;
|
|
text-decoration: none;
|
|
border-radius: 8px;
|
|
transition: all 0.3s ease;
|
|
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
|
color: white;
|
|
border: none;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.btn:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
|
|
}
|
|
|
|
.footer {
|
|
margin-top: 30px;
|
|
color: #999;
|
|
font-size: 14px;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="error-container">
|
|
<div class="error-animation">🔍</div>
|
|
<div class="error-code">404</div>
|
|
<div class="error-title">页面未找到</div>
|
|
<p class="error-message">
|
|
您访问的页面可能已被删除、移动或暂时不可用。<br>
|
|
请检查URL是否正确或返回首页。
|
|
</p>
|
|
|
|
<a href="/" class="btn">返回首页</a>
|
|
|
|
<div class="footer">
|
|
<p>Simple Web Server - HTTP 404 Not Found</p>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|