Files
ben.de-roo.org/index.php
2025-12-30 11:34:31 +01:00

102 lines
1.9 KiB
PHP

<style>
/* Algemene styles */
html, body {
margin: 0;
padding: 0;
height: 100%;
overflow: auto; /* scrollen altijd mogelijk */
font-family: monospace, monospace;
color: #a9b594b3;
background: linear-gradient(120deg, #245da4, #291451, #1e0f27, #b71b8dff);
background-size: 400% 400%;
animation: bgFade 10s ease infinite;
transition: background 0.3s, color 0.3s;
}
body.hacker {
background: black;
color: #00ff00;
}
/* Matrix canvas */
#matrix {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 0; /* achter content */
pointer-events: none; /* niet scrollen blokkeren */
}
/* Theme toggle knop */
#themeToggle {
position: fixed;
top: 10px;
left: 10px;
padding: 4px 8px;
font-size: 10px;
border: none;
border-radius: 5px;
background: rgba(0,255,255,0.2);
color: #00ffff;
cursor: pointer;
backdrop-filter: blur(3px);
box-shadow: 0 2px 5px rgba(0,0,0,0.3);
z-index: 999;
}
#themeToggle:hover {
background: rgba(0,255,255,0.4);
color: #000;
}
/* Content boven matrix */
ul {
list-style: none;
padding: 0;
margin: 0 auto;
max-width: 500px;
position: relative;
z-index: 2;
}
li {
margin: 10px 0;
transition: all 0.2s ease;
}
li:hover {
transform: scale(1.05) translateY(-5px);
background: rgba(0, 255, 255, 0.4);
}
a {
display: block;
padding: 15px 20px;
border-radius: 10px;
background: rgba(0, 255, 255, 0.2);
color: #00ffff;
font-size: 18px;
text-decoration: none;
transition: all 0.2s ease;
backdrop-filter: blur(5px);
box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}
a:hover {
color: #000000;
}
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 li:hover {
background: rgba(0,255,0,0.3);
transform: scale(1.05) translateY(-5px);
}
</style>