Files
o.nmgjg.com.cn/index/404.html
root e79ce1ee89 feat(index): 优化 404 页面和视频模板
- 重新设计了 404 页面布局和样式,增加了返回按钮
- 在视频模板中添加了返回按钮
- 优化了按钮样式,增加了hover效果
- 调整了页面结构,提高了可读性和用户体验
2025-02-06 23:58:08 +08:00

61 lines
1.4 KiB
HTML
Executable File

<html lang="zh-CN">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>404 Not Found</title>
<style>
body {
font-family: Arial, sans-serif;
background-color: #ffecec;
margin: 0;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
overflow: hidden;
}
.error-container {
text-align: center;
background-color: #ffffff77;
padding: 40px;
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
h1 {
color: #333;
margin-bottom: 20px;
}
p {
color: #666;
margin-bottom: 20px;
}
.back-button {
padding: 10px 20px;
background-color: #ff3434;
color: white;
border: none;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s;
}
.back-button:hover {
background-color: #990000;
}
</style>
</head>
<body>
<div class="error-container">
<h1>404 Not Found</h1>
<p>您访问的页面不存在。</p>
<button class="back-button" onclick="window.history.back()">返回</button>
</div>
</body>
</html>