body { display: flex; flex-direction: column; align-items: stretch; margin: 0; position: absolute; top: 0; left: 0; right: 0; bottom: 0; } #errors { position: fixed; display: block; left: 50%; top: 50%; transform: translate(-50%, -50%); background-color: #f99; border: 1px solid #922; } #errors p { padding: 1ex 1em; margin: 0; } #errors button { display: block; margin-left: auto; margin-right: 5px; margin-bottom: 5px; } #genome-history { margin: 0; overflow: scroll; align-self: stretch; flex-basis: 50%; } #instructions { padding: 1ex; margin: 0; overflow: scroll; flex-basis: 50%; border-style: solid; border-top-width: 1px; border-left-width: 0; border-right-width: 0; border-bottom-width: 0; } #instructions .step { padding: 5px; } #instructions .step { display: none; } #instructions .step.current { display: list-item; } #print-results.step.current { display: block; } #die { display: block; float: right; padding: 2ex; } #die .value { padding-bottom: 1ex; } #nucleotide-selector { position: relative; white-space: nowrap; padding: 0; word-spacing: -6px; /* TODO: 0 doesn't work. And for some reason whitespace is being renderded between