body { font-family: Sans-Serif; user-select: none; -moz-user-select: none; } body.dark { background: #111; color: #eee; } .hidden { display: none !important; } button { background-color: #444; color: #eee; } #tasty-micro { color: #ddd; background-color: #211; width: 300px; height: 200px; position: relative; top: 30px; margin: auto; font-size: 60px; } #top-bar { background-color: #322; position: absolute; width: 100%; height: 10%; top: 0%; left: 0%; text-align: center; margin: auto; } #resources-area { position: absolute; text-align: center; width: 35%; left: 0%; top: 10%; height: 90%; margin: auto; font-size: 36px; } .resource-quantity { font-size: 30px; } .resource-rate { font-size: 18px; color: #bbb; } #buildings-area { position: absolute; width: 20%; right: 5%; top: 10%; height: 90%; overflow-x: hidden; overflow-y: scroll; } #building-tooltip { position: fixed; width: 400px; background: #333; display: none; z-index: 1; left: 0px; top: 0px; } #building-tooltip-name { font-size: 24px; color: #eee; margin: 10px; top: 10px; left: 10px; } #building-tooltip-desc { font-size: 18px; color: #bbb; margin: 10px; left: 10px; } #building-tooltip-cost { position: absolute; top: 10px; right: 10px; font-size: 20px; } #building-tooltip-prod { font-size: 14px; color: #ccc; margin: 10px; } .building-button { position: relative; display: block; width: 90%; height: 75px; background-color: #222; color: #eee; border: 5px; border-color: #666; border-style: solid; user-select: none; } .building-button-disabled { background-color: #111; color: #999; } .building-button-name { font-size: 24px; position: absolute; left: 10%; top: 15%; user-select: none; -moz-user-select: none; } .building-button-cost { font-size: 18px; position: absolute; left: 10%; bottom: 15%; } .building-button-cost-invalid { color: #f22; } .building-button-cost-valid { color: #1a1; } .building-button:hover { background-color: #333; } .building-button-disabled:hover { background-color: #111 !important; } .building-button:active { border-color: #333; background-color: #111; } .building-button-disabled:active { background-color: #111 !important; border-color: #666 !important; } #upgrades-area { position: absolute; width: 20%; right: 35%; top: 10%; } .title { font-size: 48px; height: 10%; text-align: center; } #upgrades-list { display: flex; flex-wrap: wrap; } #upgrade-tooltip { position: absolute; width: 200px; background: #333; display: none; z-index: 1; left: 0px; top: 0px; } #upgrade-tooltip-name { font-size: 24px; color: #eee; margin: 10px; top: 50%; left: 10px; } #upgrade-tooltip-desc { font-size: 14px; color: #bbb; margin: 10px; } #upgrade-tooltip-effect { font-size: 20px; margin: 10px; } #upgrade-tooltip-cost { margin: 10px; } #upgrade-tooltip-prereqs { margin: 10px; } .cost-met { color: #0f0; } .cost-unmet { color: #f00; } .upgrade-button { width: 100px; height: 100px; display: block; background-color: #444; } .upgrade-button-inactive { background-color: #222 !important; color: #999 !important; } .upgrade-button-name { position: relative; text-align: center; width: 100px; height: 100px; top: 50%; bottom: 50%; right: 50%; left: 50%; margin: -25px -50px; }