mirror of
https://github.com/kremalicious/asi-calculator.git
synced 2024-12-22 09:23:16 +01:00
26 lines
487 B
CSS
26 lines
487 B
CSS
.input {
|
|
all: unset;
|
|
padding: 0 0.5rem;
|
|
text-align: center;
|
|
border-right: 1px solid rgba(var(--foreground-rgb), 0.15);
|
|
}
|
|
|
|
.input:hover {
|
|
background-color: rgba(var(--background-rgb), 0.1);
|
|
}
|
|
|
|
.input:focus {
|
|
outline: none;
|
|
background-color: rgba(var(--background-rgb), 0.3);
|
|
}
|
|
|
|
@media (prefers-color-scheme: dark) {
|
|
.input:hover {
|
|
background-color: rgba(var(--foreground-rgb), 0.05);
|
|
}
|
|
|
|
.input:focus {
|
|
background-color: rgba(var(--foreground-rgb), 0.2);
|
|
}
|
|
}
|