Add scroll reveal

This commit is contained in:
Jeremy Thomas
2017-10-26 19:47:48 +01:00
parent befa6b68b0
commit 74c413c378
14 changed files with 232 additions and 65 deletions

View File

@@ -222,6 +222,12 @@ a.navbar-link
box-shadow: 0 -2px 3px rgba($black, 0.1)
&.is-fixed-top-touch
top: 0
&.is-fixed-top,
&.is-fixed-top-touch
.navbar-menu
+overflow-touch
max-height: calc(100vh - #{$navbar-height})
overflow: auto
html.has-navbar-fixed-top-touch
padding-top: $navbar-height
html.has-navbar-fixed-bottom-touch