chore: initial commit of Server Configs
This commit is contained in:
260
httpserver/data/404.html
Normal file
260
httpserver/data/404.html
Normal file
@@ -0,0 +1,260 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>404 - Service Unavailable</title>
|
||||
<style>
|
||||
:root {
|
||||
--glitch-green: #05ffa1;
|
||||
--glitch-red: #ff0055;
|
||||
--bg-color: #000;
|
||||
--text-color: #fff;
|
||||
--font-mono: 'Cascadia Code', 'Fira Code', 'Courier New', monospace;
|
||||
}
|
||||
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
body {
|
||||
background-color: var(--bg-color);
|
||||
color: var(--text-color);
|
||||
font-family: var(--font-mono);
|
||||
height: 100vh;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
/* Video Background */
|
||||
.video-bg {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
opacity: 0.4;
|
||||
z-index: -1;
|
||||
filter: grayscale(100%) brightness(0.5) contrast(1.5);
|
||||
}
|
||||
|
||||
/* Scanlines */
|
||||
body::before {
|
||||
content: " ";
|
||||
display: block;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%),
|
||||
linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
|
||||
z-index: 10;
|
||||
background-size: 100% 2px, 3px 100%;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.container {
|
||||
text-align: center;
|
||||
z-index: 20;
|
||||
padding: 2rem;
|
||||
background: rgba(0, 0, 0, 0.8);
|
||||
border: 1px solid var(--glitch-green);
|
||||
box-shadow: 0 0 20px rgba(5, 255, 161, 0.2);
|
||||
backdrop-filter: blur(5px);
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 4rem;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.5rem;
|
||||
margin-bottom: 1rem;
|
||||
position: relative;
|
||||
animation: glitch 1s linear infinite;
|
||||
}
|
||||
|
||||
h1::before,
|
||||
h1::after {
|
||||
content: attr(data-text);
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
h1::before {
|
||||
left: 2px;
|
||||
text-shadow: -2px 0 var(--glitch-red);
|
||||
clip: rect(44px, 450px, 56px, 0);
|
||||
animation: glitch-anim 5s infinite linear alternate-reverse;
|
||||
}
|
||||
|
||||
h1::after {
|
||||
left: -2px;
|
||||
text-shadow: -2px 0 var(--glitch-green);
|
||||
clip: rect(44px, 450px, 56px, 0);
|
||||
animation: glitch-anim2 5s infinite linear alternate-reverse;
|
||||
}
|
||||
|
||||
p {
|
||||
font-size: 1.2rem;
|
||||
color: var(--glitch-green);
|
||||
margin-bottom: 2rem;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.2rem;
|
||||
}
|
||||
|
||||
.home-link {
|
||||
display: inline-block;
|
||||
padding: 10px 20px;
|
||||
border: 1px solid var(--glitch-green);
|
||||
color: var(--glitch-green);
|
||||
text-decoration: none;
|
||||
text-transform: uppercase;
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
|
||||
.home-link:hover {
|
||||
background: var(--glitch-green);
|
||||
color: var(--bg-color);
|
||||
box-shadow: 0 0 10px var(--glitch-green);
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
@keyframes glitch {
|
||||
0% {
|
||||
transform: translate(0);
|
||||
}
|
||||
|
||||
20% {
|
||||
transform: translate(-2px, 2px);
|
||||
}
|
||||
|
||||
40% {
|
||||
transform: translate(-2px, -2px);
|
||||
}
|
||||
|
||||
60% {
|
||||
transform: translate(2px, 2px);
|
||||
}
|
||||
|
||||
80% {
|
||||
transform: translate(2px, -2px);
|
||||
}
|
||||
|
||||
100% {
|
||||
transform: translate(0);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes glitch-anim {
|
||||
0% {
|
||||
clip: rect(31px, 9999px, 94px, 0);
|
||||
}
|
||||
|
||||
20% {
|
||||
clip: rect(62px, 9999px, 42px, 0);
|
||||
}
|
||||
|
||||
40% {
|
||||
clip: rect(16px, 9999px, 78px, 0);
|
||||
}
|
||||
|
||||
60% {
|
||||
clip: rect(43px, 9999px, 11px, 0);
|
||||
}
|
||||
|
||||
80% {
|
||||
clip: rect(89px, 9999px, 56px, 0);
|
||||
}
|
||||
|
||||
100% {
|
||||
clip: rect(5px, 9999px, 33px, 0);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes glitch-anim2 {
|
||||
0% {
|
||||
clip: rect(65px, 9999px, 100px, 0);
|
||||
}
|
||||
|
||||
20% {
|
||||
clip: rect(12px, 9999px, 55px, 0);
|
||||
}
|
||||
|
||||
40% {
|
||||
clip: rect(87px, 9999px, 12px, 0);
|
||||
}
|
||||
|
||||
60% {
|
||||
clip: rect(3px, 9999px, 89px, 0);
|
||||
}
|
||||
|
||||
80% {
|
||||
clip: rect(45px, 9999px, 23px, 0);
|
||||
}
|
||||
|
||||
100% {
|
||||
clip: rect(56px, 9999px, 76px, 0);
|
||||
}
|
||||
}
|
||||
|
||||
/* Terminal Prompt Effect */
|
||||
.prompt::after {
|
||||
content: "_";
|
||||
animation: blink 1s step-end infinite;
|
||||
}
|
||||
|
||||
@keyframes blink {
|
||||
50% {
|
||||
opacity: 0;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 600px) {
|
||||
h1 {
|
||||
font-size: 2rem;
|
||||
letter-spacing: 0.2rem;
|
||||
}
|
||||
|
||||
p {
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<video class="video-bg" autoplay loop muted playsinline>
|
||||
<source src="assets/disabled.mp4.mp4" type="video/webp">
|
||||
</video>
|
||||
|
||||
<div class="container">
|
||||
<h1 data-text="404">404</h1>
|
||||
<p class="prompt">Service Unavailable</p>
|
||||
<a href="index.html" class="home-link">Return to Base</a>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
// Randomly trigger extra glitch effects
|
||||
setInterval(() => {
|
||||
const h1 = document.querySelector('h1');
|
||||
if (Math.random() > 0.95) {
|
||||
h1.style.transform = `skew(${Math.random() * 20 - 10}deg)`;
|
||||
setTimeout(() => h1.style.transform = 'skew(0deg)', 50);
|
||||
}
|
||||
}, 100);
|
||||
</script>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
Reference in New Issue
Block a user