:root { --color-text: #ddd; --color-link: #8fc; --color-bg: #000; } body { font-family: sans-serif; padding: 0; } body, dialog { background-color: var(--color-bg); color: var(--color-text); } a, a:visited { color: var(--color-link); } h1, h2, h3, h4, h5, h6 { margin: 0.1em; } #page { display: flex; flex-direction: column; width: 100vw; height: 100vh; } #main { display: flex; flex-grow: 1; overflow: hidden; } #creation-title { width: 5em; } #error { color: red; border-top: 2px solid red; padding: 0.2em; display: none; } .widget.error, .widget.error:hover { background-color: #f004; } #canvas-container { position: relative; width: 100%; height: 100%; flex-grow: 0; flex-shrink: 1; } #canvas { position: absolute; } #ui-resize { flex-grow: 0; flex-shrink: 0; width: 0.3cm; cursor: col-resize; display: flex; justify-content: center; background: linear-gradient( 90deg, #000, #444 30%, var(--color-text) 50%, #444 70%, #000 ); } #ui { overflow-x: auto; overflow-y: scroll; width: 100%; height: 100%; flex-grow: 0; flex-shrink: 0; flex-basis: 30%; } input, button { border: 1px solid var(--color-text); background-color: transparent; color: var(--color-text); } input[type='submit']:hover, button:hover { background-color: #fff5; } input[type='submit']:active, button:active { background-color: #fff9; } input[type='submit'][disabled]:hover, input[type='submit'][disabled]:active, button[disabled]:hover, button[disabled]:active { background-color: transparent; cursor: not-allowed; } input:focus, [contenteditable]:focus, button:focus { outline: 2px solid #77f; } .in select { width: 5em; } .entry[contenteditable], .widget-name { min-width: 1em; border-bottom: 2px solid #fff4; cursor: text; display: inline-block; } .in, .ins, .control, .widget-title { display: inline; } .in, .control { margin-left: 0.5em; white-space: nowrap; } input[type='color'] { padding: 0; margin: 0.2em 0.5em; border: 2px solid #000; outline: 1px solid var(--color-text); height: 1.3em; width: 1.3em; } input[type='range'] { max-height: 1.2em; vertical-align: middle; } input[type='checkbox'] { margin: 0; } .widget input[data-is-int='true'] { font-size: 1em; padding: 0; line-height: 1; border-width: 1px; width: 5em; } .widget { display: block; border-bottom: 2px solid #777; position: relative; cursor: pointer; padding: 0.1em 0; } .widget[data-display='1'] .widget-type { color: #ff0; } .widget-type:hover { color: #aa0; } .widget.dragging { background: #aaf6; } .widget-title { font-weight: bold; } .widget-button { width: 1.5em; height: 1.5em; border: 0; vertical-align: middle; background-size: contain; } .widget-move { background-image: url(move.svg); } .widget-delete { background-image: url(x.svg); } .widget-button:hover, .widget-button:active { background-color: transparent; outline: 0; filter: saturate(500%); } .widget-choice { width: calc(100% - 0.4em); border: 1px solid var(--color-text); margin: 0.2em; padding: 0.1em 0; } .widget-choice:focus { outline: 0; z-index: 10; } #widget-choices { margin: 0.2em; padding-bottom: 0.3em; border-bottom: 2px solid var(--color-text); } summary { cursor: pointer; } #top-area { vertical-align: middle; font-weight: bold; font-size: 1.2em; } #title-icon { height: 1.5em; } #creation-buttons { margin-top: 0.2em; } #link-creation { position: relative; } @keyframes copied-notice-animation { from { opacity: 1; } to { opacity: 0; visibility: hidden; } } #link-creation #copied-notice { position: absolute; top: 50%; left: 50%; width: 7em; color: #0f0; border: 1px solid #0f0; pointer-events: none; padding: 3px; background: var(--color-bg); visibility: hidden; animation-duration: 3s; animation-fill-mode: forwards; } #resolution-form input[type='number'] { width: 4em; } input[type='number']::-webkit-inner-spin-button, input[type='number']::-webkit-outer-spin-button { -webkit-appearance: none; appearance: none; margin: 0; } input[type='number'] { -moz-appearance: textfield; } .img-button { height: 2em; padding: 0; } .img-button img, .img-button svg { height: 100%; display: block; } .img-button[disabled] img, .img-button[disabled] svg { filter: brightness(50%); } .ui-section { margin: 0.3em; } .ui-section label { margin: auto; } #guide-body { display: flex; margin: 0; overflow: hidden; } #guide-sidebar { flex: 1; border-right: 2px solid var(--color-text); height: 100vh; background: #333; overflow: auto; } #guide-contents { flex: 4; padding: 4px; height: 100vh; overflow: auto; } .guide-sidebar-item, .guide-sidebar-heading { border-bottom: 1px solid #fff2; padding: 4px; text-decoration: none; display: block; margin: 0; } .guide-sidebar-item:hover { background: #8fc3; } .guide-sidebar-item-indented { padding-left: 20%; } .guide-sidebar-item-active { font-weight: bold; } .inline-block { display: inline-block; } .no-text-decoration { text-decoration: none; } .no-wrap { whitespace: no-wrap; } .no-margin { margin: 0; } .overflow-hidden { overflow: hidden; } table { border-collapse: collapse; margin: 0.5em; } td, th { border: 2px solid var(--color-text); margin: 0; padding: 0.2em; } .creation-entry { cursor: pointer; border-bottom: 2px solid white; padding: 6px; } .creation-entry:hover { background: #fff4; } .creation-entry-title { color: var(--color-link); } .creation-entry-last-viewed { font-style: italic; }