website/templates/404.html

162 lines
3.0 KiB
HTML
Raw Normal View History

2023-08-29 10:08:14 +02:00
<!DOCTYPE html>
<html lang="en">
<head>
<title>filiprojek.cz | 404 Not found</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/x-icon" href="/img/fr.ico">
<link rel="stylesheet" href="/general.css">
<link rel="stylesheet" href="/vars.css">
<style>
/* 404.css */
body {
margin: 0;
overflow: hidden;
}
.container {
display: flex;
align-items: center;
justify-content: center;
height: 100vh;
text-align: center;
position: relative;
}
.stars {
background-image: url('/img/rocket.webp');
background-size: cover;
position: absolute;
width: 100%;
height: 100%;
z-index: -1;
animation: stars 20s linear infinite;
}
.planet {
background-image: url('/img/rocket.webp');
background-size: contain;
background-repeat: no-repeat;
width: 200px;
height: 200px;
position: absolute;
bottom: 50px;
left: 50%;
transform: translateX(-50%);
}
.moon {
background-image: url('/img/rocket.webp');
background-size: contain;
background-repeat: no-repeat;
width: 40px;
height: 40px;
position: absolute;
top: 120px;
left: 130px;
animation: moon 10s linear infinite;
}
.rocket {
background-image: url('/img/rocket.webp');
background-size: contain;
background-repeat: no-repeat;
width: 120px;
height: 240px;
position: absolute;
bottom: 0;
left: 50%;
transform: translateX(-50%);
}
.fire {
background-image: url('/img/rocket.webp');
background-size: contain;
background-repeat: no-repeat;
width: 20px;
height: 60px;
position: absolute;
bottom: 25px;
left: 50%;
transform: translateX(-50%);
animation: fire 0.5s alternate infinite;
}
.text {
color: #fff;
z-index: 1;
}
h1 {
font-size: 2.5rem;
}
p {
font-size: 1.2rem;
margin-top: 20px;
}
a {
text-decoration: none;
color: #58a6ff;
font-size: 1.2rem;
display: block;
margin-top: 20px;
}
@keyframes stars {
0% {
background-position: 0 0;
}
100% {
background-position: 100px 100px;
}
}
@keyframes moon {
0% {
transform: translate(0, 0);
}
50% {
transform: translate(10px, -10px);
}
100% {
transform: translate(0, 0);
}
}
@keyframes fire {
0% {
opacity: 1;
}
100% {
opacity: 0.6;
}
}
</style>
</head>
<body>
<div class="container">
<div class="stars"></div>
<div class="planet">
<div class="moon"></div>
</div>
<div class="rocket">
<div class="fire"></div>
</div>
<div class="text">
<h1>Oops! You're Lost in Space!</h1>
<p>Looks like you took a wrong turn and ended up in the outer reaches of the internet. Don't worry; our rocket is on its way to bring you back.</p>
<a href="/">Return to Earth</a>
</div>
</div>
</body>
</html>