99 lines
3.4 KiB
SCSS
99 lines
3.4 KiB
SCSS
header.sheet-header {
|
|
.character-values {
|
|
flex: 0 0 100%;
|
|
.attributes-traits {
|
|
margin-top: $margin-sm;
|
|
.attribute {
|
|
.attribute-label {
|
|
font-family: $font-heading;
|
|
font-size: 2em;
|
|
text-align: center;
|
|
}
|
|
.attribute-value {
|
|
border: 2px groove $c-border-groove;
|
|
line-height: 26px;
|
|
font-size: 1.5em;
|
|
text-align: center;
|
|
padding-left: 2px;
|
|
padding-right: 2px;
|
|
gap: 0;
|
|
input,
|
|
.attribute-value-total {
|
|
grid-column: span 2;
|
|
}
|
|
}
|
|
}
|
|
.trait {
|
|
.trait-label {
|
|
color: transparent;
|
|
font-family: $font-heading;
|
|
font-size: 2em;
|
|
text-align: center;
|
|
//text-shadow: -1px 1px 0 $c-black, 1px 1px 0 $c-black, 1px -1px 0 $c-black, -1px -1px 0 $c-black;
|
|
-webkit-text-stroke: 1px $c-black;
|
|
}
|
|
.trait-value {
|
|
border: 2px groove $c-border-groove;
|
|
font-size: 1.5em;
|
|
line-height: 26px;
|
|
text-align: center;
|
|
padding-left: 2px;
|
|
padding-right: 2px;
|
|
gap: 0;
|
|
input,
|
|
.trait-value-total {
|
|
grid-column: span 2;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
.combat-values {
|
|
margin-top: $margin-sm;
|
|
.combat-value-with-formula {
|
|
display: grid;
|
|
place-items: center;
|
|
$size: 60px;
|
|
row-gap: $margin-sm;
|
|
.combat-value {
|
|
@include centered-content;
|
|
height: $size;
|
|
width: $size;
|
|
flex: 0 0 auto;
|
|
background-size: contain;
|
|
font-size: 1.5em;
|
|
&.hitPoints {
|
|
background-image: url("assets/DS4-HP.png");
|
|
}
|
|
&.defense {
|
|
background-image: url("assets/DS4-DEF.png");
|
|
}
|
|
&.initiative {
|
|
background-image: url("assets/DS4-INI.png");
|
|
}
|
|
&.movement {
|
|
background-image: url("assets/DS4-MR.png");
|
|
}
|
|
&.meleeAttack {
|
|
background-image: url("assets/DS4-MAT.png");
|
|
}
|
|
&.rangedAttack {
|
|
background-image: url("assets/DS4-RAT.png");
|
|
}
|
|
&.spellcasting {
|
|
background-image: url("assets/DS4-SPC.png");
|
|
}
|
|
&.targetedSpellcasting {
|
|
background-image: url("assets/DS4-TSC.png");
|
|
}
|
|
}
|
|
|
|
.combat-value-formula {
|
|
width: $size;
|
|
input {
|
|
text-align: center;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|