Update index.php

This commit is contained in:
2025-12-30 11:20:02 +01:00
parent 128ec5ebed
commit e94defad47

View File

@@ -10,12 +10,13 @@
padding: 0; padding: 0;
height: 100%; height: 100%;
overflow: auto; overflow: auto;
font-family: Arial, sans-serif; font-family: monospace, monospace;
color: #a9b594b3; color: #a9b594b3;
background: linear-gradient(120deg, #245da4, #291451, #1e0f27, #1c0917); background: linear-gradient(120deg, #245da4, #291451, #1e0f27, #1c0917);
background-size: 400% 400%; background-size: 400% 400%;
animation: bgFade 15s ease infinite; animation: bgFade 15s ease infinite;
background-attachment: fixed; background-attachment: fixed;
transition: background 0.5s, color 0.5s;
} }
@keyframes bgFade { @keyframes bgFade {
@@ -30,6 +31,28 @@
color: #ffffff; color: #ffffff;
} }
#themeToggle {
position: fixed;
top: 10px;
left: 50%;
transform: translateX(-50%);
padding: 10px 20px;
border: none;
border-radius: 5px;
background: rgba(0,255,255,0.2);
color: #00ffff;
cursor: pointer;
font-size: 16px;
backdrop-filter: blur(5px);
box-shadow: 0 4px 10px rgba(0,0,0,0.3);
transition: all 0.3s;
}
#themeToggle:hover {
background: rgba(0,255,255,0.4);
color: #000;
}
ul { ul {
list-style: none; list-style: none;
padding: 0; padding: 0;
@@ -39,6 +62,14 @@
li { li {
margin: 10px 0; margin: 10px 0;
opacity: 0;
transform: translateY(20px);
transition: all 0.4s ease;
}
li.show {
opacity: 1;
transform: translateY(0);
} }
a { a {
@@ -60,6 +91,23 @@
transform: scale(1.05); transform: scale(1.05);
} }
/* Hackertheme */
body.hacker {
background: #000000;
color: #00ff00;
}
body.hacker a {
background: rgba(0, 255, 0, 0.1);
color: #00ff00;
box-shadow: 0 4px 10px rgba(0,255,0,0.3);
}
body.hacker a:hover {
background: rgba(0, 255, 0, 0.3);
color: #000;
}
::-webkit-scrollbar { ::-webkit-scrollbar {
width: 0px; width: 0px;
background: transparent; background: transparent;
@@ -67,6 +115,7 @@
</style> </style>
</head> </head>
<body> <body>
<button id="themeToggle">Hackertheme aan/uit</button>
<h1>voor alle dieren in de dierentuin</h1> <h1>voor alle dieren in de dierentuin</h1>
<ul> <ul>
<li><a href="https://mail.de-roo.org">Webmail</a></li> <li><a href="https://mail.de-roo.org">Webmail</a></li>
@@ -88,5 +137,24 @@
<li><a href="http://spacedesk.de-roo.org">Desktop uitbreiding</a></li> <li><a href="http://spacedesk.de-roo.org">Desktop uitbreiding</a></li>
<li><a href="rekenmachine/index.html" target="_blank">rekenmachine</a></li> <li><a href="rekenmachine/index.html" target="_blank">rekenmachine</a></li>
</ul> </ul>
<script>
// Fade-in bij hover
const items = document.querySelectorAll('li');
items.forEach(item => {
item.addEventListener('mouseenter', () => {
item.classList.add('show');
});
item.addEventListener('mouseleave', () => {
item.classList.remove('show');
});
});
// Hackertheme toggle
const btn = document.getElementById('themeToggle');
btn.addEventListener('click', () => {
document.body.classList.toggle('hacker');
});
</script>
</body> </body>
</html> </html>