bilden
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2025-05-09 14:37:25 +00:00
parent 581a417c49
commit 1ce22e58a2
3 changed files with 24 additions and 0 deletions

View File

@@ -20,6 +20,20 @@ title: Start
});
</script>
<script>
window.addEventListener('scroll', () => {
const header = document.querySelector('.md-header');
const tabs = document.querySelector('.md-tabs');
if (window.scrollY > window.innerHeight * 0.8) {
header.style.transform = "translateY(0)";
if (tabs) tabs.style.transform = "translateY(0)";
} else {
header.style.transform = "translateY(-100%)";
if (tabs) tabs.style.transform = "translateY(-100%)";
}
});
</script>
<!-- Bakgrundsbild med filter -->
<div style="
position: absolute;