Updated 61 files via CloudCannon

This commit is contained in:
CloudCannon 2020-08-04 10:18:19 +00:00
parent b0c571a7f7
commit d4af45800a
61 changed files with 10379 additions and 10054 deletions

2
assets/js/jquery-3.5.1.min.js vendored Normal file

File diff suppressed because one or more lines are too long

View file

@ -3,7 +3,7 @@ window.onscroll = function () { scrollMenu() };
// Get the navbar
var navbar = document.getElementById("logo");
var hider = document.getElementById("sticky");
// Get the offset position of the navbar
var sticky = navbar.offsetTop;
@ -12,15 +12,15 @@ var sticky = navbar.offsetTop;
// Add the sticky class to the navbar when you reach its scroll position. Remove "sticky" when you leave the scroll position
function scrollMenu() {
if (window.pageYOffset >= sticky) {
navbar.classList.add("sticky")
hider.classList.add("sticky")
} else {
navbar.classList.remove("sticky")
hider.classList.remove("sticky")
}
}
// Make a pretty background when menu is open
var bodyBluring = document.getElementById("wrapper")
var bodyBluring = document.getElementById("main-wrapper")
function blurBody() {
bodyBluring.classList.toggle("blurredout");