2023-10-16 15:12:17 +02:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<style>
|
|
|
|
div {
|
|
|
|
transition: all 1s linear;
|
|
|
|
}
|
|
|
|
</style>
|
2023-10-16 15:21:20 +02:00
|
|
|
<link rel="icon" type="image/x-icon" href="cat-memes-cats.gif">
|
2023-10-16 15:12:17 +02:00
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<div>This site is currently under construction!</div>
|
|
|
|
<div>If you are in need of entertainment in the mean time click <a href="https://www.youtube.com/watch?v=dQw4w9WgXcQ">here</a>!</div>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
let divs = document.getElementsByTagName("div");
|
|
|
|
let size = parseInt(localStorage.getItem("size"));
|
|
|
|
if(isNaN(size)) size = 15;
|
|
|
|
for(let div of divs) {
|
|
|
|
div.style.fontSize = size + "px";
|
|
|
|
}
|
|
|
|
|
|
|
|
const max_size = 100;
|
|
|
|
const min_size = 10;
|
|
|
|
let growing = true;
|
|
|
|
|
|
|
|
setInterval(() => {
|
|
|
|
if(size > 100) growing = false;
|
2023-10-16 15:21:20 +02:00
|
|
|
if(size < 20) growing = true;
|
2023-10-16 15:12:17 +02:00
|
|
|
|
|
|
|
if(growing) size += 20;
|
|
|
|
else size -= 20;
|
|
|
|
|
|
|
|
for(let div of divs) {
|
|
|
|
div.style.fontSize = size + "px";
|
|
|
|
}
|
|
|
|
|
|
|
|
localStorage.setItem("size", size);
|
|
|
|
}, 1000);
|
|
|
|
</script>
|
|
|
|
</body>
|
|
|
|
</html>
|