You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
OneAuth/ui/page/404.html

113 lines
3.2 KiB
HTML

11 months ago
<!doctype html>
<html>
<head>
3 weeks ago
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="404 Page Not Found" details="页面未找到">
<title>404 - Galaxy Lost</title>
11 months ago
</head>
<style>
3 weeks ago
body {
--primary-color: var(--color-primary);
--bg-gradient-start: color-mix(in srgb, var(--bg-color), #000 80%);
--bg-gradient-end: color-mix(in srgb, var(--bg-color), #000 60%);
11 months ago
margin: 0;
padding: 0;
display: flex;
justify-content: center;
align-items: center;
height: 100vh;
3 weeks ago
background: linear-gradient(135deg, var(--bg-gradient-start), var(--bg-gradient-end));
font-family: var(--font-family);
11 months ago
overflow: hidden;
3 weeks ago
color: #fff;
}
11 months ago
3 weeks ago
.container {
11 months ago
position: relative;
z-index: 2;
text-align: center;
perspective: 1000px;
3 weeks ago
}
11 months ago
3 weeks ago
.error-code {
11 months ago
font-size: 20rem;
font-weight: 900;
margin: 0;
text-shadow: 0 0 30px var(--primary-color);
3 weeks ago
color: #fff;
11 months ago
transform-style: preserve-3d;
animation: float 4s ease-in-out infinite;
3 weeks ago
}
11 months ago
3 weeks ago
.message {
11 months ago
font-size: 2rem;
margin: 2rem 0;
opacity: 0.8;
transform: translateZ(50px);
animation: textGlow 2s alternate infinite;
3 weeks ago
}
11 months ago
3 weeks ago
.planet {
11 months ago
position: absolute;
width: 300px;
height: 300px;
border-radius: 50%;
3 weeks ago
background: linear-gradient(45deg, color-mix(in srgb, var(--primary-color), transparent 20%), color-mix(in srgb, var(--primary-color), #000 40%), #ffaf7b);
11 months ago
filter: drop-shadow(0 0 50px rgba(255, 175, 123, 0.5));
animation: rotate 30s linear infinite;
left: 20%;
top: 30%;
3 weeks ago
z-index: 1;
}
11 months ago
3 weeks ago
.meteor {
11 months ago
position: absolute;
width: 2px;
height: 30px;
background: linear-gradient(to bottom, white, var(--primary-color));
animation: meteorFall 3s linear infinite;
3 weeks ago
z-index: 1;
}
@keyframes float {
0%, 100% { transform: translateY(0) rotateX(10deg) rotateY(10deg); }
50% { transform: translateY(-20px) rotateX(-10deg) rotateY(-10deg); }
}
@keyframes textGlow {
from { text-shadow: 0 0 10px rgba(255, 255, 255, 0.5); }
to { text-shadow: 0 0 20px rgba(255, 255, 255, 0.8), 0 0 30px var(--primary-color); }
}
@keyframes rotate {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
@keyframes meteorFall {
0% { transform: translateY(-100vh) translateX(100vw) rotate(45deg); opacity: 1; }
100% { transform: translateY(100vh) translateX(-100vw) rotate(45deg); opacity: 0; }
}
11 months ago
</style>
<body>
<div class="planet"></div>
3 weeks ago
<!-- Generate some meteors -->
<div class="meteor" style="left: 10%; animation-delay: 0s;"></div>
<div class="meteor" style="left: 30%; animation-delay: 2s;"></div>
<div class="meteor" style="left: 60%; animation-delay: 1s;"></div>
<div class="meteor" style="left: 80%; animation-delay: 3s;"></div>
<div class="container">
<h1 class="error-code">404</h1>
<div class="message">Oops! You seem to be lost in space.</div>
<v-btn :click="goHome" size="lg" variant="primary" style="font-size: 1.2rem; padding: 0.8rem 3rem; border-radius: 50px;">Go Home</v-btn>
</div>
11 months ago
</body>
<script setup>
3 weeks ago
goHome = () => {
$router.push('/');
}
11 months ago
</script>
3 weeks ago
</html>