mirror of
https://github.com/kremalicious/asi-calculator.git
synced 2024-12-22 17:33:18 +01:00
34 lines
535 B
CSS
34 lines
535 B
CSS
.change {
|
|
font-size: 0.7rem;
|
|
|
|
--color-positive: #3d9970;
|
|
--color-negative: #ff4136;
|
|
}
|
|
|
|
/* culture-sensitive color psychology */
|
|
.change[data-locale|='zh'],
|
|
.change[data-locale|='ja'] {
|
|
--color-positive: #ff4136;
|
|
--color-negative: #3d9970;
|
|
}
|
|
|
|
.change[data-locale|='ko'] {
|
|
--color-positive: #0074d9;
|
|
--color-negative: #3d9970;
|
|
}
|
|
|
|
.change svg {
|
|
position: relative;
|
|
top: 0.15rem;
|
|
width: 13px;
|
|
height: 13px;
|
|
}
|
|
|
|
.change.positive {
|
|
color: var(--color-positive);
|
|
}
|
|
|
|
.change.negative {
|
|
color: var(--color-negative);
|
|
}
|