Improved spacing and opacity for readability.

This commit is contained in:
Bob Vandevliet 2024-06-07 22:11:11 +02:00
parent bd1ff485f2
commit 22e16f3abd
3 changed files with 17 additions and 0 deletions

View file

@ -0,0 +1,3 @@
window.addEventListener('scroll', function() {
document.body.classList.toggle('is-scrolled', window.scrollY > 0);
});