diff --git a/constants.js b/constants.js index 322f9f9..001d25a 100644 --- a/constants.js +++ b/constants.js @@ -1442,9 +1442,29 @@ const freeBuildingPowerupText = { const statTypes = { powerups: { name: "Powerups Clicked" + }, + seconds: { + name: "Seconds Played" + }, + clicks: { + name: "Clicks" } } +const options = { + name: { + name: "Your name", + type: "text", + set: value => macroDesc.name = value, + get: () => macroDesc.name + }, + species: { + name: "Your species", + type: "text", + set: value => macroDesc.species = value, + get: () => macroDesc.species + } +} deepFreeze(prodUpgradeText); deepFreeze(prodAllUpgradeText); deepFreeze(clickUpgradeText); diff --git a/gorge.css b/gorge.css index 55fa568..2be4b09 100644 --- a/gorge.css +++ b/gorge.css @@ -666,3 +666,66 @@ div::-webkit-scrollbar-corner { z-index: 2; } } + +.modal { + position: absolute; + z-index: 3; + background: rgba(0, 0, 0, 0.7); + top: 0%; + left: 0%; + height: 100%; + width: 100%; + display: none; +} + +.modal .modal-contents { + position: absolute; + width: 60%; + height: 60%; + text-align: center; + vertical-align: middle; + top: 50%; + left: 50%; + transform: translate(-50%, -50%); +} + +.modal.modal-active { + display: block; +} + +.modal-exit { + width: 15vw; + height: 7.5vh; + font-size: 3vh; +} + +.stat-line, +.option-line { + font-size: 18px; + width: 100%; + height: 24px; +} + +.stat-line:nth-child(even), +.option-line:nth-child(even) { + background: #333; +} + +.stat-line:nth-child(odd), +.option-line:nth-child(odd) { + background: #222; +} + +.stat-name, +.option-name { + width: 50%; + float: left; +} + +.stat-value, +.option-value { + width: 50%; + max-width: 50%; + box-sizing: border-box; + float: right; +} diff --git a/gorge.html b/gorge.html index 464e6b3..5100db6 100644 --- a/gorge.html +++ b/gorge.html @@ -33,6 +33,8 @@ + +