diff --git a/global/globalScript.js b/global/globalScript.js index 12da6c8..8107e02 100644 --- a/global/globalScript.js +++ b/global/globalScript.js @@ -173,7 +173,7 @@ document.addEventListener("DOMContentLoaded", async function() { switch (CURRENT_PAGE) { case (PAGES.SYNTHWAVE): loadingScreenSynthwave(); break - case (PAGES.LICENSE): onLoadLicense(); loadingScreenStars(); break + case (PAGES.LICENSE): loadingScreenLicense(); loadingScreenStars(); break case (PAGES.TOYS): loadingScreenStars(); break case (PAGES.LIBS): loadingScreenStars(); break } @@ -209,6 +209,7 @@ window.addEventListener("resize", function() { switch (CURRENT_PAGE) { case (PAGES.SYNTHWAVE): onResizeSynthwave() + case (PAGES.LICENSE): scaleDisplayLicense() } // unoptimal but works well enough diff --git a/global/globalStyle.css b/global/globalStyle.css index 90b2f9f..4a8d7b9 100644 --- a/global/globalStyle.css +++ b/global/globalStyle.css @@ -31,7 +31,7 @@ canvas { } .pxFont { font-family: "Roboto", sans-serif; - ; font-size: min(5vmin, 2vmax, 1rem) + font-size: min(5vmin, 2vmax, 1rem) } @keyframes slide-left { 0% { transform: translateX(0%); } diff --git a/toys/license/600x400_license.css b/toys/license/600x400_license.css deleted file mode 100644 index 21b6267..0000000 --- a/toys/license/600x400_license.css +++ /dev/null @@ -1,85 +0,0 @@ -#licenseContainer_600x400 { - position: absolute; - top: 0vh; - left: 300vw; - width: 600px; - height: 400px; - padding: 0px 20px 40px 20px; - font-size: 0.75rem; - box-sizing: border-box; - display: grid; - grid-template-columns: repeat(2, auto); - grid-template-rows: repeat(2, auto); -} -#picContainer_600x400 { - width: 150px; - height: 150px; - display: block; - overflow: hidden; - background-color: transparent; - border-radius: 32px; -} -#picValue_600x400 { - width: 100%; - height: 100%; - object-fit: cover; - object-position: center; -} -#credits_600x400 { - position: absolute; - bottom: 0%; - left: 0%; - margin: 0% 0% 0% 20px; - color: var(--navBarBtn_Inner); - font-size: 0.6rem; -} -#signatureContainer_600x400 { - display: inline-flex; - flex-direction: column; - margin: 5% 0% 0% 0%; -} -#signatureValue_600x400 { - margin: 0% 0% -0.2rem 0%;/* margin: 0% 0% 0.2rem 0%; */ - text-align: center; - font-size: 1.5rem; -} -#signHere_600x400 { - border-top: #000000 solid 6px; - margin: 0%; - padding: 0% 25px; - text-align: center; -} -#detailsContainer_600x400 { - display: grid; - grid-template-columns: repeat(2, auto); -} -.sillyBar_600x400 { - width: auto; - height: auto; - background-color: #000000; - border: 3px solid black; - border-radius: 8px; - align-self: center; - display: flex; - gap: 3px; -} -.sillyValue_600x400 { - position: relative; - width: calc(100% / 10); - height: 100%; - aspect-ratio: 1 / 1; - display: block; -} -.sillyValue_600x400:first-child { - border-radius: 5px 0px 0px 5px; -} -.sillyValue_600x400:last-child { - border-radius: 0px 5px 5px 0px; -} -#titleValue_600x400 { - grid-area: 1 / 1 / 2 / 3; - 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 d8cf77f..8078a20 100644 --- a/toys/license/index.html +++ b/toys/license/index.html @@ -11,7 +11,6 @@ -