some fixes.
This commit is contained in:
parent
e03321351d
commit
1952708e9f
9 changed files with 195 additions and 161 deletions
27
game.css
27
game.css
|
@ -1,9 +1,9 @@
|
|||
.message {
|
||||
position: relative;
|
||||
margin-bottom: -800px;
|
||||
bottom: 800px;
|
||||
width: 800px;
|
||||
height: 800px;
|
||||
margin-bottom: -1024px;
|
||||
bottom: 1024px;
|
||||
width: 1024px;
|
||||
height: 1024px;
|
||||
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
@ -26,8 +26,21 @@
|
|||
font-weight: bold;
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
#canvas {
|
||||
width: 800px;
|
||||
height: 800px;
|
||||
image-rendering: pixelated
|
||||
width: 768px;
|
||||
height: 768px;
|
||||
/*image-rendering: pixelated;*/
|
||||
background: rgb(63, 63, 71);
|
||||
}
|
||||
|
||||
section#main {
|
||||
width: 1024px;
|
||||
}
|
||||
|
||||
@media (max-width: 780px) {
|
||||
#canvas {
|
||||
width: min(512px,90vw);
|
||||
height: min(512px,90vw);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue