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 2474a24 commit 44ce329
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
}

.sect1:before,
.sect2:before,
.sect3:before,
.sect4:before,
.sect5:before,
.sect6: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 44ce329

Please sign in to comment.