:root { --split-foreground: #000000; --split-background: indianred; --join-foreground: #000000; --join-background: skyblue; } .container-xxl { min-width: 576px; } #navigation a { color:#000000; text-decoration: none; } #subnet_input #network { flex-grow: 0; flex-basis: 11rem; } #subnet_input #netsize { flex-grow: 0; flex-basis: 4rem; } #calc { vertical-align: middle; } #calc>tbody>tr>td, #calc>tbody>tr>th, #calc>tfoot>tr>td, #calc>tfoot>tr>th, #calc>thead>tr>td, #calc>thead>tr>th { /* Equivalent to p-1 */ padding: 0.25rem; /* Equivalent to p-2 */ padding-top: 0.5rem; padding-bottom: 0.5rem; } /* #joinHeader { border:none; } #calc thead { border-right-width: 1px; border-bottom-width: 0px; }*/ #calc span.split { color: var(--split-background); } #calc span.join { color: var(--join-background); } #calc td.split { background-color: var(--split-background); color: var(--split-foreground); cursor: pointer; min-width: 2.3rem; width: 1%; } #calc td.join { background-color: var(--join-background); color: var(--join-foreground); cursor: pointer; min-width: 2.3rem; width: 1%; } #calc td.split, #calc td.join { padding: 0; } #calc td.split span, #calc td.join span { padding-right: 0.4rem; } #calc .note { } #calc .note label,input { width: 100%; } #calc .row_address { white-space: nowrap; } #calc .row_range { /* TODO: Make this a checkbox? white-space: nowrap; */ } #calc .row_usable { /* TODO: Make this a checkbox? white-space: nowrap; */ } #calc .row_hosts { width:1%; white-space: nowrap; padding-left:0.5rem; padding-right:0.5rem; } #calc .note { width: 30%; } #calc .note input { border: none !important; border-color: transparent !important; } /* https://stackoverflow.com/a/47245068/606974 */ .rotate { vertical-align: middle; text-align: end; } .rotate span { -ms-writing-mode: tb-rl; -webkit-writing-mode: vertical-rl; writing-mode: vertical-rl; white-space: nowrap; padding-top: 0.5rem; }