Define colors for light/default mode as well.

The background is not always white by default (e.g. when in an iframe), so it needs to be defined or text may become invisible (just had this problem today). I've taken the opportunity to make it slightly less bright as well.
This commit is contained in:
L. Kärkkäinen 2023-01-28 23:36:42 +00:00 committed by GitHub
parent f30f53f67d
commit 4f000ab59c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,6 +22,7 @@ class BasePage(ABC):
#logo { height: 2.75rem; padding: 0.25rem 0; }
table { width: 100%; max-width: 1200px; }
span.icon { margin-right: 1rem; }
html { background: #eee; color: #000; }
@media (prefers-color-scheme: dark) {
html { background: #111; color: #ccc; }
}