73 lines
1008 B
CSS
73 lines
1008 B
CSS
body{
|
|
background: black;
|
|
margin: 0;
|
|
padding: 0;
|
|
height: 100%;
|
|
width: 100%;
|
|
}
|
|
|
|
canvas {
|
|
display: block;
|
|
|
|
}
|
|
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
.env {
|
|
position: absolute;
|
|
top: 0;
|
|
bottom: 300px; /* must correspond to control-panel height*/
|
|
width: 100%;
|
|
}
|
|
|
|
.control-panel {
|
|
height: 300px;
|
|
width: 100%;
|
|
bottom: 0;
|
|
position: absolute;
|
|
background-color: gray;
|
|
display: grid;
|
|
grid-template-columns: repeat(3, 1fr);
|
|
grid-template-rows: repeat(2, 1fr);
|
|
}
|
|
|
|
.control-set {
|
|
margin: 5px;
|
|
padding: 5px;
|
|
border: 10px;
|
|
border-color: black;
|
|
background-color: lightgray;
|
|
}
|
|
|
|
#speed-controller {
|
|
grid-column: 1;
|
|
grid-row: 1;
|
|
}
|
|
|
|
#stats {
|
|
grid-column: 1;
|
|
grid-row: 2;
|
|
}
|
|
|
|
#hyperparameters {
|
|
grid-column: 2;
|
|
grid-row: 1 / 3;
|
|
|
|
}
|
|
|
|
#abilities {
|
|
grid-column: 3;
|
|
grid-row: 1 / 3;
|
|
}
|
|
|
|
.control-mode-button {
|
|
border-color: gray;
|
|
background-color: lightgray;
|
|
}
|
|
|
|
#none-button {
|
|
background-color: gray;
|
|
} |