Skip to content

Commit

Permalink
website/style.css: Set default colors explicitly.
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaq committed Mar 27, 2024
1 parent 369d8ad commit fa43bb3
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion website/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,14 @@ body.has-js .no-js, body.no-js .has-js {
display: none !important;
}

.dark {
/* Firefox allows the user to specify colors in the UA stylesheet, so set them
explicitly. */
body {
color: black;
background: white;
}

body.dark {
color: #eee;
background: black;
}
Expand Down

0 comments on commit fa43bb3

Please sign in to comment.