81 lines
1.5 KiB
CSS
81 lines
1.5 KiB
CSS
body {
|
|
margin: 0;
|
|
overflow: hidden;
|
|
background-color: #000;
|
|
}
|
|
canvas {
|
|
display: block;
|
|
}
|
|
#stats-container {
|
|
position: absolute;
|
|
top: 20px;
|
|
left: 20px;
|
|
color: white;
|
|
background-color: rgba(0, 0, 0, 0.5);
|
|
padding: 10px;
|
|
border-radius: 5px;
|
|
font-family: sans-serif;
|
|
width: 250px;
|
|
}
|
|
|
|
#stats-buttons {
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
#stats-buttons button {
|
|
background-color: #333;
|
|
color: white;
|
|
border: 1px solid #555;
|
|
padding: 5px 10px;
|
|
cursor: pointer;
|
|
border-radius: 3px;
|
|
margin-right: 5px;
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
#stats-buttons button:hover {
|
|
background-color: #555;
|
|
}
|
|
|
|
#stats-buttons button.active {
|
|
background-color: #007bff;
|
|
border-color: #007bff;
|
|
}
|
|
|
|
#controls-container {
|
|
position: absolute;
|
|
bottom: 20px;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
background-color: rgba(0, 0, 0, 0.5);
|
|
padding: 10px;
|
|
border-radius: 5px;
|
|
z-index: 10;
|
|
}
|
|
|
|
#controls-container button {
|
|
background-color: #333;
|
|
color: white;
|
|
border: 1px solid #555;
|
|
padding: 10px 20px;
|
|
cursor: pointer;
|
|
border-radius: 3px;
|
|
}
|
|
|
|
#controls-container button:hover {
|
|
background-color: #555;
|
|
}
|
|
|
|
#time-container {
|
|
position: absolute;
|
|
top: 20px;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
color: white;
|
|
background-color: rgba(0, 0, 0, 0.5);
|
|
padding: 10px 20px;
|
|
border-radius: 5px;
|
|
font-family: monospace;
|
|
font-size: 1.2em;
|
|
z-index: 10;
|
|
} |