Clean-up attempt

This commit is contained in:
Voxel 2025-04-11 16:57:21 -04:00 committed by GitHub
parent 34ffe2adb2
commit 84ddb33104
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,20 +1,46 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html lang="en">
<head> <head>
<title>MilkNet</title> <title>MilkNet</title>
<link id="favicon" rel="icon" href="/assets/img/milk.png" type="image/x-icon"> <link id="favicon" rel="icon" href="/assets/img/milk.png" type="image/x-icon">
<style>body{max-width:1000px;margin:auto;background-color:black;color:white;font-family:Arial;}a{color:#05d5ff}</style> <style>
<style> html, body {
img { margin: 0;
display: block; padding: 0;
margin-left: auto; min-height: 100vh;
margin-right: auto; display: flex;
} flex-direction: column;
.center-text { background-color: black;
text-align: center; color: white;
} font-family: Arial;
</style> max-width: 1000px;
<script> margin-left: auto;
margin-right: auto;
}
a {
color: #05d5ff;
}
img {
display: block;
margin-left: auto;
margin-right: auto;
}
.center-text {
text-align: center;
}
footer {
display: flex;
justify-content: center;
gap: 8px;
padding: 16px;
margin-top: auto; /* Makes the footer stick to the bottom */
}
</style>
<script>
document.addEventListener("DOMContentLoaded", function() { document.addEventListener("DOMContentLoaded", function() {
let savedLink = localStorage.getItem("savedLink"); let savedLink = localStorage.getItem("savedLink");
@ -67,27 +93,22 @@
</script> </script>
</head> </head>
<body> <body>
<img src="/assets/img/milk_optimized.png" class="center"> <img src="/assets/img/milk_optimized.png" class="center">
<h1 class="center-text">MilkNet</h1> <h1 class="center-text">MilkNet</h1>
<p class="center-text">Paradise for bored students. What would you like to do?</p> <p class="center-text">Paradise for bored students. What would you like to do?</p>
<div class="center-text"> <div class="center-text">
<a href="/games">Games</a><a href="/apps">Apps</a><a href="/links.txt">Links</a><a href="/form">Contact</a><a href="/gba">Retro Games</a><a href="/tools">Settings & tools</a> <a href="/games">Games</a>
</div> <a href="/apps">Apps</a>
<a href="/links.txt">Links</a>
<a href="/form">Contact</a>
<a href="/gba">Retro Games</a>
<a href="/tools">Settings & tools</a>
</div>
<style> <footer>
footer { <a href="/"><img src="/assets/img/88x31.png" loading="lazy" width="88" height="31"></a>
display: flex; <a href="/"><img src="/assets/img/88x31_light.png" loading="lazy" width="88" height="31"></a>
justify-content: center; </footer>
gap: 8px;
padding: 16px;
}
</style>
<footer>
<a href="/"><img src="/assets/img/88x31.png" loading="lazy" width="88" height="31"></a>
<a href="/"><img src="/assets/img/88x31_light.png" loading="lazy" width="88" height="31"></a>
</footer>
</body> </body>
</html> </html>
</head>