Compare commits

...

2 Commits

Author SHA1 Message Date
Notoric b84cf83bda Made scrolling nicer for aboutme on mobile 2024-05-29 18:44:25 +01:00
Notoric 6d586c0982 Hide nav on mobile when you select a destination 2024-05-29 18:35:00 +01:00
2 changed files with 18 additions and 0 deletions

View File

@ -21,6 +21,16 @@ topshrtct.addEventListener('click', () => {
}
});
let links = document.getElementById('navbar').getElementsByTagName('a');
for (let link of links) {
link.addEventListener('click', () => {
const navbar = document.getElementById('navbar');
navbar.classList.remove('expanded');
navbtn.classList.remove('expanded');
});
}
async function updateAge() {
setInterval(() => {
const birthdate = new Date('2002-02-12T07:35:00Z');

View File

@ -542,5 +542,13 @@ em {
width: 500px;
height: 500px;
}
#aboutme {
padding-top: 70px;
}
#aboutme h1 {
transform: translateY(170px);
}
}