Added a death screen reworked the design of pip Added a placeholder zombie Added a hitbox display mode
32 lines
468 B
CSS
32 lines
468 B
CSS
body, html {
|
|
color: white;
|
|
background: black;
|
|
}
|
|
|
|
canvas {
|
|
width: auto;
|
|
height: 90%;
|
|
|
|
image-rendering: pixelated;
|
|
|
|
display: flex;
|
|
margin: 0 auto;
|
|
|
|
border:1px solid #d3d3d3;
|
|
background: rgb(92,88,164);
|
|
background: linear-gradient(180deg, rgba(92,88,164,1) 30%, rgba(156,90,188,1) 100%);
|
|
}
|
|
|
|
h1,h2,h3 {
|
|
text-align: center;
|
|
}
|
|
|
|
button {
|
|
display: flex;
|
|
padding: 5px;
|
|
margin: 10px auto;
|
|
}
|
|
|
|
.sprite {
|
|
display: none;
|
|
} |