body { font-family: sans-serif; margin: 0; } .btn { display: inline-block; cursor: pointer; background: #333; padding: 5px; color: white; border-radius: 5px; } #interface { display: flex; flex-direction: row; height: 100vh; width: 100vw; } #status { display: flex; flex-direction: row; flex-wrap: wrap; width: 430px; height: 100%; overflow-y: scroll; } #status > div { width: 33.3333333%; height: 150px; border: solid 1px; box-sizing: border-box; position: relative; } #status .hugvey { background-image: linear-gradient(to top, #587457, #35a589); color: white; display: flex; flex-direction: column; justify-content: center; } #status .hugvey h1 { text-align: center; margin: 0; } #status .hugvey.hugvey--on h1 { position: absolute; left: 5px; top: 5px; } #status .hugvey.hugvey--off { background-image: linear-gradient(to top, #575d74, #3572a5); } #status .hugvey.hugvey--off h1::after { content: '[off]'; } #story { position: relative; } #story #controls { position: absolute; top: 5px; left: 5px; } #story svg#graph { width: 100%; height: 100%; }