Finish basic site

This commit is contained in:
Tyler Perkins
2023-09-05 19:36:06 -04:00
parent 8c6dc0c101
commit 9f9260180c
7 changed files with 55 additions and 60 deletions

View File

@@ -10,7 +10,7 @@ window.onload = function() {
let parallax = document.querySelector('.parallax')
let scrollPosition = window.pageYOffset;
let newSize = (document.querySelector('#content').offsetHeight * 0.66);
let newSize = (document.querySelector('#content').offsetHeight * 0.8);
if(newSize < window.innerHeight)
newSize = window.innerHeight;
parallax.style.height = newSize + "px";