Skip to content

Commit

Permalink
Renew footnote style.
Browse files Browse the repository at this point in the history
  • Loading branch information
Wenti-D committed Jun 9, 2024
1 parent 1c54f53 commit 5f763e4
Showing 1 changed file with 13 additions and 8 deletions.
21 changes: 13 additions & 8 deletions themes/hugo-book/assets/_custom.scss
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,17 @@ img[src$='#floatright'] {
font-family: 'Roboto Mono', monospace;
}

.footnotes::before {
content: "注释";
display: block;
font-size: 1.5em;
font-weight: 600;
line-height: 1;
margin-top: 1.5em;
margin-bottom: 1rem;
.footnotes {
hr {
margin-top: 2em;
margin-bottom: 4em;
}

hr::after {
content: "注释";
display: block;
font-size: 1.5em;
font-weight: 600;
padding-top: 0.5em;
}
}

0 comments on commit 5f763e4

Please sign in to comment.