merge... yay....
All checks were successful
ClarkeIS Build / Build-Docker-Image (push) Successful in 1m17s

This commit is contained in:
2025-04-07 08:56:43 -04:00
parent 853c0775e3
commit bde96bb05d
22 changed files with 605 additions and 63 deletions

View File

@@ -0,0 +1,16 @@
var last_scroll_top = 0;
function onscroll() {
let sctp = document.documentElement.scrollTop;
if (sctp > last_scroll_top + 200) {
document.getElementById("header").classList.add("slide-away");
last_scroll_top = sctp;
}
if (sctp < last_scroll_top) {
document.getElementById("header").classList.remove("slide-away");
last_scroll_top = sctp;
}
}
window.addEventListener("scroll", onscroll);
window.addEventListener("wheel", onscroll);