diff --git a/index.html b/index.html index 6974d39..488a649 100644 --- a/index.html +++ b/index.html @@ -334,6 +334,106 @@ top:150px; right:10px; } + + #myBackground { + height: 100%; + width: 100%; + background-color: transparent; + background-repeat: no-repeat; + background-size: cover; + background-position: center center; + display: flex; + align-items: center; + justify-content: center; + } + + .topMessage{ + width: 100%; + height: 35px; + position: absolute; + background: rgba(255,255,255,.7); + top: 5px; + text-align: justify; + text-justify: inter-word; + } + + .topMessage p{ + font-family:Serif; + color: black; + margin-top: 3px; + margin-left: 10px; + margin-right: 10px; + font-size:1.4vw; + text-align: center; + } + + .bottomMessage{ + width: 100%; + height: 50px; + position: absolute; + background: rgba(255,255,255,.7); + bottom: 5px; + text-align: justify; + text-justify: inter-word;; + } + + .bottomMessage p{ + font-family:Serif; + color: black; + margin-top: 3px; + margin-left: 10px; + margin-right: 10px; + font-size:1.4vw; + text-align: center; + } + + .switch{ + color-scheme: only light; + position: absolute; + bottom: 50px; + right: 50px; + height: 80px; + width: 80px; + background: linear-gradient(#eee, #ccc, #eee); + border: 2px solid black; + border-radius: 10px; + display: flex; + justify-content: center; + align-items: center; + } + + .switch .btn{ + position: relative; + width: 25px; + height: 40px; + background: linear-gradient(#fff, #777, #fff); + border-radius: 6px; + border: 2px solid black; + cursor: pointer; + } + + .switch .btn::before{ + content: ''; + position: absolute; + top: 15%; + left: 0; + width: 100%; + height: 85%; + background: linear-gradient(#fff, #fff); + border-radius: 4px; + } + + .on .switch .btn::before{ + top: 0; + } + + #audio{ + display: none; + } + + #myBackground.on{ + background-color: black; + } @@ -349,37 +449,16 @@ -
-

Before you begin: wondering about your game data? Don`t worry! Your unlocked assets, highscore and coins are safely stored in your browser`s local storage and get loaded whenever you choose to revisit this site. Switching the game window to fullscreen mode is advized for a better game-experience :)

+
+

Before you begin: wondering about your game data? Don`t worry! Your unlocked assets, highscore and coins are safely stored in your browser`s local storage and get loaded whenever you choose to revisit this site. Switching the game window to fullscreen mode is advized for a better game-experience -`โ™กยด-

-
-

If you liked playing this game, you can appreciate the effort by starring the github repo of the project or simply dropping the developer a mail

+
+

If you liked playing this game, you can appreciate the effort by starring the github repo of the project or simply dropping the developer a mail๐“ฏ๐“‚ƒ๐“งโ™ก

-
+
+
+
+
- +