Skip to content

Commit

Permalink
Reduce duplicate selectors
Browse files Browse the repository at this point in the history
  • Loading branch information
huangsam committed Oct 1, 2024
1 parent eaf3fc3 commit 5d87940
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions src/routes/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ footer {
/* Support sticky footer */
flex-grow: 0;
flex-shrink: 0;
/* Apply header and footer colors */
background-color: black;
color: white;
}

main {
Expand Down Expand Up @@ -76,13 +79,6 @@ html {
}
}

header,
footer {
/* Apply header and footer colors */
background-color: black;
color: white;
}

header a {
/* Apply header link color */
color: white;
Expand Down

0 comments on commit 5d87940

Please sign in to comment.