diff --git a/global/globalScript.js b/global/globalScript.js index 273989a..c404ea3 100644 --- a/global/globalScript.js +++ b/global/globalScript.js @@ -143,7 +143,7 @@ function setVh() { document.addEventListener("DOMContentLoaded", async function() { - + setVh() debugPrint("currentPage", `${CURRENT_PAGE} ${Object.keys(PAGES)[CURRENT_PAGE + 1]}`) startLoadingScreen() @@ -186,7 +186,7 @@ document.addEventListener("DOMContentLoaded", async function() { window.addEventListener("resize", function() { - document.documentElement.style.setProperty("--vh", window.innerHeight * 0.01 + "px"); + setVh() calcPixelDensity() switch (CURRENT_PAGE) { diff --git a/global/loadingScreen.css b/global/loadingScreen.css index 8cc53f4..f1c6a2c 100644 --- a/global/loadingScreen.css +++ b/global/loadingScreen.css @@ -31,7 +31,7 @@ } #loadingText { position: fixed; - bottom: 0%; + bottom: 0; left: calc(50vw - min(45vw, 250px)); width: min(90vw, 500px); text-align: center; diff --git a/toys/license/600x400_license.css b/toys/license/600x400_license.css index 0faca8d..21b6267 100644 --- a/toys/license/600x400_license.css +++ b/toys/license/600x400_license.css @@ -1,5 +1,4 @@ #licenseContainer_600x400 { - font-family: "Comic Sans MS", "Comic Sans", cursive; position: absolute; top: 0vh; left: 300vw; @@ -40,9 +39,6 @@ margin: 5% 0% 0% 0%; } #signatureValue_600x400 { - font-family: "Yellowtail", serif; - font-weight: 400; - font-style: normal; margin: 0% 0% -0.2rem 0%;/* margin: 0% 0% 0.2rem 0%; */ text-align: center; font-size: 1.5rem; @@ -82,7 +78,8 @@ } #titleValue_600x400 { grid-area: 1 / 1 / 2 / 3; - font-size: min(max(3vmax, 4vmin), 1.6rem); + font-size: 2rem; margin: 0% auto 0% auto; height: max-content; + text-align: center; } \ No newline at end of file diff --git a/toys/license/index.html b/toys/license/index.html index 3896481..70cee5a 100644 --- a/toys/license/index.html +++ b/toys/license/index.html @@ -13,9 +13,13 @@ - - - + + +
Byte Dice
+Byte Dice
Sign here
Byte Dice
Sign here