navbar fixed
This commit is contained in:
parent
975543b912
commit
3ff5bc99e8
2 changed files with 3 additions and 2 deletions
|
@ -3,7 +3,7 @@ mixin navBarLink(href, title)
|
||||||
a.is-active.navbar-item(href=href)= title
|
a.is-active.navbar-item(href=href)= title
|
||||||
else
|
else
|
||||||
a.navbar-item(href=href)= title
|
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
|
.navbar-brand
|
||||||
if '/' === req.path
|
if '/' === req.path
|
||||||
a.is-active.navbar-item(href='/')
|
a.is-active.navbar-item(href='/')
|
||||||
|
|
|
@ -25,7 +25,8 @@ html(lang='en')
|
||||||
link(rel='stylesheet', href='/css/main.css')
|
link(rel='stylesheet', href='/css/main.css')
|
||||||
body
|
body
|
||||||
include includes/navbar.pug
|
include includes/navbar.pug
|
||||||
div.content#pageContent
|
div.content.has-navbar-fixed-top#pageContent
|
||||||
|
div(style='margin-top: 1.5em;')
|
||||||
section.section
|
section.section
|
||||||
div.container.is-marginless.fullwidth
|
div.container.is-marginless.fullwidth
|
||||||
if title
|
if title
|
||||||
|
|
Loading…
Reference in a new issue