{{ content.caretakers.title }}
{{ content.caretakers.description }}
{{ content.board.title }}
{{ content.board.description }}
diff --git a/_src/_assets/js/ipdb.js b/_src/_assets/js/ipdb.js index 1cfba22..1f187ec 100644 --- a/_src/_assets/js/ipdb.js +++ b/_src/_assets/js/ipdb.js @@ -1,4 +1,8 @@ +// =include _dnt.js +// =include smooth-scroll/dist/js/smooth-scroll.js -/* eslint-disable */ - -//=include _dnt.js +document.addEventListener('DOMContentLoaded', () => { + const scroll = new SmoothScroll('a[data-scroll]', { + easing: 'easeOutQuint' + }) +}) diff --git a/_src/_assets/scss/_menus.scss b/_src/_assets/scss/_menus.scss index e054278..7a7c506 100644 --- a/_src/_assets/scss/_menus.scss +++ b/_src/_assets/scss/_menus.scss @@ -73,6 +73,28 @@ } } +.menu-overflow { + // yummy scrolling + white-space: nowrap; + overflow-x: auto; + -webkit-overflow-scrolling: touch; + margin-left: -$spacer; + margin-right: -$spacer; + padding-left: $spacer; + padding-right: $spacer; + text-align: center; + + &::-webkit-scrollbar { display: none; } + + @media ($screen-md) { + margin: 0; + padding: 0; + white-space: normal; + overflow: visible; + text-align: left; + } +} + .menu--main { background: $brand-05; @@ -100,6 +122,12 @@ .button { margin-left: $spacer; } + + .menu-overflow { + @media ($screen-md) { + text-align: right; + } + } } @@ -108,25 +136,25 @@ padding-bottom: $spacer * 2; } +.menu--sub { + padding: 0; +} -.menu-overflow { - // yummy scrolling - white-space: nowrap; - overflow-x: auto; - -webkit-overflow-scrolling: touch; - margin-left: -$spacer; - margin-right: -$spacer; - padding-left: $spacer; - padding-right: $spacer; - text-align: center; +.menu--foundation { + margin-top: $spacer * 2; + margin-bottom: 0; - &::-webkit-scrollbar { display: none; } + &:before { + display: none; + } - @media ($screen-md) { - margin: 0; - padding: 0; - white-space: normal; - overflow: visible; - text-align: right; + .menu__link { + &:first-child { + margin-left: -$spacer; + } + + &:last-child { + margin-right: -$spacer; + } } } diff --git a/_src/_assets/scss/page-foundation.scss b/_src/_assets/scss/page-foundation.scss index 6c34896..b28e013 100644 --- a/_src/_assets/scss/page-foundation.scss +++ b/_src/_assets/scss/page-foundation.scss @@ -1,5 +1,12 @@ @import 'variables'; +.section--intro { + .section__header, + .grid { + margin-bottom: 0; + } +} + .feature { padding-left: 5rem; position: relative; diff --git a/_src/_includes/header.html b/_src/_includes/header.html index 12eba49..e8301a6 100644 --- a/_src/_includes/header.html +++ b/_src/_includes/header.html @@ -7,4 +7,8 @@
{{ content.caretakers.description }}
{{ content.board.description }}