53 lines
1.0 KiB
SCSS
53 lines
1.0 KiB
SCSS
.approaches {
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: center;
|
|
width: 100%;
|
|
}
|
|
|
|
.approach {
|
|
display: flex;
|
|
flex-direction: row;
|
|
width: 25%;
|
|
align-items: center;
|
|
|
|
&__label {
|
|
&--span {
|
|
font-family: $primary-serif;
|
|
white-space: nowrap;
|
|
text-transform: uppercase;
|
|
writing-mode: vertical-rl;
|
|
@include rotate(180deg);
|
|
}
|
|
}
|
|
&__value {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border: 5px double transparent;
|
|
border-radius: 50%;
|
|
aspect-ratio: 1 / 1;
|
|
width: 100%;
|
|
|
|
|
|
@media (prefers-color-scheme: light) {
|
|
border-color: $primary-accent-light;
|
|
}
|
|
@media (prefers-color-scheme: dark) {
|
|
border-color: $primary-accent-dark;
|
|
}
|
|
|
|
&--input[type="number"] {
|
|
@include square(100%);
|
|
padding: 0;
|
|
font-size: 4rem;
|
|
@media only screen and (max-width: $large) {
|
|
font-size: 3rem;
|
|
}
|
|
@media only screen and (max-width: $medium) {
|
|
font-size: 2rem;
|
|
}
|
|
}
|
|
}
|
|
}
|