Update index.css

main
Crimson Tome 2021-10-17 16:13:30 +01:00 committed by GitHub
parent 0ce407abe0
commit 359e88dc5b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 0 deletions

View File

@ -23,6 +23,15 @@ body {
background-color: var(--white);*/
color: #eee;
background-color: #121212;
/* Dark theme */
@media (prefers-color-scheme: dark) {
body { background: #333; color: #efefef; }
}
/* Light theme */
@media (prefers-color-scheme: light),
(prefers-color-scheme: no-preference) {
body { background: #efefef; color: #333; }
}
}
p:last-child {
margin-bottom: 0;