restructure
This commit is contained in:
43
public/src/css/game.css
Normal file
43
public/src/css/game.css
Normal file
@@ -0,0 +1,43 @@
|
||||
#game{
|
||||
width:100%;
|
||||
height:100%;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
#canvas{
|
||||
width:100%;
|
||||
height:100%;
|
||||
}
|
||||
|
||||
#pause-menu{
|
||||
display:none;
|
||||
width:100%;
|
||||
height:100%;
|
||||
position:absolute;
|
||||
top:0;
|
||||
left:0;
|
||||
background:rgba(0,0,0,0.75);
|
||||
z-index: 5;
|
||||
}
|
||||
|
||||
#pause-menu button{
|
||||
|
||||
width: 90%;
|
||||
height: 25%;
|
||||
display: block;
|
||||
margin: auto auto 30px;
|
||||
cursor: pointer;
|
||||
border:5px solid #ae7a26;
|
||||
background: rgb(255, 255, 255);
|
||||
color: black;
|
||||
font-family: TnT;
|
||||
font-size: 5vmin;
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
#pause-menu button:hover{
|
||||
border-color:#fa5d3a;
|
||||
color:white;
|
||||
background:#0c6577;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user