Porting all CSS to SCSS for easier maintainance, checking on all best practices.
This commit is contained in:
parent
4f5089655b
commit
bdded822bd
37 changed files with 1115 additions and 424 deletions
|
@ -8,8 +8,10 @@ window.addEventListener("load", () => {
|
|||
nav.classList.toggle('menu-shown');
|
||||
})
|
||||
document.querySelectorAll(".menu-with-sub").forEach(menu => {
|
||||
menu.querySelector("a").addEventListener("click", () => {
|
||||
menu.querySelector("a[role=button]").addEventListener("click", () => {
|
||||
menu.classList.toggle('toggled');
|
||||
})
|
||||
})
|
||||
// Basic mail protection
|
||||
document.querySelector("a[alt=Mail]").href = "mail" + "to" + String.fromCharCode(58) + "mail" + String.fromCharCode(64) + "ad5001.eu"
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue