Skip to content

Instantly share code, notes, and snippets.

@yuntan
Created August 3, 2019 01:33
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yuntan/d36351ce0b35365c30421df665490a1f to your computer and use it in GitHub Desktop.
Save yuntan/d36351ce0b35365c30421df665490a1f to your computer and use it in GitHub Desktop.
writefreely dark mode compatible Custom CSS
@media (prefers-color-scheme: dark) {
body {
background-color: #181a1b;
color: rgb(202, 198, 190);
}
#blog-title a {
color: rgb(214, 211, 205);
}
.post-title a:link, .post-title a:visited {
color: rgb(214, 211, 205);
}
#wrapper h1, #wrapper h2, #wrapper h3 {
color: rgb(214, 211, 205);
}
.hashtag {
color: rgb(110, 155, 244);
}
article a {
color: rgb(110, 155, 244);
}
#collection article code, #post article code, #subpage article code {
background-color: #333;
border-color: #666;
}
body footer nav {
color: #888;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment