Skip to content

Commit

Permalink
linear gradient background for frontmatter and appendix
Browse files Browse the repository at this point in the history
  • Loading branch information
yihui committed Dec 4, 2024
1 parent 6d2a70b commit 7594d81
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions css/site.css
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,9 @@ nav a:hover {
box-shadow: none;
margin-top: auto;
}
.frontmatter, .appendix {
border: 1px dotted;
}
.frontmatter {
border-bottom: none;
background: linear-gradient(0, white, aliceblue);
}
.appendix {
border-top: none;
.body ~ .appendix {
background: linear-gradient(0, whitesmoke, white);
}

0 comments on commit 7594d81

Please sign in to comment.