diff --git a/index.html b/index.html index dac506ca..22a070af 100644 --- a/index.html +++ b/index.html @@ -24,6 +24,7 @@ body { font-family: pixelifysans, monospace; font-size: 2rem; + user-select: none; } #app { @@ -50,117 +51,6 @@ z-index: 1000; } - #header { - color: white; - text-align: center; - font-size: 2em; - } - - .d-desktop-hide { - display: none; - } - - .d-mobile-hide { - display: none; - } - - .btn-container { - align-self: flex-end; - margin-top: 1rem; - display: flex; - gap: 0.6rem; - opacity: 0; - animation: fadeIn 1s forwards 0.6s; - } - - @keyframes fadeIn { - 0% { - opacity: 0; - } - - 100% { - opacity: 1; - } - } - - @keyframes slideIn { - 0% { - opacity: 0; - transform: translateY(20px); - } - - 100% { - opacity: 1; - transform: translateY(0); - } - } - - #energy-container { - padding: 0.5rem 1rem; - display: flex; - align-items: center; - border-radius: 15px; - opacity: 0; - animation: fadeIn 1s forwards 0.7s; - } - - #energy-title { - margin: 0; - margin-right: 5px; - color: #fff; - text-shadow: 0 2px 5px rgba(0, 0, 0, 0.8); - font-size: 1.25rem; - line-height: 1.6; - } - - #energy-bar-total { - width: 100px; - height: 0.8rem; - background-color: red; - } - - #energy-bar-remain { - width: 100%; - height: 100%; - background-color: lightgreen; - } - - #minimap-container { - display: flex; - padding: 0.5rem 1rem; - justify-content: center; - } - - #minimap-button-container { - margin-left: auto; - display: flex; - align-items: center; - color: #fff; - gap: 10px; - font-size: 1.25rem; - font-family: pixelifysans; - } - - #minimap-button { - margin: 0; - padding: 5px; - border: 0; - outline: 0; - border-radius: 8px; - font-size: 1.25rem; - font-family: pixelifysans; - } - - #minimap { - display: none; - } - - @media (min-width: 768px) { - #header { - font-size: 1.2em; - } - } - @media (max-width: 900px) { .game-window { left: 0; @@ -181,6 +71,39 @@ +
+ Do you want to start a new game? (This clears the saved + game data.) +
+ +