diff --git a/views/includes/navbar.pug b/views/includes/navbar.pug index 7743162..39a9091 100644 --- a/views/includes/navbar.pug +++ b/views/includes/navbar.pug @@ -3,7 +3,7 @@ mixin navBarLink(href, title) a.is-active.navbar-item(href=href)= title else a.navbar-item(href=href)= title -nav.navbar(role='navigation', aria-label='main navigation') +nav.navbar.is-fixed-top(role='navigation', aria-label='main navigation',style='box-shadow: 0px 0px 7px rgb(14, 15, 17);') .navbar-brand if '/' === req.path a.is-active.navbar-item(href='/') diff --git a/views/layout.pug b/views/layout.pug index 656de71..f7a99a0 100644 --- a/views/layout.pug +++ b/views/layout.pug @@ -25,7 +25,8 @@ html(lang='en') link(rel='stylesheet', href='/css/main.css') body include includes/navbar.pug - div.content#pageContent + div.content.has-navbar-fixed-top#pageContent + div(style='margin-top: 1.5em;') section.section div.container.is-marginless.fullwidth if title