75 lines
1.1 KiB
CSS
75 lines
1.1 KiB
CSS
body {
|
|
margin: 0px;
|
|
padding: 0px;
|
|
background: radial-gradient(circle at center,
|
|
rgb(255, 255, 255) 0%,
|
|
rgb(255, 150, 50) 20%,
|
|
rgb(255, 40, 0) 35%,
|
|
rgb(110, 0, 150) 55%,
|
|
rgb(5, 10, 35) 100%
|
|
)
|
|
}
|
|
|
|
#game {
|
|
margin: 3px auto 0px auto;
|
|
padding: 0px;
|
|
width: 1280px;
|
|
height: 650px;
|
|
}
|
|
|
|
#canvas {
|
|
width: 1280px;
|
|
height: 650px;
|
|
margin: 0px;
|
|
background-color: rgb(0, 0, 0);
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#startMenu {
|
|
position: absolute;
|
|
width: 1280px;
|
|
height: 650px;
|
|
top: 0;
|
|
left: 0;
|
|
background: rgba(0,0,0,0.85);
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
align-items: center;
|
|
z-index: 10;
|
|
font-family: Arial, sans-serif;
|
|
}
|
|
|
|
.title {
|
|
font-size: 60px;
|
|
margin-bottom: 50px;
|
|
color: white;
|
|
letter-spacing: 3px;
|
|
}
|
|
|
|
.menuButton {
|
|
font-size: 30px;
|
|
padding: 10px 40px;
|
|
margin: 10px;
|
|
cursor: pointer;
|
|
background: #222;
|
|
border: 2px solid white;
|
|
color: white;
|
|
border-radius: 10px;
|
|
transition: 0.2s;
|
|
}
|
|
|
|
.menuButton:hover {
|
|
background: white;
|
|
color: black;
|
|
}
|