90ff4fe2ff
added changing maps all done like this https://www.youtube.com/watch?v=U7fYOnedjzs&list=PLcjhmZ8oLT0r9dSiIK6RB_PuBWlG1KSq_&index=9
35 lines
512 B
CSS
35 lines
512 B
CSS
:root {
|
|
--border-color: #000;
|
|
--dialog-background: #fff;
|
|
|
|
--menu-background: #fff;
|
|
--menu-border-color: #aaa;
|
|
--menu-font-color: #000;
|
|
--menu-selected-background: #ddd;
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
padding: 0;
|
|
overflow: hidden;
|
|
background: #333;
|
|
}
|
|
|
|
.game-container {
|
|
position: relative;
|
|
width: 352px;
|
|
height: 198px;
|
|
margin: 0 auto;
|
|
margin-top: 20px;
|
|
outline: 1px solid #fff;
|
|
|
|
transform: scale(2) translateY(30%);
|
|
}
|
|
|
|
.game-container canvas {
|
|
image-rendering: pixelated;
|
|
} |