Files
roll20-character-sheets/Wilderfeast/wilderfeast.css
T

867 lines
26 KiB
CSS

@import url("https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital,wght@0,100..800;1,100..800&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Josefin+Sans:ital,wght@0,100..700;1,100..700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Mohave:ital,wght@0,300..700;1,300..700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Source+Serif+4:ital,opsz,wght@0,8..60,200..900;1,8..60,200..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Nanum+Pen+Script&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Playpen+Sans:wght@100..800&display=swap");
html {
box-sizing: border-box;
font-size: 12px;
}
html .characterviewer,
html .tab-content,
html .sheetform,
html .charactersheet {
box-sizing: border-box;
height: calc(100% - 1px);
}
.charsheet * {
box-sizing: border-box;
height: unset;
width: unset;
padding: unset;
margin: unset;
font-family: unset;
color: unset;
border: unset;
border-radius: unset;
background: unset;
background-color: unset;
text-shadow: unset;
box-shadow: unset;
}
.charsheet p,
.charsheet input,
.charsheet input[type=number],
.charsheet textarea,
.charsheet select,
.charsheet button,
.charsheet button[type=roll],
.charsheet button[type=action],
.charsheet label {
display: unset;
width: unset;
height: unset;
padding: unset;
margin-bottom: unset;
font-size: unset;
font-weight: unset;
text-shadow: none;
line-height: unset;
color: unset;
border: unset;
border-radius: unset;
background: unset;
background-color: unset;
box-shadow: unset;
}
.charsheet input[disabled],
.charsheet select[disabled],
.charsheet textarea[disabled],
.charsheet input[readonly],
.charsheet select[readonly],
.charsheet textarea[readonly] {
background-color: unset;
border-color: unset;
}
.charsheet fieldset {
background: transparent;
}
.charsheet span {
word-break: break-word;
}
input[type=number] {
-webkit-appearance: textfield;
-moz-appearance: textfield;
appearance: textfield;
}
input[type=number]::-webkit-outer-spin-button, input[type=number]::-webkit-inner-spin-button {
-webkit-appearance: none;
appearance: none;
margin: 0;
}
.ui-dialog .largedialog {
padding: 0;
}
.ui-dialog .charsheet {
padding: 0;
}
.ui-dialog .charsheet input[type=number] {
width: unset;
max-width: 5rem;
}
.wf .flex {
display: flex;
gap: 0 0.25em;
}
.wf .grid {
display: grid;
grid-template-rows: auto 1fr;
gap: 0 0.25em;
}
.wf .sr-only {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
border: 0;
}
.wf .col-span-1 {
grid-column: span 1/span 1;
}
.wf .col-span-2 {
grid-column: span 2/span 2;
}
.wf .col-span-3 {
grid-column: span 3/span 3;
}
.wf .col-span-4 {
grid-column: span 4/span 4;
}
.wf .col-span-5 {
grid-column: span 5/span 5;
}
.wf .col-span-6 {
grid-column: span 6/span 6;
}
.wf .grid-cols-2 {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.wf .grid-cols-3 {
grid-template-columns: repeat(3, minmax(0, 1fr));
}
.wf .grid-cols-4 {
grid-template-columns: repeat(4, minmax(0, 1fr));
}
.wf .grid-cols-5 {
grid-template-columns: repeat(5, minmax(0, 1fr));
}
.wf .grid-cols-6 {
grid-template-columns: repeat(6, minmax(0, 1fr));
}
.wf .text-start {
text-align: start;
}
.wf .text-center {
text-align: center;
}
.wf .text-end {
text-align: end;
}
.wf .text-justify {
text-align: justify;
}
.wf .flex-row {
flex-direction: row;
}
.wf .flex-row-reverse {
flex-direction: row-reverse;
}
.wf .flex-col {
flex-direction: column;
}
.wf .flex-col-reverse {
flex-direction: column-reverse;
}
.sheet-rolltemplate-action {
--dice-color: var(--color-navy);
position: relative;
background-color: var(--color-white);
padding: 0.5em;
}
.sheet-rolltemplate-action .inlinerollresult.inlinerollresult {
position: relative;
background: transparent;
color: var(--dice-color);
font-family: var(--font-text-monospace);
border: none;
font-weight: 700;
line-height: 1;
vertical-align: middle;
}
.sheet-rolltemplate-action .inlinerollresult.inlinerollresult.fullcrit, .sheet-rolltemplate-action .inlinerollresult.inlinerollresult.fullfail {
border: none;
}
.sheet-rolltemplate-action .sheet-wf-wrapper {
background-color: var(--color-white);
background-image: linear-gradient(to right, var(--color-parchment), transparent, var(--color-parchment));
border: 3px double var(--color-orange);
padding: 0 0.5em 0.5em;
}
.sheet-rolltemplate-action .sheet-wf-header--style {
text-transform: uppercase;
font-family: var(--font-text-header);
font-weight: 700;
color: var(--color-orange);
}
.sheet-rolltemplate-action .sheet-wf-header--skill {
text-transform: uppercase;
font-family: var(--font-text-header);
font-weight: 700;
color: var(--color-navy);
}
.sheet-rolltemplate-action .sheet-wf-character-name {
color: var(--color-navy);
margin-top: -0.75em;
}
.sheet-rolltemplate-action .sheet-wf-character-name span {
font-family: var(--font-text-title);
text-transform: uppercase;
background-color: var(--color-white);
padding: 0 0.5em;
font-weight: 700;
}
.sheet-rolltemplate-action .sheet-wf-character-name__skill-style {
display: flex;
gap: 1em;
}
.sheet-rolltemplate-action .sheet-wf-go-wild, .sheet-rolltemplate-action .sheet-wf-focus-up {
position: absolute;
display: flex;
justify-content: end;
top: 0;
right: 0;
padding: 0.25em;
background-color: transparent;
background-image: linear-gradient(to top right, transparent 50% 50%, var(--color-red) 100%);
color: var(--color-white);
-webkit-text-stroke: 2px var(--color-red);
min-width: 5em;
}
.sheet-rolltemplate-action .sheet-wf-go-wild span, .sheet-rolltemplate-action .sheet-wf-focus-up span {
color: var(--color-white);
font-family: var(--font-text-header);
display: inline-block;
text-align: end;
white-space: break-spaces;
font-weight: 700;
text-transform: uppercase;
paint-order: stroke fill;
}
.sheet-rolltemplate-action .sheet-wf-circumstance {
position: absolute;
display: flex;
justify-content: end;
bottom: 0;
left: 0;
padding: 0.25em;
background-color: transparent;
background-image: linear-gradient(to bottom left, transparent 50% 50%, var(--color-navy) 100%);
color: var(--color-white);
-webkit-text-stroke: 2px var(--color-navy);
min-width: 5em;
}
.sheet-rolltemplate-action .sheet-wf-circumstance:not(:has(> span)) {
display: none;
}
.sheet-rolltemplate-action .sheet-wf-circumstance span {
color: var(--color-white);
font-family: var(--font-text-header);
display: inline-block;
text-align: end;
white-space: break-spaces;
font-weight: 700;
text-transform: uppercase;
paint-order: stroke fill;
}
.sheet-rolltemplate-action .sheet-wf-dice-tray {
display: grid;
grid-template-columns: 4fr 1fr;
gap: 0.5em;
margin-top: 0.5em;
align-items: center;
}
.sheet-rolltemplate-action .sheet-wf-action {
display: grid;
gap: 0.5em;
padding: 0.5em 1em;
background-color: var(--color-parchment);
border: 2px solid var(--color-orange);
text-align: center;
}
.sheet-rolltemplate-action .sheet-wf-action__roll .inlinerollresult, .sheet-rolltemplate-action .sheet-wf-action__roll--critical .inlinerollresult, .sheet-rolltemplate-action .sheet-wf-action__roll--partial .inlinerollresult {
font-size: 2em;
}
.sheet-rolltemplate-action .sheet-wf-action__roll--critical::after {
position: absolute;
content: "✦";
}
.sheet-rolltemplate-action .sheet-wf-action__result {
font-family: var(--font-text-header);
font-size: 0.8em;
line-height: 1;
text-transform: uppercase;
text-align: center;
}
.sheet-rolltemplate-action .sheet-wf-style__roll, .sheet-rolltemplate-action .sheet-wf-style__roll--disadvantage, .sheet-rolltemplate-action .sheet-wf-style__roll--advantage {
display: flex;
flex-direction: row;
gap: 0.5em;
justify-content: center;
align-items: center;
}
.sheet-rolltemplate-action .sheet-wf-style__roll .sheet-wf-style__face, .sheet-rolltemplate-action .sheet-wf-style__roll--disadvantage .sheet-wf-style__face, .sheet-rolltemplate-action .sheet-wf-style__roll--advantage .sheet-wf-style__face, .sheet-rolltemplate-action .sheet-wf-style__roll .sheet-wf-style__face-1, .sheet-rolltemplate-action .sheet-wf-style__roll--disadvantage .sheet-wf-style__face-1, .sheet-rolltemplate-action .sheet-wf-style__roll--advantage .sheet-wf-style__face-1, .sheet-rolltemplate-action .sheet-wf-style__roll .sheet-wf-style__face-2, .sheet-rolltemplate-action .sheet-wf-style__roll--disadvantage .sheet-wf-style__face-2, .sheet-rolltemplate-action .sheet-wf-style__roll--advantage .sheet-wf-style__face-2, .sheet-rolltemplate-action .sheet-wf-style__roll .sheet-wf-style__face-3, .sheet-rolltemplate-action .sheet-wf-style__roll--disadvantage .sheet-wf-style__face-3, .sheet-rolltemplate-action .sheet-wf-style__roll--advantage .sheet-wf-style__face-3, .sheet-rolltemplate-action .sheet-wf-style__roll .sheet-wf-style__face-4, .sheet-rolltemplate-action .sheet-wf-style__roll--disadvantage .sheet-wf-style__face-4, .sheet-rolltemplate-action .sheet-wf-style__roll--advantage .sheet-wf-style__face-4, .sheet-rolltemplate-action .sheet-wf-style__roll .sheet-wf-style__face-5, .sheet-rolltemplate-action .sheet-wf-style__roll--disadvantage .sheet-wf-style__face-5, .sheet-rolltemplate-action .sheet-wf-style__roll--advantage .sheet-wf-style__face-5, .sheet-rolltemplate-action .sheet-wf-style__roll .sheet-wf-style__face-6, .sheet-rolltemplate-action .sheet-wf-style__roll--disadvantage .sheet-wf-style__face-6, .sheet-rolltemplate-action .sheet-wf-style__roll--advantage .sheet-wf-style__face-6 {
--dice-style: solid;
}
.sheet-rolltemplate-action .sheet-wf-style__roll .sheet-wf-style__face .inlinerollresult, .sheet-rolltemplate-action .sheet-wf-style__roll--disadvantage .sheet-wf-style__face .inlinerollresult, .sheet-rolltemplate-action .sheet-wf-style__roll--advantage .sheet-wf-style__face .inlinerollresult, .sheet-rolltemplate-action .sheet-wf-style__roll .sheet-wf-style__face-1 .inlinerollresult, .sheet-rolltemplate-action .sheet-wf-style__roll--disadvantage .sheet-wf-style__face-1 .inlinerollresult, .sheet-rolltemplate-action .sheet-wf-style__roll--advantage .sheet-wf-style__face-1 .inlinerollresult, .sheet-rolltemplate-action .sheet-wf-style__roll .sheet-wf-style__face-2 .inlinerollresult, .sheet-rolltemplate-action .sheet-wf-style__roll--disadvantage .sheet-wf-style__face-2 .inlinerollresult, .sheet-rolltemplate-action .sheet-wf-style__roll--advantage .sheet-wf-style__face-2 .inlinerollresult, .sheet-rolltemplate-action .sheet-wf-style__roll .sheet-wf-style__face-3 .inlinerollresult, .sheet-rolltemplate-action .sheet-wf-style__roll--disadvantage .sheet-wf-style__face-3 .inlinerollresult, .sheet-rolltemplate-action .sheet-wf-style__roll--advantage .sheet-wf-style__face-3 .inlinerollresult, .sheet-rolltemplate-action .sheet-wf-style__roll .sheet-wf-style__face-4 .inlinerollresult, .sheet-rolltemplate-action .sheet-wf-style__roll--disadvantage .sheet-wf-style__face-4 .inlinerollresult, .sheet-rolltemplate-action .sheet-wf-style__roll--advantage .sheet-wf-style__face-4 .inlinerollresult, .sheet-rolltemplate-action .sheet-wf-style__roll .sheet-wf-style__face-5 .inlinerollresult, .sheet-rolltemplate-action .sheet-wf-style__roll--disadvantage .sheet-wf-style__face-5 .inlinerollresult, .sheet-rolltemplate-action .sheet-wf-style__roll--advantage .sheet-wf-style__face-5 .inlinerollresult, .sheet-rolltemplate-action .sheet-wf-style__roll .sheet-wf-style__face-6 .inlinerollresult, .sheet-rolltemplate-action .sheet-wf-style__roll--disadvantage .sheet-wf-style__face-6 .inlinerollresult, .sheet-rolltemplate-action .sheet-wf-style__roll--advantage .sheet-wf-style__face-6 .inlinerollresult {
display: inline-block;
border: 2px var(--dice-style) var(--dice-color);
color: var(--color-navy);
width: 1.5em;
line-height: 1.5em;
aspect-ratio: 1;
padding: 0;
text-align: center;
vertical-align: middle;
}
.sheet-rolltemplate-action .sheet-wf-style__roll .sheet-wf-style__face-1, .sheet-rolltemplate-action .sheet-wf-style__roll--disadvantage .sheet-wf-style__face-1, .sheet-rolltemplate-action .sheet-wf-style__roll--advantage .sheet-wf-style__face-1, .sheet-rolltemplate-action .sheet-wf-style__roll .sheet-wf-style__face-2, .sheet-rolltemplate-action .sheet-wf-style__roll--disadvantage .sheet-wf-style__face-2, .sheet-rolltemplate-action .sheet-wf-style__roll--advantage .sheet-wf-style__face-2, .sheet-rolltemplate-action .sheet-wf-style__roll .sheet-wf-style__face-3, .sheet-rolltemplate-action .sheet-wf-style__roll--disadvantage .sheet-wf-style__face-3, .sheet-rolltemplate-action .sheet-wf-style__roll--advantage .sheet-wf-style__face-3, .sheet-rolltemplate-action .sheet-wf-style__roll .sheet-wf-style__face-4, .sheet-rolltemplate-action .sheet-wf-style__roll--disadvantage .sheet-wf-style__face-4, .sheet-rolltemplate-action .sheet-wf-style__roll--advantage .sheet-wf-style__face-4 {
--dice-color: var(--color-red);
--dice-style: dashed;
}
.sheet-rolltemplate-action .sheet-wf-style__roll--advantage .sheet-wf-style__face-4 {
--dice-color: var(--color-navy);
--dice-style: solid;
}
.sheet-rolltemplate-action .sheet-wf-style__roll--disadvantage .sheet-wf-style__face-5 {
--dice-color: var(--color-red);
--dice-style: dashed;
}
.charsheet * {
box-sizing: border-box;
height: unset;
width: unset;
padding: unset;
margin: unset;
text-align: unset;
}
button {
background-color: transparent;
border: none;
font-family: var(--font-text-header);
}
.wf,
.sheet-rolltemplate-action {
--font-text-title: "Josefin Sans", sans-serif;
--font-text-header: Mohave, sans-serif;
--font-text: "Source Serif 4", serif;
--font-text-monospace: OCRB, "JetBrains Mono", monospace;
--font-text-input: "Playpen Sans", "Nanum Pen Script", "Comic Sans MS",
sans-serif;
--color-black: #030608;
--color-white: #fff;
--color-navy: #2f4d9a;
--color-orange: #ef8017;
--color-red: #f04f50;
--color-green: #208474;
--color-parchment: #fcf6ea;
--color-black-rgb: 3, 6, 8;
--color-white-rgb: 255, 255, 255;
--color-navy-rgb: 47, 77, 154;
--color-orange-rgb: 239, 128, 23;
--color-red-rgb: 240, 79, 80;
--color-green-rgb: 32, 132, 116;
--color-parchment-rgb: 252, 246, 234;
}
.wf {
position: relative;
background-color: var(--color-white);
border: 6px double var(--color-orange);
padding: 0.5em;
margin-inline: 1em;
font-family: var(--font-text);
}
.wf label {
font-family: var(--font-text-header);
margin-bottom: 0;
padding-right: 0;
}
.wf label:has(:checked) span {
text-decoration: underline;
}
.wf textarea,
.wf input {
background-color: var(--color-white);
border-radius: 0;
font-family: var(--font-text-input);
}
.wf textarea[type=text],
.wf input[type=text] {
padding-left: 0.5em;
border: 1px solid rgba(var(--color-rgb), 0.5);
}
.wf textarea[type=number],
.wf input[type=number] {
-webkit-appearance: textfield;
-moz-appearance: textfield;
appearance: textfield;
text-align: center;
font-family: var(--font-text-input);
border: 1px solid rgba(var(--color-rgb), 0.5);
}
.wf textarea[type=number]::-webkit-outer-spin-button, .wf textarea[type=number]::-webkit-inner-spin-button,
.wf input[type=number]::-webkit-outer-spin-button,
.wf input[type=number]::-webkit-inner-spin-button {
-webkit-appearance: none;
appearance: none;
margin: 0;
}
.wf textarea {
width: auto;
min-height: 3em;
max-height: 10em;
resize: vertical;
margin: 0;
padding: 0 0.25em;
border: 1px solid rgba(var(--color-rgb), 0.5);
scrollbar-width: thin;
}
@supports selector(::-webkit-scrollbar) {
.wf textarea::-webkit-scrollbar {
width: 0.5rem;
background: transparent;
}
.wf textarea::-webkit-scrollbar-track {
background: var(--input-color-active);
}
}
.wf-black {
--text-normal: var(--color-black);
--border-color: var(--color-black);
--container-color: var(--color-black);
--color-rgb: var(--color-black-rgb, var(--color-orange-rgb));
}
.wf-white {
--text-normal: var(--color-white);
--border-color: var(--color-white);
--container-color: var(--color-white);
--color-rgb: var(--color-white-rgb, var(--color-orange-rgb));
}
.wf-navy {
--text-normal: var(--color-navy);
--border-color: var(--color-navy);
--container-color: var(--color-navy);
--color-rgb: var(--color-navy-rgb, var(--color-orange-rgb));
}
.wf-orange {
--text-normal: var(--color-orange);
--border-color: var(--color-orange);
--container-color: var(--color-orange);
--color-rgb: var(--color-orange-rgb, var(--color-orange-rgb));
}
.wf-red {
--text-normal: var(--color-red);
--border-color: var(--color-red);
--container-color: var(--color-red);
--color-rgb: var(--color-red-rgb, var(--color-orange-rgb));
}
.wf-green {
--text-normal: var(--color-green);
--border-color: var(--color-green);
--container-color: var(--color-green);
--color-rgb: var(--color-green-rgb, var(--color-orange-rgb));
}
.wf .wf__sheet-toggle {
position: absolute;
top: -1em;
right: 1em;
text-align: center;
text-transform: uppercase;
float: right;
padding-inline: 0.5em;
background-color: var(--color-white);
}
.wf .wf__sheet-toggle label {
font-family: var(--font-text-monospace);
color: var(--color-orange);
}
.wf .wf__sheet-toggle select {
color: var(--color-navy);
font-family: var(--font-text-monospace);
text-transform: uppercase;
}
.wf .wilder {
display: none;
}
.wf input[name=attr_sheet][value=wilder] ~ .wilder {
display: grid;
}
.wf .pack {
display: none;
}
.wf input[name=attr_sheet][value=pack] ~ .pack {
display: grid;
}
.wf .area {
display: none;
}
.wf input[name=attr_sheet][value=area] ~ .area {
display: grid;
}
.wf .repcontainer .repitem + .repitem {
margin-top: 0.25em;
padding-top: 0.25em;
border-top: 1px dashed var(--border-color);
}
.wf .wf__title {
color: var(--color-navy);
text-align: center;
margin-top: -0.75em;
}
.wf .wf__title span {
font-family: var(--font-text-title);
text-transform: uppercase;
background-color: var(--color-white);
padding: 0 0.5em;
}
.wf .wf__header {
display: grid;
grid-template-columns: 2fr 1fr 1fr;
margin-bottom: 1em;
}
.wf .wf .pack > .wf__header {
grid-template-columns: 1fr 1fr auto;
}
.wf .wf__version {
float: right;
padding-inline: 0.5em;
margin-right: 1em;
background-color: var(--color-white);
color: var(--color-orange);
font-family: var(--font-text-monospace);
text-transform: uppercase;
}
.wf .wf__version span + span {
color: var(--color-navy);
}
.wf .wf-span--focus-up {
text-transform: uppercase;
font-family: var(--font-text-header);
font-weight: 700;
color: var(--color-green);
}
.wf .wf-span--go-wild {
text-transform: uppercase;
font-family: var(--font-text-header);
font-weight: 700;
color: var(--color-navy);
}
.wf .wf-input, .wf .wf-input--style {
padding: 0.25em;
}
.wf .wf-input label, .wf .wf-input--style label {
color: var(--text-normal);
text-transform: uppercase;
}
.wf .wf-input label span, .wf .wf-input--style label span {
vertical-align: bottom;
font-size: 1em;
}
.wf .wf-input input[type=text], .wf .wf-input--style input[type=text] {
width: 100%;
}
.wf .wf-input input[type=checkbox], .wf .wf-input--style input[type=checkbox],
.wf .wf-input input[type=radio],
.wf .wf-input--style input[type=radio] {
margin-right: 0.25em;
}
.wf .wf-input:has(> textarea), .wf .wf-input--style:has(> textarea) {
display: grid;
grid-template-rows: auto 1fr;
}
.wf .wf-input.flex label, .wf .flex.wf-input--style label {
margin: 0 auto;
}
.wf .wf-input.inline, .wf .inline.wf-input--style {
display: grid;
gap: 0.25em;
grid-template-columns: 1fr 3fr;
}
.wf .wf-input--style {
--container-color: var(--color-orange);
display: inline-block;
width: 100%;
padding: 0;
}
.wf .wf-input--style label {
text-align: start;
font-weight: 700;
color: var(--container-color);
text-transform: uppercase;
font-family: var(--font-text-header);
font-size: 2em;
white-space: nowrap;
}
.wf .wf-input--valuemax {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 0 0.25em;
padding: 0.25em;
align-items: flex-end;
}
.wf .wf-input--valuemax > label {
color: var(--container-color);
text-transform: uppercase;
margin-bottom: 0.25em;
}
.wf .wf-input--valuemax .wf-input, .wf .wf-input--valuemax .wf-input--style {
display: grid;
background-color: var(--color-white);
}
.wf .wf-input--valuemax .wf-input label, .wf .wf-input--valuemax .wf-input--style label {
font-size: 0.8rem;
text-align: center;
}
.wf .wf-input--valuemax .wf-input input[type=number], .wf .wf-input--valuemax .wf-input--style input[type=number] {
margin: auto;
}
.wf .wf-heading {
text-align: center;
text-transform: uppercase;
color: var(--text-normal, var(--color-black));
font-family: var(--font-text-header);
grid-column: 1/-1;
}
.wf .wf__body {
display: grid;
grid-template-columns: repeat(6, minmax(0, 1fr));
gap: 0.5em;
}
@media (max-width: 600px) {
.wf .wf__body {
grid-template-columns: 1fr;
}
.wf .wf__body > .col-span-1 {
grid-column: span 1/span 1;
}
.wf .wf__body > .col-span-2 {
grid-column: span 1/span 1;
}
.wf .wf__body > .col-span-3 {
grid-column: span 1/span 1;
}
.wf .wf__body > .col-span-4 {
grid-column: span 1/span 1;
}
.wf .wf__body > .col-span-5 {
grid-column: span 1/span 1;
}
.wf .wf__body > .col-span-6 {
grid-column: span 1/span 1;
}
}
.wf .wf-container {
padding: 0 0.5em 0.5em;
border: 4px solid var(--border-color, var(--color-black));
}
.wf .wf__styles {
display: grid;
gap: 0 0.25em;
}
.wf .wf__style {
display: grid;
grid-template-columns: 1fr auto;
gap: 0.25em;
align-items: center;
}
.wf .wf__style .wf-input input[type=number], .wf .wf__style .wf-input--style input[type=number] {
font-size: 1.5em;
}
.wf .wf__you-are {
grid-template-rows: repeat(2, auto) 1fr auto;
border-color: transparent;
}
.wf .wf__portrait {
padding: 0;
max-height: 20em;
overflow: hidden;
background-color: var(--color-parchment);
}
.wf .wf__portrait img {
-o-object-fit: cover;
object-fit: cover;
-o-object-position: top;
object-position: top;
height: 100%;
width: 100%;
border: none;
}
.wf .wf .area .wf__portrait {
background-color: transparent;
border: none;
}
.wf .wf .area .wf__portrait img {
-o-object-fit: contain;
object-fit: contain;
}
.wf .wf__skills {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
gap: 0.25em;
}
.wf .wf__skills h3 {
grid-column: 1/-1;
}
.wf .wf-skill {
display: contents;
}
.wf .wf-skill label {
display: flex;
gap: 0.25em;
align-items: center;
margin: 0;
padding: 0 0.25em;
width: auto;
border: 2px solid var(--border-color);
}
.wf .wf-skill label span {
color: var(--text-normal);
text-transform: uppercase;
font-weight: 700;
white-space: nowrap;
}
.wf .wf-skill label input[type=number] {
margin-left: auto;
border: none;
border-left: 1px solid var(--border-color);
}
.wf .wf__dice-tray {
grid-template-columns: 1fr 3fr;
gap: 0 0.25em;
padding: 1em;
border: none;
}
.wf .wf__actions {
display: grid;
grid-template-columns: 1fr 3fr;
justify-content: center;
align-items: center;
gap: 0.5em 1em;
}
.wf .wf__actions span {
font-family: var(--font-text-title);
}
.wf .wf-action[type=action], .wf .wf-action--wild[type=action] {
--container-color: var(--color-navy);
display: grid;
grid-template-columns: 1em 1fr 1em;
gap: 1em;
padding: 0 1em;
outline: 3px solid var(--container-color);
}
.wf .wf-action[type=action] img, .wf .wf-action--wild[type=action] img {
width: 1em;
fill: var(--color-orange);
margin-block: auto;
}
.wf .wf-action[type=action] span, .wf .wf-action--wild[type=action] span {
text-align: center;
font-weight: 700;
color: var(--container-color);
text-transform: uppercase;
font-family: var(--font-text-header);
font-size: 1.5em;
white-space: nowrap;
}
.wf .wf-action[type=action]:hover, .wf .wf-action--wild[type=action]:hover {
background-color: var(--color-parchment);
}
.wf .wf-action--wild[type=action] {
--container-color: var(--color-green);
}
.wf .wf-tool {
display: grid;
grid-template-columns: 2fr 1fr;
gap: 0.5em;
}
.wf .wf-tool .wf-tool__durability {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 0 0.25em;
background-color: var(--color-black);
padding: 0.25em;
}
.wf .wf-tool .wf-tool__durability h4 {
color: var(--color-white);
grid-column: 1/-1;
}
.wf .wf-tool .wf-tool__durability .wf-input, .wf .wf-tool .wf-tool__durability .wf-input--style {
display: grid;
background-color: var(--color-white);
}
.wf .wf-tool .wf-tool__durability .wf-input label, .wf .wf-tool .wf-tool__durability .wf-input--style label {
font-size: 0.8rem;
text-align: center;
}
.wf .wf-tool .wf-tool__durability .wf-input input[type=number], .wf .wf-tool .wf-tool__durability .wf-input--style input[type=number] {
margin: auto;
}
.wf .wf-technique input[name*=cost], .wf .wf-trait input[name*=cost] {
font-style: italic;
}
.wf .wf-technique {
gap: 0 0.25em;
}
.wf .wf-trait {
gap: 0 0.25em;
}
.wf .wf-trait--default {
font-family: var(--font-text);
}
.wf .wf-trait--default strong {
color: var(--text-normal);
font-family: var(--font-text-header);
text-transform: uppercase;
}
.wf .wf__stamina .wf-input--valuemax {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.wf .wf__stamina input[type=number] {
font-size: 2em;
}
.wf .wf__conditions {
grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}
.wf .wf__conditions .wf-input, .wf .wf__conditions .wf-input--style {
display: flex;
padding: 0;
}
.wf .wf__conditions .wf-input label, .wf .wf__conditions .wf-input--style label {
margin: auto 0;
}
.wf .wf__conditions .wf-input span, .wf .wf__conditions .wf-input--style span {
opacity: 0.5;
color: var(--color-black);
}
.wf .wf__conditions .wf-input input[type=number], .wf .wf__conditions .wf-input--style input[type=number] {
opacity: 0;
width: 3.5em;
margin-left: auto;
color: var(--text-normal);
}
.wf .wf__conditions .wf-input:has(:checked) input[type=number], .wf .wf__conditions .wf-input--style:has(:checked) input[type=number] {
opacity: 1;
}
.wf .wf__conditions .wf-input:has(:checked) span, .wf .wf__conditions .wf-input--style:has(:checked) span {
color: var(--container-color);
font-weight: 700;
opacity: 1;
}
.wf .wf-ingredient, .wf .wf-monster {
display: grid;
grid-template-columns: 4fr minmax(5em, 1fr);
}