Skip to content

Commit

Permalink
Merge pull request #17 from Ryuno-Ki/40-add-padding-if-navbar-is-visible
Browse files Browse the repository at this point in the history
Add some padding if navbar is displayed. Fixes Sabayon/sabayon-websit-next#40
  • Loading branch information
Ryuno-Ki authored Jan 5, 2017
2 parents bdfbc28 + 8389d6b commit bb1c658
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions static/css/common.css
Original file line number Diff line number Diff line change
Expand Up @@ -355,3 +355,7 @@ img[src="https://joostruis.files.wordpress.com/2015/09/plasma_sab.png?w=582&h=21
.headroom--unpinned {
transform: translateY(-100%);
}

.headroom--pinned + .container {
padding-top: 70px; /* min-height of .navbar + a bit spacing */
}

0 comments on commit bb1c658

Please sign in to comment.