34034-vm/assets/css/custom.css
Flatlogic Bot 26e8d7ac7d last fix
2025-09-12 18:56:20 +00:00

134 lines
2.4 KiB
CSS

body {
margin: 0;
overflow: hidden;
background-color: #000;
}
#date-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: sans-serif;
font-size: 1.2em;
z-index: 10;
}
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;
}
#time-controls {
position: absolute;
bottom: 20px;
left: 20px;
background-color: rgba(0,0,0,0.5);
padding: 10px;
border-radius: 5px;
z-index: 10;
color: white;
font-family: sans-serif;
}
#time-controls button {
background-color: #333;
color: white;
border: 1px solid #555;
padding: 5px 10px;
cursor: pointer;
border-radius: 3px;
margin: 0 5px;
}
#time-controls button:hover {
background-color: #555;
}
#time-controls span {
margin-left: 10px;
font-size: 0.9em;
vertical-align: middle;
}
.planet-label {
position: absolute;
color: white;
font-family: sans-serif;
font-size: 12px;
text-shadow: 1px 1px 2px black;
pointer-events: none; /* So they don't interfere with mouse controls */
z-index: 11;
}
#controls-top-left {
position: absolute;
top: 20px;
right: 20px;
display: flex;
flex-direction: column;
gap: 10px;
z-index: 10;
}
#scale-container, #focus-container {
color: white;
background-color: rgba(0, 0, 0, 0.5);
padding: 10px;
border-radius: 5px;
font-family: sans-serif;
}
#scale-container label {
margin-right: 5px;
}
#focus-container label {
margin-right: 5px;
}
#focus-container select {
background-color: #333;
color: white;
border: 1px solid #555;
border-radius: 3px;
padding: 5px;
}