Fixed styling for dark-mode
All checks were successful
/ publish (push) Successful in 49s

This commit is contained in:
Leon Mika 2025-09-27 13:32:13 +10:00
parent f53aad9a94
commit 35270f72ca
2 changed files with 22 additions and 2 deletions

View file

@ -1,3 +1,13 @@
:root {
--exact-match-color: rgb(237, 201, 241); /* Purple 150 */
}
@media (prefers-color-scheme: dark) {
:root {
--exact-match-color: rgb(111, 39, 125); /* Purple 700 */
}
}
table#country-list {
table-layout: fixed;
}
@ -11,5 +21,5 @@ table#country-list tr.hidden {
}
table#country-list tr.exact td {
background-color: rgb(237, 201, 241);
background-color: var(--exact-match-color);
}