Old website fix

This commit is contained in:
Purplebored
2024-05-04 01:06:14 +02:00
parent ef5ed2d216
commit d6897f4e10
45 changed files with 966 additions and 0 deletions

33
old/easteregg/1.css Normal file
View File

@@ -0,0 +1,33 @@
html, body {
height: 100%;
margin: 0;
padding: 0;
overflow: hidden;
}
video {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: cover;
}
.container {
position: relative;
z-index: 1;
text-align: center;
padding-top: 50px;
}
#instruction {
position: fixed;
bottom: 20px;
left: 50%;
transform: translateX(-50%);
font-family: 'Noto Sans', sans-serif;
font-size: 24px;
color: white;
}
/* CSS code by Purplebored */

21
old/easteregg/1.html Normal file
View File

@@ -0,0 +1,21 @@
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="1.css">
<link rel="icon" type="image/x-icon" href="1.png">
<meta charset="UTF-8">
<title>You found it #1</title>
</head>
<body>
<video autoplay muted loop>
<source src="1.mp4" type="video/mp4">
</video>
<div class="container">
<h2 id="instruction">Click anywhere to unmute</h2>
</div>
<script src="1.js"></script>
</body>
</html>
<!-- HTML file by Purplebored-->

11
old/easteregg/1.js Normal file
View File

@@ -0,0 +1,11 @@
document.addEventListener("DOMContentLoaded", function() {
var video = document.querySelector("video");
var instruction = document.getElementById("instruction");
document.addEventListener("click", function() {
video.play();
video.muted = false;
instruction.style.display = "none";
});
});
// JS file by purplebored

BIN
old/easteregg/1.mp4 Normal file

Binary file not shown.

BIN
old/easteregg/1.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB