Skip to content

Commit

Permalink
Ensure headings are fully visible
Browse files Browse the repository at this point in the history
when using page URL with anchor
  • Loading branch information
lslezak committed Nov 7, 2024
1 parent 7fa8770 commit f8a51ba
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions _sass/custom/_post.scss
Original file line number Diff line number Diff line change
Expand Up @@ -24,18 +24,21 @@
margin-bottom: $spacing-unit;
h2 {
font-size: 32px;
scroll-margin-top: 80px;
@media (max-width: $screen-md-min) {
font-size: 28px;
}
}
h3 {
font-size: 26px;
scroll-margin-top: 80px;
@media (max-width: $screen-md-min) {
font-size: 22px;
}
}
h4 {
font-size: 20px;
scroll-margin-top: 75px;
@media (max-width: $screen-md-min) {
font-size: 18px;
}
Expand Down

0 comments on commit f8a51ba

Please sign in to comment.