diff --git a/css/loading-old.css b/css/loading-hexagon.css similarity index 100% rename from css/loading-old.css rename to css/loading-hexagon.css diff --git a/css/style.css b/css/style.css index 33f44537..3317a503 100644 --- a/css/style.css +++ b/css/style.css @@ -232,7 +232,7 @@ img[alt="Proxy Icon"] { font-family: var(--font-family); transition: all 0.2s ease-in; cursor: pointer; -} +} .card h5 { font-size: 2rem; @@ -242,6 +242,7 @@ img[alt="Proxy Icon"] { .card:hover { background-color: var(--hover-color); + transform: scale(1.05); } #page-loader iframe { diff --git a/js/bg.js b/js/bg.js index 1e5ef578..627f9f7a 100644 --- a/js/bg.js +++ b/js/bg.js @@ -151,7 +151,7 @@ function setup() { Draw --------------------*/ -let inGame = true; +let inGame = false; function draw() { if (!inGame && document.visibilityState == "visible") { time++; diff --git a/js/loading-old.js b/js/loading-hexagon.js similarity index 100% rename from js/loading-old.js rename to js/loading-hexagon.js diff --git a/js/loading.js b/js/loading.js index cb73e4a1..2a5cbd57 100644 --- a/js/loading.js +++ b/js/loading.js @@ -23,6 +23,7 @@ fetch("./game-info.jsonc").then((e) => e.text()).then((jsonc) => { $("#gamesList li").on("click", function() { let url = $(this).attr("url"); + inGame = true; $("#everything-else").fadeOut(); $("#page-loader").fadeIn(); $("#page-loader iframe")[0].src = url;