style: Fix styles for dark mode
This commit is contained in:
@@ -40,13 +40,23 @@
|
||||
}
|
||||
|
||||
#details list {
|
||||
background: rgb(from var(--card-bg-color) r g b / 20%);
|
||||
background: rgb(from white r g b / 20%);
|
||||
}
|
||||
|
||||
#background {
|
||||
filter: saturate(300%) opacity(50%);
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
#details list {
|
||||
background: rgb(from white r g b / 10%);
|
||||
}
|
||||
|
||||
#background {
|
||||
filter: saturate(300%) brightness(50%);
|
||||
}
|
||||
}
|
||||
|
||||
@media (prefers-contrast: more) {
|
||||
#grid > child:focus-within:focus-visible #cover {
|
||||
outline: 5px solid var(--accent-color);
|
||||
@@ -59,4 +69,10 @@
|
||||
#background {
|
||||
filter: saturate(300%) opacity(20%);
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
#background {
|
||||
filter: saturate(300%) brightness(25%);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user