asi-calculator/components/Result.module.css

47 lines
786 B
CSS
Raw Normal View History

2024-03-29 21:37:30 +01:00
.result {
margin-bottom: 1rem;
}
2024-03-29 22:54:07 +01:00
.result:last-child {
margin-bottom: 0;
}
2024-03-30 02:03:43 +01:00
.conversion {
padding-left: calc(24px + 0.5rem);
}
.logo {
margin-right: 0.5rem;
margin-top: -0.2rem;
vertical-align: middle;
display: inline-flex;
align-items: center;
justify-content: center;
width: 24px;
height: 24px;
border-radius: 50%;
background-color: rgba(var(--foreground-rgb), 0.5);
}
.logo img {
width: 23px;
height: 23px;
border-radius: 50%;
filter: grayscale(1);
}
.logo[data-symbol='AGIX'] img {
2024-03-30 02:28:48 +01:00
filter: invert(1) grayscale(1) contrast(1.5);
2024-03-30 02:03:43 +01:00
}
@media (prefers-color-scheme: dark) {
.logo[data-symbol='OCEAN'] img,
.logo[data-symbol='FET'] img {
filter: invert(1) grayscale(1);
}
.logo[data-symbol='AGIX'] img {
filter: grayscale(1);
}
2024-03-29 21:37:30 +01:00
}