Skip to content

Commit

Permalink
schemes and themes
Browse files Browse the repository at this point in the history
  • Loading branch information
catskull committed Jun 8, 2024
1 parent 5ed34bd commit 2538ce2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
7 changes: 6 additions & 1 deletion _sass/main.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
:root {
color-scheme: light dark;
}

h1, h2, h3 {
font-family: ui-rounded;
}
Expand Down Expand Up @@ -43,6 +47,7 @@ footer {
background-color: white;
padding-left: 0.5em;
padding-right: 0.5em;
border-top: 1px solid;

nav > ul{
padding-inline-start: 0;
Expand All @@ -64,7 +69,7 @@ footer {

#posts {
max-width: 42%;
margin: 0 auto;
margin: 0 auto 2em;

img {
max-width: 100%;
Expand Down
4 changes: 2 additions & 2 deletions _sass/theme.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@media (prefers-color-scheme: dark) {
body {
body, footer {
background: hsl(120, 2%, 9%);
color: rgb(215, 215, 216);
}
Expand All @@ -11,4 +11,4 @@
color: inherit;
}

}
}

0 comments on commit 2538ce2

Please sign in to comment.