diff --git a/content/about-test/index.html b/content/about-test/index.html index 0c4ec3c..0c08582 100644 --- a/content/about-test/index.html +++ b/content/about-test/index.html @@ -2,7 +2,7 @@ - + - + Hiya, Call me Tee! @@ -81,7 +81,7 @@ Hiya, Call me Tee! - + Hiya, Call me Tee! document.addEventListener("DOMContentLoaded", function () { var overlay = document.getElementById("overlay"); var content = document.getElementById("content"); - var enterButton = document.getElementById("enterButton"); var video = document.getElementById("aboutvideo"); var volumeControl = document.getElementById("volumeControl"); var volumePercentage = document.getElementById("volumePercentage"); + var enterButton = document.getElementById("enterButton"); - overlay.style.display = "none"; - content.style.display = "block"; - video.muted = false; - video.play(); - - video.volume = volumeControl.value; - volumePercentage.innerHTML = Math.round(volumeControl.value * 100) + "%"; + enterButton.addEventListener("click", function () { + overlay.style.display = "none"; + content.style.display = "block"; + video.muted = false; + video.volume = volumeControl.value; + video.play(); + volumePercentage.innerHTML = Math.round(volumeControl.value * 100) + "%"; + }); volumeControl.addEventListener("input", function () { video.volume = volumeControl.value; diff --git a/content/font/index.html b/content/font/index.html deleted file mode 100644 index 40b6d45..0000000 --- a/content/font/index.html +++ /dev/null @@ -1,22 +0,0 @@ -Switch to Vujahday - - diff --git a/static/assets/css/style.css b/static/assets/css/style.css index 7f024b7..deac755 100644 --- a/static/assets/css/style.css +++ b/static/assets/css/style.css @@ -43,7 +43,7 @@ body { @import url("https://fonts.googleapis.com/css2?family=Vujahday+Script&display=swap"); body { - font-family: "Vujahday Script", cursive; /* Use only Vujahday Script */ + font-family: "Vujahday Script", cursive; font-size: 18px; font-weight: 360; color: #888; @@ -365,7 +365,7 @@ section:hover { /* Button hover effect */ .enter-button:hover { - background-color: #c4a1e1; /* Slightly darker shade for hover */ + background-color: #c4a1e1; /* Slightly darker shade for hover */ } @media (max-width: 768px) {