|
- body {
- font-family: Sans-Serif;
- user-select: none;
- -moz-user-select: none;
- touch-action: manipulation;
- overflow: hidden;
- }
-
- 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 {
- font-size: 36px;
- background-color: #322;
- position: absolute;
- width: 100%;
- height: 10%;
- top: 0%;
- left: 0%;
- text-align: center;
- margin: auto;
- }
-
- #top-bar > button {
- font-size: 3vh;
- }
-
- #resources-area {
- position: absolute;
- text-align: center;
- width: 35%;
- left: 0%;
- top: 20%;
- 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: 20%;
- height: 90%;
- max-height: 80vh;
- padding-bottom: 10px;
- }
-
- #buildings-list {
- overflow-x: hidden;
- overflow-y: scroll;
- max-height: 80vh;
- }
-
- @media (max-aspect-ratio: 1/1) {
- body #upgrades-area {
- top: 10%;
- }
-
- body #buildings-area {
- top: 50%;
- left: 50%;
- width: 50%;
- height: 45%;
- max-height: 40vh;
- }
-
- body #buildings-list {
- max-height: 40vh;
- }
- }
-
- #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;
- }
-
- #powerup-tooltip {
- position: fixed;
- width: 400px;
- background: #333;
- display: none;
- z-index: 1;
- left: 0px;
- top: 0px;
- }
-
- #powerup-tooltip-name {
- font-size: 24px;
- color: #eee;
- margin: 10px;
- top: 10px;
- left: 10px;
- }
-
- #powerup-tooltip-desc {
- font-size: 18px;
- color: #bbb;
- margin: 10px;
- left: 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 > .fas {
- text-align: center;
- width: 100%;
- height: 100%;
- left: 25%;
- transform: translate(0, 5px);
- position: absolute;
- font-size: 60px;
- }
-
- .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;
- }
-
- #buildings-area:hover > #buildings:hover ~ .building-button:not(:hover) {
- opacity: 1;
- }
-
- #buildings-area:hover > .building-button:hover {
- opacity: 1;
- }
-
- #buildings-area:hover > .building-button:not(:hover) {
- opacity: 0.6;
- }
-
- .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: 20%;
- }
-
- @media (max-aspect-ratio: 1/1) {
- #upgrades-area {
- position: absolute;
- left: 50%;
- height: 35%;
- width: 50%;
- }
-
- #upgrades-list {
- max-height: 25vh !important;
- }
- }
-
- .title {
- font-size: 48px;
- text-align: center;
- }
-
- #upgrades-list {
- display: flex;
- flex-wrap: wrap;
- max-height: 70vh;
- padding-bottom: 75px;
- overflow-x: hidden;
- overflow-y: scroll;
- }
-
- #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;
- margin: 10px;
- display: block;
- background-color: #444;
- transition: 0.2s;
- text-align: center;
- }
-
- .upgrade-button > .fas {
- width: 100px;
- height: 100px;
- font-size: 75px;
- transform: translate(0%, -37.5%);
- opacity: 0.5;
- }
-
- .upgrade-button:hover {
- transform: scale(1.25, 1.25);
- }
-
- @media (max-aspect-ratio: 1/1) {
- .upgrade-button {
- width: 13vw;
- height: 13vw;
- }
-
- .upgrade-button > .fas {
- font-size: 10vw;
- }
- }
-
- .upgrade-button-inactive {
- background-color: #222 !important;
- color: #999 !important;
- }
-
- .upgrade-button-name {
- pointer-events: none;
- position: relative;
- text-align: center;
- width: 100px;
- height: 100px;
- top: 50%;
- bottom: 50%;
- right: 50%;
- left: 50%;
- margin: -25px -50px;
- z-index: 1;
- font-weight: bold;
- overflow-wrap: break-word;
- }
-
- .click-popup-food {
- pointer-events: none;
- transform-origin: -100% 50%;
- text-align: center;
- position: fixed;
- animation: click-popup-food 2s linear;
- animation-fill-mode: both;
- font-size: 36px;
- --target: -200px;
- }
-
- .click-popup-gulp {
- pointer-events: none;
- transform-origin: -100% 50%;
- text-align: center;
- position: fixed;
- animation: click-popup-gulp 2s linear;
- animation-fill-mode: both;
- font-size: 36px;
- --target: 200px;
- }
-
- .click-popup-upgrade {
- pointer-events: none;
- transform-origin: -50% 50%;
- text-align: center;
- position: fixed;
- animation: click-popup-upgrade 2s linear;
- animation-fill-mode: both;
- font-size: 36px;
- --target: -200px;
- }
-
- .click-popup-info {
- pointer-events: none;
- text-align: center;
- position: fixed;
- transform-origin: 0% 0%;
- animation: click-popup-info 2s linear;
- animation-fill-mode: both;
- font-size: var(--font-size);
- --target: -200px;
- --font-size: 36px;
- }
-
-
- @keyframes click-popup-food {
- 0% {
- transform: translate(0px, 0px) scale(1, 1);
- opacity: 1;
- }
- 100% {
- transform: translate(var(--target), -200px) scale(0.5, 0.5);
- opacity: 0;
- }
- }
-
- @keyframes click-popup-gulp {
- 0% {
- transform: translate(0px, 0px) scale(1, 1);
- opacity: 1;
- }
- 100% {
- transform: translate(var(--target), 200px) scale(0.5, 0.5);
- opacity: 0;
- }
- }
-
- @keyframes click-popup-upgrade {
- 0% {
- transform: translate(0px, 0px) scale(1, 1);
- opacity: 1;
- }
- 100% {
- transform: translate(var(--target), 200px) scale(0.5, 0.5);
- opacity: 0;
- }
- }
-
- @keyframes click-popup-info {
- 0% {
- transform: translate(0px, 0px) scale(1, 1);
- opacity: 1;
- }
- 100% {
- transform: translate(var(--target), 200px) scale(0.5, 0.5);
- opacity: 0;
- }
- }
-
-
-
- div::-webkit-scrollbar {
- width: 3px;
- height: 2px;
- }
- div::-webkit-scrollbar-button {
- width: 0px;
- height: 0px;
- }
- div::-webkit-scrollbar-thumb {
- background: #e1e1e1;
- border: 0px none #ffffff;
- border-radius: 50px;
- }
- div::-webkit-scrollbar-thumb:hover {
- background: #ffffff;
- }
- div::-webkit-scrollbar-thumb:active {
- background: #000000;
- }
- div::-webkit-scrollbar-track {
- background: #00000000;
- border: 0px none #ffffff;
- border-radius: 50px;
- }
- div::-webkit-scrollbar-track:hover {
- background: #666666;
- }
- div::-webkit-scrollbar-track:active {
- background: #333333;
- }
- div::-webkit-scrollbar-corner {
- background: transparent;
- }
-
- .switcher-button {
- position: relative;
- display: block;
- background-color: #222;
- color: #eee;
- border: 5px;
- border-color: #666;
- border-style: solid;
- user-select: none;
- }
-
- .switcher-button-disabled {
- background-color: #111;
- color: #999;
- }
-
- .switcher-button:hover {
- border-color: #777;
- background-color: #222;
- }
-
- .switcher-button:active {
- border-color: #333;
- background-color: #111;
- }
-
- .news-text {
- pointer-events: none;
- text-align: center;
- position: fixed;
- top: 98vh;
- left: 50vw;
- transform-origin: 0% 0%;
- animation: news-text-frames 5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
- animation-fill-mode: both;
- font-size: 24px;
- }
-
- @keyframes news-text-frames {
- 0% {
- transform: translate(-50%, 0px);
- opacity: 0;
- }
- 20% {
- transform: translate(-50%, -100px);
- opacity: 1;
- }
- 80% {
- transform: translate(-50%, -100px);
- opacity: 1;
- }
- 100% {
- transform: translate(-50%, 0px);
- opacity: 0;
- }
- }
-
- .powerup {
- position: fixed;
- --leftpos: 50%;
- --toppos: 50%;
- --lifetime: 10s;
- left: var(--leftpos);
- top: var(--toppos);
- width: 125px;
- height: 125px;
- font-size: 80px;
- animation: powerup-frames var(--lifetime) linear;
- transition: 0.25s;
- border-radius: 50%;
- background: #611;
- border: 150px;
- z-index: 10;
- }
-
- .powerup:hover {
- transform: scale(1.25, 1.25);
- }
-
- .powerup:active {
- transform: scale(0, 0);
- }
-
- .powerup.powerup-clicked {
- transform: scale(0, 0);
- pointer-events: none;
- }
-
- @keyframes powerup-frames {
- 0% {
- opacity: 0;
- }
- 20% {
- opacity: 1;
- }
- 80% {
- opacity: 1;
- }
- 100% {
- opacity: 0;
- }
- }
-
- .powerup > .fas {
- width: 100%;
- height: 100%;
- text-align: center;
- color: green;
- transform: translate(0, 17.5px);
- }
-
- #powerups {
- margin-top: 100px;
- }
-
- #powerup-list {
-
- }
-
- .powerup-entry {
- --progress: 0%;
- background: linear-gradient(to left, #000 0%, #000 var(--progress), #555 var(--progress), #555 100%);
- transition: 1s;
- height: 50px;
- max-height: 50px;
- }
-
- .powerup-entry-done {
- transform: scale(1, 0);
- max-height: 0px;
- }
-
-
- #changelog-link a {
- position: fixed;
- left: 0%;
- top: 0%;
- height: 10vh;
- z-index: 2;
- font-size: 36px;
-
- }
-
- #discord-link img {
- position: fixed;
- right: 0%;
- top: 0%;
- height: 10vh;
- z-index: 2;
- }
-
-
- @media (max-aspect-ratio: 1/1) {
- body #changelog-link a {
- top: auto;
- bottom: 0%;
- z-index: 2;
- }
-
- body #discord-link img {
- top: auto;
- bottom: 0%;
- z-index: 2;
- }
- }
|