Merge pull request #3 from j-selby/master

Fix incorrect styling for burger, positioning of navbar
This commit is contained in:
Flame Sage 2018-01-13 22:38:34 -05:00 committed by GitHub
commit 8041b16821
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 7 deletions

View file

@ -1,12 +1,14 @@
<section id="homepage-hero" class="hero is-primary is-bold">
<div class="hero-head">
<!-- is-dark / is-light is set by hero.js for the homepage hero -->
<nav id="hero-navbar" class="navbar is-size-6 is-fixed-top" role="navigation" aria-label="main navigation">
{{ partial "layout/navbar_contents" . }}
</nav>
</div>
<div class="hero-body">
<section class="section">
<div class="container">
<!-- is-dark / is-light is set by hero.js for the homepage hero -->
<nav id="hero-navbar" class="navbar is-size-6 is-fixed-top" role="navigation" aria-label="main navigation">
{{ partial "layout/navbar_contents" . }}
</nav>
<div class="columns">
<!-- Left panel -->
<div class="column is-centered-vertically is-5">

View file

@ -4,11 +4,11 @@
<img class="navbar-logo" src="{{ .Site.BaseURL }}/images/menu.svg" alt="{{ .Site.Title }} {{ .Site.Params.Tagline }}">
</a>
<button class="button navbar-burger" data-target="navMenu">
<div class="burger navbar-burger" data-target="navMenu">
<span></span>
<span></span>
<span></span>
</button>
</div>
</div>
<div class="navbar-menu" id="navMenu">
<div class="navbar-start">