Files
roll20-character-sheets-tester/In-Nomine-Char-Sheet/in-nomine.css
T

53 lines
1.6 KiB
CSS

/*
<img src="http://roleplayers.com.br/wp-content/uploads/2017/08/background.png" id="ficha" style="position: fixed; min-width: 900px; max-width: 900px; min-height: 500px; max-height: 500px">
*/
/*----------- Tabs Setup -------------*/
/*this hides the contents of each tab by default*/
.charsheet div[class^="sheet-section"] {
display: none;
}
/*this shows the tab content when the appropriate input field is selected*/
.charsheet input.sheet-tab1:checked ~ div.sheet-section-anjo,
.charsheet input.sheet-tab2:checked ~ div.sheet-section-demon{
display: block;
}
/*this hides the radio button for each tab, makes it 100px wide and 40px tall and makes sure it's above everything else*/
.charsheet input.sheet-tab {
width: 100px;
height: 40px;
cursor: pointer;
position: relative;
opacity: 0;
z-index: 9999;
}
/*this styles the span with the tab information and slides to the left, so it appears underneath the radio button*/
.charsheet span.sheet-tab {
text-align: center;
display: inline-block;
font-size: 13px;
background: #c7c3b0;
color: black;
font-weight: bold;
border-radius: 4px;
width: 100px;
height: 40px;
cursor: pointer;
position: relative;
vertical-align: middle;
margin-left: -101px;/*originally 91px*/
}
/*this modifies the span color once the radio button is selected so you know which tab is selected*/
.charsheet input.sheet-tab1:checked + span.sheet-tab1,
.charsheet input.sheet-tab2:checked + span.sheet-tab2 {
background: #2c424e;
color: #bfc4c6;
border-radius: 4px;
}
/*----------- End Tab Setup -----------*/