Skip to content

Commit

Permalink
better dark mode support
Browse files Browse the repository at this point in the history
  • Loading branch information
brendanny committed Jan 22, 2025
1 parent 996fe42 commit 5fe544c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/css/core.css
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,18 @@ body > *{
}

header{
align-items: center;
background-color: #eeeeee;
margin-top: 1em;
padding: 8px;
text-transform: lowercase;
}

@media (prefers-color-scheme: dark) {
header {
background-color: #333333; /* Change to your desired dark mode color */
}
}

nav ul{
display: flex;
justify-content: space-between;
Expand Down

0 comments on commit 5fe544c

Please sign in to comment.