Skip to content

Commit

Permalink
include navbar offset for h1
Browse files Browse the repository at this point in the history
  • Loading branch information
jjallaire committed Feb 3, 2016
1 parent bc9e7da commit 124d452
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions inst/rmd/h/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,11 @@
padding-bottom: 40px;
}
/* offset scroll position for anchor links (for fixed navbar) */
.section h1 {
padding-top: 55px;
margin-top: -55px;
}

.section h2 {
padding-top: 55px;
margin-top: -55px;
Expand Down

0 comments on commit 124d452

Please sign in to comment.