div#options { float: left; } div#main { display: inline-block; } body { margin: 0; height: 100%; font-family: monospace; font-size: 15px; } .menu { position: fixed; right: 0; } .editor div#leftbar { position: relative; height: 100%; } .editor .tabs { flex: 2; position: relative; height: 100%; background-color: lightgrey; display: flex; overflow: hidden; } .editor #leftbarpanel, .editor #rightbarpanel { width: 250px; display: none; height: 100%; overflow-y: auto; } .editor #showleftpanel:checked ~ #leftbarpanel { display: block; overflow-y: auto; height: 100%; } .editor #showrightpanel:checked ~ #rightbarpanel { display: block; } .editor input.toggle { display: none; } .editor label.toogle:hover { color: white; cursor: pointer; background-color: #e2e2e2; } .editor label.toogle { height: 100%; line-height: 100%; text-align: center; } .editor #leftbar label.toogle { float: right; } .editor #rightbar label.toogle { float: left; } #rightbarpanel { display: none; width: 250px; } #rightbar:target #rightbarpanel { display: inline-block; overflow-y: scroll; height: 100%; } #rightbar:target #open { display: none; } .editor #workspace { display: flex; height: calc(100% - 30px); position: relative; } /* clip the tabs names */ .tabs .tab { min-width: 0; overflow: hidden; } .tabs .tab .content { position: absolute; background-color: #dc8ad2; left: 0px; width: 100%; height: calc(100% - 30px); } .checkboxtab { display: none; } .tab label { margin-right: 10px; border: solid rgba(0, 0, 0, 0); padding: 0px 2px; } .tab label.edited { text-decoration: underline dotted red; } .tab label.template { color: #7b97b9; } .checkboxtab:checked ~ label { border: solid 1px; background: white; } .checkboxtab:checked ~ .content { z-index: 1; } section.editor { position: fixed; width: 100%; height: 100%; } html { height: 100%; } .tabs textarea {height: 100%;width: 100%;border: none;resize: none;padding: 1%;} * { box-sizing: border-box; } .editor .tabs label { line-height: 30px; overflow: hidden; } .editor #topbar { height: 30px; background-color: #7b97b9; line-height: 30px; } .editor ul { list-style: none; padding: 0; margin: 0; } .editor .bar select { width: 100%; } .editor .panel input {width: 100%;} details { background-color: darkgrey; } .bar { background-color: lightgrey; } input#fontsize { width: 36px; } span#headid {color: white;} a { color: black; text-decoration: none; } a.templatetooltip { color: white; } a:hover { color: white; } #fonts select { height: 150px; } a.icon { font-size: 25px; } form#update { display: flex; height: 30px; } #update span {margin: 0 0.2%;} .editor .panel input[type="checkbox"] { width: auto; vertical-align: middle; } .panel .subtemplate { margin-left: 20px; } .editor fieldset { border: none; } .panel summary { background-color: grey; color: lightgrey; } .panel summary:hover { cursor: pointer; } @media (max-width: 600px) { .bar { display: none; } span#fontsize { display: none; } #topbar .text { display: none; } }