Skip to content

Commit

Permalink
Fix hidden headings behind navigation bar
Browse files Browse the repository at this point in the history
  • Loading branch information
Lennonka committed Nov 14, 2024
1 parent c67e2cc commit 4ad2695
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions web/content/css/_asciidoc.scss
Original file line number Diff line number Diff line change
Expand Up @@ -837,6 +837,20 @@ body.toc2 #header>h1:nth-last-child(2) {
line-height: 1.44
}

h1:before,
h2:before,
h3:before,
h4:before,
h5:before,
h6:before,
div.title:before {
display: block;
content: " ";
height: 90px; /* Height of nav bar */
margin-top: -90px; /* Negative margin of nav bar */
visibility: hidden;
}

.sect1 {
padding-bottom: .625em
}
Expand Down

0 comments on commit 4ad2695

Please sign in to comment.