Files
roll20-character-sheets/Space Horror Stories/shs.css
T

583 lines
19 KiB
CSS

.charsheet {
/** Expand switches */
/** Repeating sections global style */
}
.charsheet button.roll[type=roll],
.charsheet button.roll[type=action] {
display: flex;
width: 20px;
height: 20px;
font-size: 20px;
line-height: 20px;
background: none;
border: none;
border-radius: 0;
margin: 0;
margin-top: 3px;
box-shadow: none;
padding: 2px 3px 0 3px;
}
.charsheet button.roll[type=roll]::before,
.charsheet button.roll[type=action]::before {
font-family: "dicefontd20";
content: "0";
}
.charsheet button.roll[type=roll].d8::before,
.charsheet button.roll[type=action].d8::before {
font-family: "dicefontd8";
}
.charsheet button.roll[type=roll].d10::before,
.charsheet button.roll[type=action].d10::before {
font-family: "dicefontd10";
}
.charsheet button.roll[type=roll].small,
.charsheet button.roll[type=action].small {
width: 16px;
height: 16px;
line-height: 16px;
font-size: 16px;
margin-top: 0;
}
.charsheet button.roll[type=roll]:hover, .charsheet button.roll[type=roll]:hover::before,
.charsheet button.roll[type=action]:hover,
.charsheet button.roll[type=action]:hover::before {
font-weight: bold;
}
.charsheet button.roll[type=roll].white::before,
.charsheet button.roll[type=action].white::before {
color: white;
}
.charsheet .panel-nav {
width: 100%;
}
.charsheet .panel-nav label.navRadio {
padding: 5px;
align-items: center;
justify-content: baseline;
font-weight: bold;
}
.charsheet .panel-nav label.navRadio > input[type=radio] {
opacity: 0;
}
.charsheet .panel-nav label.navRadio > input[type=radio] + span::before {
width: 12px;
height: 12px;
border: solid black 1px;
display: inline-flex;
content: " ";
margin-right: 5px;
}
.charsheet .panel-nav label.navRadio > input[type=radio] + span::after {
content: attr(title);
}
.charsheet .panel-nav label.navRadio > input[type=radio]:checked + span::before {
background-color: gray;
}
.charsheet select option.optgroup[disabled] {
color: black;
background: #ddd;
font-weight: bold;
}
.charsheet label.textLabelled {
width: calc(100% - 8px);
}
.charsheet label.textLabelled > span {
font-style: italic;
font-weight: bold;
width: 30%;
}
.charsheet label.textLabelled > input[type=text], .charsheet label.textLabelled > input[type=number] {
border: none;
background: none;
width: calc(70% - 10px);
margin-left: 10px;
}
.charsheet label.textLabelled > input[type=number] {
width: calc(70% - 10px);
text-align: right;
}
.charsheet textarea {
width: calc(100% - 10px);
height: calc(100% - 10px);
}
.charsheet label > input[type=checkbox][name=attr_expand] {
position: absolute;
width: 10px;
opacity: 0;
height: 20px;
}
.charsheet label > input[type=checkbox][name=attr_expand] ~ span {
width: 100%;
vertical-align: center;
}
.charsheet label > input[type=checkbox][name=attr_expand] ~ span::before {
display: flex;
content: "►";
justify-content: center;
}
.charsheet label > input[type=checkbox][name=attr_expand]:checked ~ span::before {
content: "▼";
}
.charsheet .repcontrol button {
padding: 3px;
border-radius: 0 0 10px 10px;
font-size: 0.8em;
float: left;
}
.charsheet .repcontrol button.repcontrol_add {
border-radius: 0 0 0 10px;
}
.charsheet .repcontrol button.repcontrol_edit {
float: none;
border-radius: 0 0 10px 0;
}
.charsheet .repcontainer.editmode ~ .repcontrol > button.repcontrol_edit {
border-radius: 0 0 10px 10px;
}
.charsheet .panel > h2, .charsheet .panel > h3 {
color: white;
text-align: center;
width: calc(100% - 20px);
margin-left: 20px;
align-self: flex-end;
font-variant: small-caps;
clip-path: polygon(0 15px, 15px 0, calc(100% - 15px) 0, 100% 15px, 100% 100%, 0 100%);
background: linear-gradient(135deg, #555 80%, darkred);
}
.charsheet .panel > h2 {
font-size: 18px;
height: 30px;
}
.charsheet .panel > h3 {
font-size: 16px;
}
.charsheet .panel > .panelbody {
width: calc(100% - 20px);
height: calc(100% - 28px);
background-color: #d4d4de;
padding: 10px;
clip-path: polygon(0 20px, 20px 0, 100% 0, 100% 20px, 100% calc(100% - 20px), calc(100% - 20px) 100%, 20px 100%, 0 calc(100% - 20px));
}
.charsheet .panel.panel-nav {
height: 100%;
}
.charsheet .panel.panel-nav > .panelbody {
clip-path: none;
border-radius: 15px;
}
.charsheet .num-over-max > input[type=number] {
border-radius: 40px;
width: 70px;
height: 70px;
box-shadow: 3px 3px 10px 0;
text-align: center;
font-size: 3em;
}
.charsheet .num-over-max > input[type=number]:last-of-type {
width: 55px;
height: 55px;
margin-top: 35px;
margin-left: 45px;
font-size: 2em;
}
.charsheet .ability > label.carrure > div::before {
background-image: url("https://raw.githubusercontent.com/Calmacil/shs/main/img/carrure.png");
background-repeat: no-repeat;
background-size: 20px 20px;
background-position: center;
}
.charsheet .ability > label.motricite > div::before {
background-image: url("https://raw.githubusercontent.com/Calmacil/shs/main/img/motricite.png");
background-repeat: no-repeat;
background-size: 20px 20px;
background-position: center;
}
.charsheet .ability > label.science > div::before {
background-image: url("https://raw.githubusercontent.com/Calmacil/shs/main/img/science.png");
background-repeat: no-repeat;
background-size: 20px 20px;
background-position: center;
}
.charsheet .ability > label.relationnel > div::before {
background-image: url("https://raw.githubusercontent.com/Calmacil/shs/main/img/relationel.png");
background-repeat: no-repeat;
background-size: 20px 20px;
background-position: center;
}
.charsheet .ability > label.sangfroid > div::before {
background-image: url("https://raw.githubusercontent.com/Calmacil/shs/main/img/sangfroid.png");
background-repeat: no-repeat;
background-size: 20px 20px;
background-position: center;
}
.charsheet .ability > label.textLabelled {
display: flex;
flex-wrap: wrap;
}
.charsheet .ability > label.textLabelled > div {
width: 100%;
}
.charsheet .ability > label.textLabelled > div::before {
display: inline-block;
width: 20px;
height: 20px;
content: " ";
margin-bottom: -2px;
margin-top: -2px;
margin-right: 3px;
}
.charsheet .ability > label > input[type=number] {
width: 50px;
height: 25px;
border-radius: 15px;
background: white;
margin-right: 65px;
}
.charsheet .panel-relations .relation {
display: block;
height: 25%;
vertical-align: middle;
}
.charsheet .panel-relations .relation > p {
display: inline-block;
width: 30%;
}
.charsheet .panel-relations .relation > span {
display: inline-block;
width: 12px;
height: 25px;
background-color: #f4f4f4;
border-radius: 0 15px 15px 0;
color: red;
}
.charsheet .panel-relations .relation > input[type=text] {
margin-top: 6px;
display: inline-block;
width: calc(70% - 20px);
border: none;
}
.charsheet .wounds {
width: 100%;
}
.charsheet .wounds > span {
display: inline-block;
padding: 1px;
}
.charsheet .wounds > span:first-of-type {
width: calc(100% - 40px - 40px - 40px - 8px);
}
.charsheet .wounds > span:nth-of-type(2) {
width: 40px;
}
.charsheet .wounds > span:nth-of-type(3) {
width: 40px;
}
.charsheet .wounds > span:nth-of-type(4) {
width: 40px;
}
.charsheet .wounds > .repcontainer > .repitem > input {
border: 0;
}
.charsheet .wounds > .repcontainer > .repitem > input:first-of-type {
width: calc(100% - 40px - 40px - 40px - 8px - 4px);
}
.charsheet .wounds > .repcontainer > .repitem > input:nth-of-type(2) {
width: 40px;
}
.charsheet .wounds > .repcontainer > .repitem > input:nth-of-type(3) {
width: 40px;
}
.charsheet .wounds > .repcontainer > .repitem > input:nth-of-type(4) {
width: 40px;
}
.charsheet .weapons > span {
display: inline-block;
padding: 1px;
}
.charsheet .weapons > span:first-of-type {
width: calc(100% - 30px - 30px - 90px - 30px - 30px - 30px - 25px - 8px);
}
.charsheet .weapons > span:nth-of-type(2) {
width: 30px;
}
.charsheet .weapons > span:nth-of-type(3) {
width: 30px;
}
.charsheet .weapons > span:nth-of-type(4) {
width: 90px;
}
.charsheet .weapons > span:nth-of-type(5) {
width: 30px;
}
.charsheet .weapons > span:nth-of-type(6) {
width: 30px;
}
.charsheet .weapons > span:nth-of-type(7) {
width: 30px;
font-family: "Pictos Custom";
color: red;
font-size: 1.3em;
}
.charsheet .weapons > span:last-of-type {
width: 17px;
}
.charsheet .weapons > .repcontainer > .repitem > input, .charsheet .weapons > .unnarmed > input {
border: 0;
}
.charsheet .weapons > .repcontainer > .repitem > input:first-of-type, .charsheet .weapons > .unnarmed > input:first-of-type {
width: calc(100% - 30px - 30px - 90px - 30px - 30px - 30px - 25px - 8px - 8px);
}
.charsheet .weapons > .repcontainer > .repitem > input:nth-of-type(2), .charsheet .weapons > .unnarmed > input:nth-of-type(2) {
width: 30px;
}
.charsheet .weapons > .repcontainer > .repitem > input:nth-of-type(3), .charsheet .weapons > .unnarmed > input:nth-of-type(3) {
width: 30px;
}
.charsheet .weapons > .repcontainer > .repitem > input:nth-of-type(4), .charsheet .weapons > .unnarmed > input:nth-of-type(4) {
width: 90px;
}
.charsheet .weapons > .repcontainer > .repitem > input:nth-of-type(5), .charsheet .weapons > .unnarmed > input:nth-of-type(5) {
width: 30px;
}
.charsheet .weapons > .repcontainer > .repitem > label, .charsheet .weapons > .unnarmed > label, .charsheet .weapons > .unnarmed > span {
display: inline-block;
width: 30px;
margin-right: -12px;
padding-right: 0;
padding-left: 5px;
}
.charsheet .weapons > .repcontainer > .repitem > button[type=action], .charsheet .weapons > .unnarmed > button[type=action] {
padding: 0;
margin: 0;
width: 25px;
display: inline-block;
}
.charsheet .weapons > .repcontainer > .repitem > button[type=action]::before, .charsheet .weapons > .unnarmed > button[type=action]::before {
display: inline-block;
}
.sheet-rolltemplate-simple,
.sheet-rolltemplate-attack,
.sheet-rolltemplate-goldorak,
.sheet-rolltemplate-damage,
.sheet-rolltemplate-burndamage {
width: 100%;
padding: 0px;
background: #d4d4de;
display: block;
overflow: auto;
}
.sheet-rolltemplate-simple h3,
.sheet-rolltemplate-attack h3,
.sheet-rolltemplate-goldorak h3,
.sheet-rolltemplate-damage h3,
.sheet-rolltemplate-burndamage h3 {
background: #555;
color: white;
padding: 5px;
}
.sheet-rolltemplate-simple > .sheet-rollBody,
.sheet-rolltemplate-attack > .sheet-rollBody,
.sheet-rolltemplate-goldorak > .sheet-rollBody,
.sheet-rolltemplate-damage > .sheet-rollBody,
.sheet-rolltemplate-burndamage > .sheet-rollBody {
padding: 10px;
}
.sheet-rolltemplate-simple > .sheet-rollBody > .sheet-even,
.sheet-rolltemplate-attack > .sheet-rollBody > .sheet-even,
.sheet-rolltemplate-goldorak > .sheet-rollBody > .sheet-even,
.sheet-rolltemplate-damage > .sheet-rollBody > .sheet-even,
.sheet-rolltemplate-burndamage > .sheet-rollBody > .sheet-even {
background: #c4c4ce;
}
.sheet-rolltemplate-simple > .sheet-rollBody > .sheet-severity,
.sheet-rolltemplate-attack > .sheet-rollBody > .sheet-severity,
.sheet-rolltemplate-goldorak > .sheet-rollBody > .sheet-severity,
.sheet-rolltemplate-damage > .sheet-rollBody > .sheet-severity,
.sheet-rolltemplate-burndamage > .sheet-rollBody > .sheet-severity {
display: flex;
flex-direction: row;
justify-content: space-around;
}
.sheet-rolltemplate-simple > .sheet-rollBody > .sheet-big,
.sheet-rolltemplate-attack > .sheet-rollBody > .sheet-big,
.sheet-rolltemplate-goldorak > .sheet-rollBody > .sheet-big,
.sheet-rolltemplate-damage > .sheet-rollBody > .sheet-big,
.sheet-rolltemplate-burndamage > .sheet-rollBody > .sheet-big {
text-align: center;
font-size: 1.2em;
height: 35px;
vertical-align: middle;
}
.sheet-rolltemplate-simple > .sheet-rollBody > .sheet-baseRoll, .sheet-rolltemplate-simple > .sheet-rollBody > .sheet-modRoll,
.sheet-rolltemplate-attack > .sheet-rollBody > .sheet-baseRoll,
.sheet-rolltemplate-attack > .sheet-rollBody > .sheet-modRoll,
.sheet-rolltemplate-goldorak > .sheet-rollBody > .sheet-baseRoll,
.sheet-rolltemplate-goldorak > .sheet-rollBody > .sheet-modRoll,
.sheet-rolltemplate-damage > .sheet-rollBody > .sheet-baseRoll,
.sheet-rolltemplate-damage > .sheet-rollBody > .sheet-modRoll,
.sheet-rolltemplate-burndamage > .sheet-rollBody > .sheet-baseRoll,
.sheet-rolltemplate-burndamage > .sheet-rollBody > .sheet-modRoll {
display: inline-block;
float: left;
width: 50%;
}
.sheet-rolltemplate-simple > .sheet-rollBody > .sheet-baseRoll > div, .sheet-rolltemplate-simple > .sheet-rollBody > .sheet-modRoll > div,
.sheet-rolltemplate-attack > .sheet-rollBody > .sheet-baseRoll > div,
.sheet-rolltemplate-attack > .sheet-rollBody > .sheet-modRoll > div,
.sheet-rolltemplate-goldorak > .sheet-rollBody > .sheet-baseRoll > div,
.sheet-rolltemplate-goldorak > .sheet-rollBody > .sheet-modRoll > div,
.sheet-rolltemplate-damage > .sheet-rollBody > .sheet-baseRoll > div,
.sheet-rolltemplate-damage > .sheet-rollBody > .sheet-modRoll > div,
.sheet-rolltemplate-burndamage > .sheet-rollBody > .sheet-baseRoll > div,
.sheet-rolltemplate-burndamage > .sheet-rollBody > .sheet-modRoll > div {
height: 30px;
text-align: center;
}
.sheet-rolltemplate-simple > .sheet-rollBody > .sheet-baseRoll > div:first-of-type, .sheet-rolltemplate-simple > .sheet-rollBody > .sheet-modRoll > div:first-of-type,
.sheet-rolltemplate-attack > .sheet-rollBody > .sheet-baseRoll > div:first-of-type,
.sheet-rolltemplate-attack > .sheet-rollBody > .sheet-modRoll > div:first-of-type,
.sheet-rolltemplate-goldorak > .sheet-rollBody > .sheet-baseRoll > div:first-of-type,
.sheet-rolltemplate-goldorak > .sheet-rollBody > .sheet-modRoll > div:first-of-type,
.sheet-rolltemplate-damage > .sheet-rollBody > .sheet-baseRoll > div:first-of-type,
.sheet-rolltemplate-damage > .sheet-rollBody > .sheet-modRoll > div:first-of-type,
.sheet-rolltemplate-burndamage > .sheet-rollBody > .sheet-baseRoll > div:first-of-type,
.sheet-rolltemplate-burndamage > .sheet-rollBody > .sheet-modRoll > div:first-of-type {
background: #c4c4ce;
}
.sheet-rolltemplate-simple > .sheet-rollBody > .sheet-baseRoll .sheet-d8, .sheet-rolltemplate-simple > .sheet-rollBody > .sheet-modRoll .sheet-d8,
.sheet-rolltemplate-attack > .sheet-rollBody > .sheet-baseRoll .sheet-d8,
.sheet-rolltemplate-attack > .sheet-rollBody > .sheet-modRoll .sheet-d8,
.sheet-rolltemplate-goldorak > .sheet-rollBody > .sheet-baseRoll .sheet-d8,
.sheet-rolltemplate-goldorak > .sheet-rollBody > .sheet-modRoll .sheet-d8,
.sheet-rolltemplate-damage > .sheet-rollBody > .sheet-baseRoll .sheet-d8,
.sheet-rolltemplate-damage > .sheet-rollBody > .sheet-modRoll .sheet-d8,
.sheet-rolltemplate-burndamage > .sheet-rollBody > .sheet-baseRoll .sheet-d8,
.sheet-rolltemplate-burndamage > .sheet-rollBody > .sheet-modRoll .sheet-d8 {
font-family: dicefontd8;
font-size: 1.8em;
}
.sheet-rolltemplate-simple > .sheet-rollBody > .sheet-baseRoll .sheet-d10, .sheet-rolltemplate-simple > .sheet-rollBody > .sheet-modRoll .sheet-d10,
.sheet-rolltemplate-attack > .sheet-rollBody > .sheet-baseRoll .sheet-d10,
.sheet-rolltemplate-attack > .sheet-rollBody > .sheet-modRoll .sheet-d10,
.sheet-rolltemplate-goldorak > .sheet-rollBody > .sheet-baseRoll .sheet-d10,
.sheet-rolltemplate-goldorak > .sheet-rollBody > .sheet-modRoll .sheet-d10,
.sheet-rolltemplate-damage > .sheet-rollBody > .sheet-baseRoll .sheet-d10,
.sheet-rolltemplate-damage > .sheet-rollBody > .sheet-modRoll .sheet-d10,
.sheet-rolltemplate-burndamage > .sheet-rollBody > .sheet-baseRoll .sheet-d10,
.sheet-rolltemplate-burndamage > .sheet-rollBody > .sheet-modRoll .sheet-d10 {
font-family: dicefontd10;
font-size: 1.8em;
}
.sheet-rolltemplate-simple > .sheet-rollBody > .sheet-conditions,
.sheet-rolltemplate-attack > .sheet-rollBody > .sheet-conditions,
.sheet-rolltemplate-goldorak > .sheet-rollBody > .sheet-conditions,
.sheet-rolltemplate-damage > .sheet-rollBody > .sheet-conditions,
.sheet-rolltemplate-burndamage > .sheet-rollBody > .sheet-conditions {
font-size: 0.9em;
font-style: italic;
}
.sheet-rolltemplate-simple .inlinerollresult,
.sheet-rolltemplate-attack .inlinerollresult,
.sheet-rolltemplate-goldorak .inlinerollresult,
.sheet-rolltemplate-damage .inlinerollresult,
.sheet-rolltemplate-burndamage .inlinerollresult {
border: none;
background: none;
}
.sheet-rolltemplate-simple .inlinerollresult.fullcrit, .sheet-rolltemplate-simple .inlinerollresult.fullfail, .sheet-rolltemplate-simple .inlinerollresult.importantroll,
.sheet-rolltemplate-attack .inlinerollresult.fullcrit,
.sheet-rolltemplate-attack .inlinerollresult.fullfail,
.sheet-rolltemplate-attack .inlinerollresult.importantroll,
.sheet-rolltemplate-goldorak .inlinerollresult.fullcrit,
.sheet-rolltemplate-goldorak .inlinerollresult.fullfail,
.sheet-rolltemplate-goldorak .inlinerollresult.importantroll,
.sheet-rolltemplate-damage .inlinerollresult.fullcrit,
.sheet-rolltemplate-damage .inlinerollresult.fullfail,
.sheet-rolltemplate-damage .inlinerollresult.importantroll,
.sheet-rolltemplate-burndamage .inlinerollresult.fullcrit,
.sheet-rolltemplate-burndamage .inlinerollresult.fullfail,
.sheet-rolltemplate-burndamage .inlinerollresult.importantroll {
border: none;
}
.charsheet main {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
display: grid;
grid-template-columns: 25% 25% 50%;
grid-template-rows: 100px 150px 150px 150px;
grid-template-areas: "name name nav" "hp carac pages" "armour carac pages" "oxygen skill pages";
grid-gap: 8px 8px;
}
.charsheet .page {
grid-area: pages;
display: none;
grid-template-columns: 100%;
grid-template-rows: 50% 50%;
grid-template-areas: "up" "bottom";
}
.charsheet input[type=hidden][name=attr_page][value=base] ~ .page.page-base, .charsheet input[type=hidden][name=attr_page][value=combat] ~ .page.page-combat {
display: grid;
}
.charsheet .panel-name {
grid-area: name;
}
.charsheet .panel-nav {
grid-area: nav;
}
.charsheet .panel-hp {
grid-area: hp;
}
.charsheet .panel-hp > .panelbody {
background-image: url("https://raw.githubusercontent.com/Calmacil/shs/main/img/heart-beats.png");
background-repeat: no-repeat;
background-position: center;
background-size: 90px 90px;
}
.charsheet .panel-armour {
grid-area: armour;
}
.charsheet .panel-armour > .panelbody {
background-image: url("https://raw.githubusercontent.com/Calmacil/shs/main/img/kevlar-vest.png");
background-repeat: no-repeat;
background-position: center;
background-size: 90px 90px;
}
.charsheet .panel-oxygen {
grid-area: oxygen;
}
.charsheet .panel-oxygen > .panelbody {
background-image: url("https://raw.githubusercontent.com/Calmacil/shs/main/img/astronaut-helmet.png");
background-repeat: no-repeat;
background-position: center;
background-size: 90px 90px;
}
.charsheet .panel-carac {
grid-area: carac;
}
.charsheet .panel-skills {
grid-area: skill;
}
.charsheet .panel-wounds {
grid-area: up;
}
.charsheet .panel-weapons {
grid-area: bottom;
}
.charsheet .panel-notes {
grid-area: up;
}
.charsheet .panel-relations {
grid-area: bottom;
}
/*# sourceMappingURL=shs.css.map */