mirror of
https://github.com/kremalicious/asi-calculator.git
synced 2024-12-22 17:33:18 +01:00
selection styles
This commit is contained in:
parent
837e24ce52
commit
6c7427590c
@ -8,6 +8,7 @@
|
|||||||
height: 24px;
|
height: 24px;
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
background-color: rgba(var(--foreground-rgb), 0.5);
|
background-color: rgba(var(--foreground-rgb), 0.5);
|
||||||
|
user-select: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.logo img {
|
.logo img {
|
||||||
|
@ -14,6 +14,12 @@ body {
|
|||||||
text-rendering: optimizeLegibility;
|
text-rendering: optimizeLegibility;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media (prefers-color-scheme: dark) {
|
||||||
|
html {
|
||||||
|
color-scheme: dark;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
color: rgb(var(--foreground-rgb));
|
color: rgb(var(--foreground-rgb));
|
||||||
background: var(--background-gradient) rgb(var(--background-rgb));
|
background: var(--background-gradient) rgb(var(--background-rgb));
|
||||||
@ -35,8 +41,7 @@ ul {
|
|||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (prefers-color-scheme: dark) {
|
::selection {
|
||||||
html {
|
background: rgb(var(--foreground-rgb-highlight));
|
||||||
color-scheme: dark;
|
color: rgb(var(--background-rgb));
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user