GAP / app /web /templates /404.html
misonL's picture
Upload 52 files
e82bac2 verified
Raw
History Blame Contribute Delete
3.23 kB
<!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>
body {
font-family: 'Arial', sans-serif;
background-color: #eef1f5; /* 淡雅的背景色 */
color: #555;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
margin: 0;
text-align: center;
flex-direction: column;
}
.container {
background-color: #fff;
padding: 45px;
border-radius: 15px; /* 更圆润的边角 */
box-shadow: 0 8px 25px rgba(0, 0, 0, 0.07);
max-width: 600px;
width: 90%;
}
h1 {
color: #ff6b6b; /* 温和的红色 */
font-size: 3em; /* 稍大字体 */
margin-bottom: 25px;
}
p {
font-size: 1.2em;
line-height: 1.75;
margin-bottom: 40px;
}
a.button {
display: inline-block;
padding: 15px 35px;
background-color: #48dbfb; /* 清新的蓝色 */
color: #fff;
text-decoration: none;
border-radius: 8px;
font-size: 1.1em;
transition: background-color 0.3s ease, box-shadow 0.3s ease;
box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
a.button:hover {
background-color: #0abde3;
box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}
.icon-container svg {
width: 130px;
height: 130px;
margin-bottom: 30px;
animation: float 3s ease-in-out infinite;
}
@keyframes float {
0% {
transform: translateY(0px);
}
50% {
transform: translateY(-15px);
}
100% {
transform: translateY(0px);
}
}
</style>
</head>
<body>
<div class="icon-container">
<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg">
<!-- 放大镜 -->
<circle cx="40" cy="40" r="20" stroke="#7f8c8d" stroke-width="5" fill="none"/>
<line x1="55" y1="55" x2="75" y2="75" stroke="#7f8c8d" stroke-width="5" stroke-linecap="round"/>
<!-- 问号 -->
<text x="32" y="50" font-family="Arial, sans-serif" font-size="20" font-weight="bold" fill="#e74c3c">?</text>
<!-- 纸张/地图碎片 -->
<path d="M20 70 Q30 60 40 75 T60 65" stroke="#bdc3c7" stroke-width="3" fill="none" opacity="0.7"/>
<path d="M60 20 Q70 30 55 40 T70 50" stroke="#bdc3c7" stroke-width="3" fill="none" opacity="0.7"/>
</svg>
</div>
<div class="container">
<h1>哦豁!页面迷路了 (404)</h1>
<p>您要找的页面似乎暂时“失联”了,可能它被移走了、改名了,或者干脆就没存在过。不如返回首页,重新开始您的探索之旅吧!</p>
<a href="/" class="button">带我回首页</a>
</div>
</body>
</html>