:root { color-scheme: dark; } * { box-sizing: border-box; } body { margin: 0; height: 100vh; background-color: light-dark(#eee, #333); } main { display: flex; flex-direction: row; height: 100vh; gap: 32px; } .section-header { background-color: white; border-top-left-radius: 8px; border-top-right-radius: 8px; border: 1px solid light-dark(#bdbdbd, #222); padding: 4px; padding-left: 8px; font-family: sans-serif; color: #747474; box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.1); } section { border-radius: 8px; width: 100%; flex: 1; display: flex; flex-direction: column; background-color: black; } section canvas { margin-left: auto; margin-right: auto; } section *:last-child { border-bottom-left-radius: 8px; border-bottom-right-radius: 8px; box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.1); flex: 1; } div#buttons { width: 100%; display: flex; flex: row; justify-content: space-between; align-items: flex-start; gap: 5px; } div#buttons > * { width: 100%; } div#buttons > * > button { width: 100%; } .column { display: flex; flex-direction: column; gap: 5px; justify-content: space-evenly; align-items: flex-start; padding: 32px; gap: 32px; height: 100vh; flex: 1; } #canvas-area { background-color: black; } #console-section { min-height: 0; flex: 0 1 100%; } #console { display: flex; flex-direction: column; overflow-y: hidden; } #console pre { color: white; background-color: black; margin: 0; width: 100%; overflow-wrap: break-word; word-break: break-all; font-size: 1rem; padding: 4px 8px; flex: 1; overflow-y: auto; } #console pre { width: 100%; white-space: pre-wrap; } #console input { width: 100%; margin: 0; outline: none; padding: none; color: white; border: none; background-color: #222; padding: 4px 8px; font-family: monospace; font-size: 1rem; flex-grow: 0; } #editor-area { width: 100%; overflow-y: auto; } #editor { margin: 0; width: 100%; height: 100%; font-size: 16px; } .dropdown-wrapper { position: relative; } .dropdown-content { display: none; background-color: white; position: absolute; top: 100%; left: 0; right: 0; border-radius: 4px; box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.1); } .dropdown-option { padding: 5px 10px; font-family: sans-serif; color: #424242; font-size: 0.8rem; cursor: pointer; } .dropdown-option:hover { background-color: #eee; } button { background-color: #087aaf; border: none; box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.1); padding: 8px 16px; border-radius: 8px; cursor: pointer; transition-duration: 200ms; } button.active { background-color: #065275; } button:hover { box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.2); } footer { position: absolute; bottom: 1px; left: 1px; }