Skip to content

Commit

Permalink
css: fix first heading
Browse files Browse the repository at this point in the history
  • Loading branch information
sator-imaging authored Jan 10, 2024
1 parent ade0b50 commit bf96f59
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .docfx/template/public/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,11 @@ article h2 {
margin-top: 3rem;
}

article h1:first-child,
article h2:first-child {
margin-top: 0;
}

article h1+h2 {
margin-top: 1rem;
}
Expand Down

0 comments on commit bf96f59

Please sign in to comment.