Skip to content

Commit

Permalink
add basic support for Dark Theme (tm)
Browse files Browse the repository at this point in the history
  • Loading branch information
stebunovd committed Jan 6, 2024
1 parent 225f914 commit 354d64a
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions static/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ html {

body {
-webkit-font-smoothing: antialiased;
background-color: #fff;
color: rgb(36, 36, 36);
font-family: source-serif-pro, Georgia, Cambria, "Times New Roman", Times, serif;
font-size: 20px;
Expand Down Expand Up @@ -99,3 +100,14 @@ img {
font-style: italic;
margin: 15px 0 40px;
}

@media (prefers-color-scheme: dark) {
body {
background-color: #000;
color: rgb(219, 219, 219);
}

a.anchor:hover:after {
color: rgb(110, 110, 110);
}
}

0 comments on commit 354d64a

Please sign in to comment.