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"> <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"> <div class="hero-body">
<section class="section"> <section class="section">
<div class="container"> <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"> <div class="columns">
<!-- Left panel --> <!-- Left panel -->
<div class="column is-centered-vertically is-5"> <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 }}"> <img class="navbar-logo" src="{{ .Site.BaseURL }}/images/menu.svg" alt="{{ .Site.Title }} {{ .Site.Params.Tagline }}">
</a> </a>
<button class="button navbar-burger" data-target="navMenu"> <div class="burger navbar-burger" data-target="navMenu">
<span></span> <span></span>
<span></span> <span></span>
<span></span> <span></span>
</button> </div>
</div> </div>
<div class="navbar-menu" id="navMenu"> <div class="navbar-menu" id="navMenu">
<div class="navbar-start"> <div class="navbar-start">