Files
roll20-character-sheets-tester/The Troubleshooters/TheTroubleshooters.css
T
Fragpuss d7a3696acb Initial version of sheet for 'The Troubleshooters' by Helmgast
Initial version of sheet for 'The Troubleshooters' by Helmgast
2021-06-15 23:31:28 +01:00

179 lines
4.9 KiB
CSS

/* Set the min-width so that when the window is resized the look will stay consistant */
.charsheet {
min-width: 800px;
}
/* Universal styling applied to all elements of these types */
h2 {
font-size: 2em;
margin-bottom: 10px;
text-align: center;
}
label {
display: inline-block;
}
input {
display: inline-block;
width: 30%;
}
textarea {
resize: vertical;
}
/* Targetted styling that only effects elements with these classes */
img.sheet-shield {
height: auto;
max-height: 600px;
text-align: center;
width: 500px;
}
img.sheet-logo {
align: right
}
label.sheet-gearcheck {
display: inline;
font-size: 1em;
white-space: pre;
}
label.sheet-conditionlabel {
display: inline-block;
white-space: pre;
font-size: 1em;
font-weight: 550;
width: 13ch;
}
label.sheet-skilllabel {
display: inline-block;
white-space: pre;
font-size: 1em;
font-weight: 550;
width: 15ch;
}
input.sheet-short {
width: 17%;
}
input.sheet-number {
width: 5%;
}
input.sheet-skill {
display: inline-block;
width: 5%;
}
select.sheet-short {
width: 10%;
}
button[type=roll].sheet-blank-button::before {
content: "";
}
/* Targetted styling that only effects elements contained within the stated class */
.sheet-stats h3 {
display: inline-block;
font-size: 1em;
text-align: left;
}
.sheet-stats h3:first-child {
margin-left: 35%;
margin-right: 15%;
}
.sheet-stats input {
margin-right: 8%;
width: 17%;
}
.sheet-cover {
text-align: center
}
/*Configure the tabs*/
.sheet-character,
.sheet-cover,
.sheet-skills,
.sheet-gear,
.sheet-combat,
.sheet-journal {
display: none;
}
/* show the selected tab */
.sheet-tabstoggle[value="character"] ~ div.sheet-character,
.sheet-tabstoggle[value="cover"] ~ div.sheet-cover,
.sheet-tabstoggle[value="skills"] ~ div.sheet-skills,
.sheet-tabstoggle[value="gear"] ~ div.sheet-gear,
.sheet-tabstoggle[value="journal"] ~ div.sheet-journal,
.sheet-tabstoggle[value="combat"] ~ div.sheet-combat {
display: block;
}
/* show the relevant buttons */
.sheet-revealbuttons[value="1"]:checked ~ div.sheet-meleebuttons,
.sheet-revealbuttons[value="2"]:checked ~ div.sheet-rangedbuttons {
display: inline-block;
}
/* show the relevant buttons */
.sheet-revealbuttons[value="0"]:checked ~div.sheet-meleebuttons,
.sheet-revealbuttons[value="0"]:checked ~div.sheet-rangedbuttons,
.sheet-revealbuttons[value="2"]:checked ~ div.sheet-meleebuttons,
.sheet-revealbuttons[value="1"]:checked ~ div.sheet-rangedbuttons {
display: none;
}
/* hide condition descriptions */
.sheet-showcondition[value="1"]:not(:checked) ~ div.sheet-condition_blinded,
.sheet-showcondition[value="2"]:not(:checked) ~ div.sheet-condition_deaf,
.sheet-showcondition[value="3"]:not(:checked) ~ div.sheet-condition_exhausted,
.sheet-showcondition[value="4"]:not(:checked) ~ div.sheet-condition_frightened,
.sheet-showcondition[value="5"]:not(:checked) ~ div.sheet-condition_intoxicated,
.sheet-showcondition[value="6"]:not(:checked) ~ div.sheet-condition_mortal_peril,
.sheet-showcondition[value="7"]:not(:checked) ~ div.sheet-condition_onfire,
.sheet-showcondition[value="8"]:not(:checked) ~ div.sheet-condition_outcold,
.sheet-showcondition[value="9"]:not(:checked) ~ div.sheet-condition_overburdened,
.sheet-showcondition[value="10"]:not(:checked) ~ div.sheet-condition_paralysed,
.sheet-showcondition[value="11"]:not(:checked) ~ div.sheet-condition_prone,
.sheet-showcondition[value="12"]:not(:checked) ~ div.sheet-condition_restrained,
.sheet-showcondition[value="13"]:not(:checked) ~ div.sheet-condition_stunned,
.sheet-showcondition[value="14"]:not(:checked) ~ div.sheet-condition_surprised,
.sheet-showcondition[value="15"]:not(:checked) ~ div.sheet-condition_terrified,
.sheet-showcondition[value="16"]:not(:checked) ~ div.sheet-condition_wounded {
display: none;
}
/* show condition descriptions */
.sheet-showcondition[value="1"]:checked ~ div.sheet-condition_blinded,
.sheet-showcondition[value="2"]:checked ~ div.sheet-condition_deaf,
.sheet-showcondition[value="3"]:checked ~ div.sheet-condition_exhausted,
.sheet-showcondition[value="4"]:checked ~ div.sheet-condition_frightened,
.sheet-showcondition[value="5"]:checked ~ div.sheet-condition_intoxicated,
.sheet-showcondition[value="6"]:checked ~ div.sheet-condition_mortal_peril,
.sheet-showcondition[value="7"]:checked ~ div.sheet-condition_onfire,
.sheet-showcondition[value="8"]:checked ~ div.sheet-condition_outcold,
.sheet-showcondition[value="9"]:checked ~ div.sheet-condition_overburdened,
.sheet-showcondition[value="10"]:checked ~ div.sheet-condition_paralysed,
.sheet-showcondition[value="11"]:checked ~ div.sheet-condition_prone,
.sheet-showcondition[value="12"]:checked ~ div.sheet-condition_restrained,
.sheet-showcondition[value="13"]:checked ~ div.sheet-condition_stunned,
.sheet-showcondition[value="14"]:checked ~ div.sheet-condition_surprised,
.sheet-showcondition[value="15"]:checked ~ div.sheet-condition_terrified,
.sheet-showcondition[value="16"]:checked ~ div.sheet-condition_wounded {
display: inline-block;
}