Improve appearance
This commit is contained in:
BIN
assets/MachineScript.ttf
Normal file
BIN
assets/MachineScript.ttf
Normal file
Binary file not shown.
BIN
assets/grass.png
Normal file
BIN
assets/grass.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 15 KiB |
64
assets/style.css
Normal file
64
assets/style.css
Normal file
@@ -0,0 +1,64 @@
|
||||
@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(./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;
|
||||
}
|
||||
|
||||
a {
|
||||
color: white;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
color: darkgreen;
|
||||
}
|
||||
|
||||
|
||||
#gameScreen {
|
||||
z-index: 2;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
canvas {
|
||||
margin-bottom: 20px;
|
||||
}
|
Reference in New Issue
Block a user