ds4/src/scss/components/_attributes_traits.scss
2021-02-24 12:55:30 +01:00

56 lines
1.6 KiB
SCSS

@use "../utils/colors";
@use "../utils/typography";
@use "../utils/variables";
.attributes-traits {
margin-top: variables.$margin-sm;
.attribute {
.attribute-label {
@include typography.font-heading-upper;
font-size: 2em;
text-align: center;
}
.attribute-value {
border: variables.$border-groove;
font-size: 1.5em;
text-align: center;
padding-left: 2px;
padding-right: 2px;
gap: 0;
input,
.attribute-value-total {
grid-column: span 2;
line-height: variables.$default-input-height;
}
.attribute-value-arrow {
padding: 0 5px;
}
}
}
.trait {
.trait-label {
color: transparent;
@include typography.font-heading-upper;
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 colors.$c-black;
}
.trait-value {
border: variables.$border-groove;
font-size: 1.5em;
text-align: center;
padding-left: 2px;
padding-right: 2px;
gap: 0;
input,
.trait-value-total {
grid-column: span 2;
line-height: variables.$default-input-height;
}
.trait-value-arrow {
padding: 0 5px;
}
}
}
}