Add basic dark-mode style.
This commit is contained in:
parent
85e254d75c
commit
612c38711d
@ -1,3 +1,4 @@
|
||||
/* Default theme */
|
||||
/* Node styling */
|
||||
.node {
|
||||
max-width: min(650px, 100ex);
|
||||
@ -88,3 +89,21 @@ article.post {
|
||||
max-width: min(650px, 100ex);
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
/* Dark mode. */
|
||||
@media (prefers-color-scheme: dark) {
|
||||
html {
|
||||
background-color: #0f110e;
|
||||
color: #fafafe;
|
||||
}
|
||||
h2 a {
|
||||
color: #fafafe;
|
||||
}
|
||||
a {
|
||||
color: #aaf;
|
||||
}
|
||||
h1,h2,h3,h4,h5,h6 {
|
||||
margin-top: 0;
|
||||
color: #adbac7;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user