.charsheet label { display: inline-block; color: #B0C4DE; } .charsheet input { display: inline-block; width: 165px; } .sheet-col strong.sheet-dee { font-size: 1.4em; font-weight: bold; padding-right: 4px; } .charsheet input.sheet-short { width: 3.5em; } .charsheet { background-image: url("http://1.bp.blogspot.com/-WGhBed80BjU/VDVj-KB8_aI/AAAAAAAAGjc/sMAZ1wdCvDk/s1600/dark-textile-background.jpg"); } .sheet-text-snippet{ font-weight: bold; font-size: 1.2em; color: #B0C4DE; } select.sheet-dtype { width: 60px; vertical-align: top; } .sheet-table{ width:100%; } .sheet-table td, .sheet-table th{ font-size: 1.2em; font-weight: bold; text-align: center; padding: 5px; } .sheet-text{ color: #B0C4DE; } input[type="number"] { -moz-appearance: textfield; } input[type="number"]:hover, input[type="number"]:focus { -moz-appearance: number-input; } .sheet-desc-show:not(:checked)~.sheet-desc, .sheet-macro-text-show:not(:checked)~.sheet-macro-text, .sheet-sect-show:not(:checked)~.sheet-sect { display:none; } div[class^="sheet-section"] { visibility: hidden; opacity: 0; max-height:0; overflow: hidden; } div[class^="sheet-npc"] { visibility: hidden; opacity: 0; max-height:0; overflow: hidden; } input.sheet-tab99:checked ~ div[class^="sheet-section"] { max-height: 999999px; visibility: visible; opacity: 1; transition: opacity 0.5s linear 0s; overflow: auto; } input.sheet-tab { width: 70px; height: 20px; cursor: pointer; position: relative; opacity: 0; z-index: 9999; } span.sheet-tab { text-align: center; display: inline-block; font-size: 13px; background: black; color: white; font-weight: bold; width: 70px; height: 20px; cursor: pointer; position: relative; margin-left: -75px; } input.sheet-tab::before { content: attr(title); text-align: center; display: inline-block; width: 100%; height: 100%; background: black; color: white; font-weight: bold; } input.sheet-tab:checked::before { background:gray; color:white; } input.sheet-tab1:checked ~ div.sheet-section-roleplay, input.sheet-tab2:checked ~ div.sheet-section-combat { max-height: 999999px; visibility: visible; opacity: 1; transition: opacity 0.5s linear 0s; overflow: hidden; } input.sheet-tab1:checked + span.sheet-tab1, input.sheet-tab2:checked + span.sheet-tab2, input.sheet-tab3:checked + span.sheet-tab3, input.sheet-tab99:checked + span.sheet-tab99 { background: gray; color: white; } button, button:hover, button:active { background-image: none; } input[type="checkbox"] + span::before { margin-right: 4px; line-height: 14px; text-align: center; display: inline-block; vertical-align: middle; content: "[show]"; width: 14px; height: 14px; font-size: 12px; } input[type="checkbox"]:checked + span::before { content: "[hide]"; }