From e56849437e799f80e0234c6b4360cdd4618642b9 Mon Sep 17 00:00:00 2001 From: Looki2000 Date: Wed, 3 May 2023 20:03:42 +0200 Subject: [PATCH] removed coming soon text --- index.html | 5 +---- script.js | 33 --------------------------------- style.css | 30 ------------------------------ 3 files changed, 1 insertion(+), 67 deletions(-) delete mode 100644 script.js diff --git a/index.html b/index.html index 2dfc2d7..b558736 100644 --- a/index.html +++ b/index.html @@ -28,11 +28,8 @@ Get it on Google Play - + Available on itch.io -
-

coming soon!

-
diff --git a/script.js b/script.js deleted file mode 100644 index c9e3d96..0000000 --- a/script.js +++ /dev/null @@ -1,33 +0,0 @@ -document.addEventListener('DOMContentLoaded', () => { - - console.log('DOM fully loaded and parsed'); - - var rotated_text = document.getElementById('rotated_text'); - - var old_width = rotated_text.offsetWidth; - var width; - - // animation frame loop - function loop() { - - // get widt of div with id="rotated_text" - width = rotated_text.offsetWidth; - - // if width has changed - if (width != old_width) { - // set new width - old_width = width; - - // set font-size of p inside rotated_text to width * n - rotated_text.children[0].style.fontSize = width * 0.15 + 'px'; - } - - - - requestAnimationFrame(loop); - } - - // start the loop - requestAnimationFrame(loop); - -}); \ No newline at end of file diff --git a/style.css b/style.css index b7284c2..4309f50 100644 --- a/style.css +++ b/style.css @@ -89,36 +89,6 @@ h1 { margin-bottom: -4px; } -#rotated_text { - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; - - /* bold font*/ - font-weight: bold; - - /* center text vertically */ - display: flex; - align-items: center; - justify-content: center; - - color: #ffec9e; - -} - -#rotated_text p { - margin: 0; - - /* rotate text */ - transform: rotate(13deg); - - text-shadow: 0 0 15px #000; - - font-size: 400%; -} - footer { --footer-height: 50px;