123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123 |
- @import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');
- body {
- width: 100%;
- height: 100%;
- position: absolute;
- background: #000000;
- margin: 0;
- padding: 0;
- overscroll-behavior: none;
- }
- .container {
- width: 100%;
- height: 100%;
- position: relative;
- }
- .ui {
- width: 100%;
- height: 100%;
- position: absolute;
- top: 0;
- left: 0;
- font-family: 'Press Start 2P', cursive;
- }
- @keyframes game-over-anim {
- from {
- opacity: 0.0;
- }
- to {
- opacity: 1.0;
- }
- }
- .game-over-layout {
- opacity: 0.0;
- visibility: hidden;
- height: 100%;
- width: 100%;
- background: rgba(0, 0, 0, 0.75);
- display: flex;
- flex-direction: row;
- justify-content: center;
- align-items: center;
- z-index: 1;
- }
- .game-over-layout.active {
- opacity: 1.0;
- visibility: visible;
- transition: opacity 0.5s ease-in-out;
- }
- .game-over-text {
- font-size: 5em;
- color: white;
- text-shadow: 8px 8px black;
- }
- .score-text {
- font-size: 3em;
- color: white;
- padding: 2em;
- text-shadow: 5px 5px black;
- }
- .score-layout {
- display: flex;
- flex-direction: row;
- justify-content: flex-end;
- align-items: flex-end;
- }
- .game-menu-layout {
- width: 100%;
- height: 100%;
- background: white;
- display: flex;
- flex-direction: row;
- justify-content: center;
- align-items: flex-start;
- font-family: 'Segoe UI', Tahoma, sans-serif;
- }
- .game-menu-window {
- display: flex;
- flex-direction: column;
- justify-content: center;
- width: 400px;
- }
- .game-menu-window > img {
- width: 64px;
- height: 64px;
- padding-top: 100px;
- image-rendering: pixelated;
- }
- .game-menu-window > h1 {
- font-size: 1.6em;
- line-height: 1.25em;
- font-weight: 500;
- color: rgb(32, 33, 36);
- }
- .game-menu-window > p, li {
- margin: 0;
- font-size: 1em;
- line-height: 1.55em;
- color: rgb(95, 99, 104);
- }
- .game-menu-window > #error {
- margin: 0;
- font-size: 0.8em;
- line-height: 1.55em;
- color: rgb(95, 99, 104);
- margin-top: 12px;
- }
|