@import url("../codicon@0.0.40/codicon.css"); :root { color-scheme: light dark; --quiet-primary-seed: #e98d61; --quiet-content-spacing: 0.75rem; --quiet-form-control-height-md:0.9rem; } * { box-sizing: border-box; } html { height: 100%; } body { background: #e4e4e4; padding: 0; height: 100vh; min-height: 100vh; margin: 0; } form header { background-color: burlywood; } .page-wrap { background: white; height: calc(100vh - 10px); display: grid; grid-template-columns: minmax(10px, 1fr) minmax(10px, 4fr); grid-template-rows: min-content min-content 1fr min-content; .navbar * { box-sizing: content-box; } details { } details[open] { flex-grow: 1; overflow: hidden; } summary { background-color: var(--quiet-neutral-fill-softer); } /* Set editor dimensions */ #editor { max-width: 100%; overflow: hidden; height: 75cqh; } /* Stretch editor to fit inside its containing div */ .cm-editor { height: 100%; width: 100%; overflow: auto; } details[open]::details-content { padding: 0.1em; border: thin solid grey; overflow: auto; } ::backdrop { backdrop-filter: blur(2px); } @media (max-width: 600px) { grid-template-columns: 100%; grid-template-rows: auto; >* { grid-column: 1 / -1 !important; grid-row: auto !important; } } } #tConnect:state(unchecked) { outline: dashed 4px deeppink; outline-offset: 4px; } .page-header { grid-column: 1 / -1; display: flex; justify-content: space-between; background: #ffecb3; } .page-sidebar { grid-column: 1 / 2; grid-row: 2 / 4; display: flex; flex-direction: column; details { display: flex; flex-direction: column; } } .page-nav { grid-column: 2 / 3; background: red; } .page-main { grid-column: 2 / 3; display: flex; flex-direction: column; } .page-footer { grid-column: 1 / -1; background: #ffecb3; display: flex; justify-content: space-between; }