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:
@@ -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; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user