76 lines
1010 B
CSS
76 lines
1010 B
CSS
@font-face {
|
|
font-family: 'MachineScript';
|
|
font-style: normal;
|
|
font-weight: 400;
|
|
src: url(./MachineScript.ttf) format('truetype');
|
|
}
|
|
|
|
html, body {
|
|
width: 100%;
|
|
height: 100%;
|
|
margin: 0;
|
|
}
|
|
|
|
html {
|
|
background-color: #29292a;
|
|
}
|
|
|
|
body {
|
|
font-family: MachineScript;
|
|
color: white;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
background: url(./map/grass.png);
|
|
}
|
|
|
|
#backlayer {
|
|
position: fixed;
|
|
top: 0px;
|
|
left: 0px;
|
|
width: 100%;
|
|
height: 100%;
|
|
background-color: #000000d6;
|
|
z-index: 1;
|
|
}
|
|
|
|
#startScreen {
|
|
text-align: center;
|
|
z-index: 2;
|
|
}
|
|
|
|
#startScreen ul {
|
|
list-style: none;
|
|
line-height: 30px;
|
|
padding: 0px;
|
|
margin: 50px;
|
|
}
|
|
|
|
a {
|
|
color: white;
|
|
}
|
|
|
|
a:hover {
|
|
color: darkgreen;
|
|
}
|
|
|
|
|
|
#gameScreen {
|
|
z-index: 2;
|
|
text-align: center;
|
|
}
|
|
|
|
canvas {
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
#rulesScreen {
|
|
text-align: center;
|
|
z-index: 2;
|
|
}
|
|
|
|
img {
|
|
height: 50px;
|
|
width: 50px;
|
|
margin: 2px;
|
|
} |