Skip to content

Commit

Permalink
Fix dark mode
Browse files Browse the repository at this point in the history
  • Loading branch information
parpok committed Jul 10, 2024
1 parent 34a6783 commit 6336c6a
Showing 1 changed file with 38 additions and 12 deletions.
50 changes: 38 additions & 12 deletions style.css
Original file line number Diff line number Diff line change
@@ -1,20 +1,46 @@
body {
font-family:
system-ui,
-apple-system,
BlinkMacSystemFont,
"Segoe UI",
Roboto,
Oxygen,
Ubuntu,
Cantarell,
"Open Sans",
"Helvetica Neue",
sans-serif;
font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
display: flex;
flex-direction: column;
}

@media (prefers-color-scheme: light) {
body {
background-color: white;
color: black;
border-color: black;
}

nav a:link {
color: black;
text-decoration: none;
}

nav a:visited {
color: black;
text-decoration: none;
}
}

@media (prefers-color-scheme: dark) {
body {
background-color: black;
color: white;
border-color: white;
}

nav a:link {
color: white;
text-decoration: none;
}

nav a:visited {
color: white;
text-decoration: none;
}
}

.container {
display: flex;
flex-direction: column;
Expand Down

0 comments on commit 6336c6a

Please sign in to comment.