Skip to content

Commit

Permalink
Fixed navbar toggle icon to be visible
Browse files Browse the repository at this point in the history
Signed-off-by: thisisobate <obasiuche62@gmail.com>
  • Loading branch information
thisisobate committed Jun 23, 2020
1 parent e5d1cc7 commit 6c2d9bf
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 7 deletions.
16 changes: 9 additions & 7 deletions website/layouts/_default/baseof.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@
<a href="{{ "/" | relURL }}" class="navbar-brand"><img src="{{ "/icon-dark.png" | relURL }}" alt="Thanos logo" /> Thanos</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent"
aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
<span class="hamburger">
<i class="fa fa-bars" aria-hidden="true"></i>
</span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav ml-auto">
Expand Down Expand Up @@ -95,14 +97,14 @@ <h6 class="font-weight-bold">About</h6>
</div>
</div>
</footer>
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js"
integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo"
<script nonce="93HDK8392dfjh4Gb" src="https://code.jquery.com/jquery-3.5.1.slim.min.js"
integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj"
crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.6/umd/popper.min.js"
integrity="sha384-wHAiFfRlMFy6i5SRaxvfOCifBUQy1xHdJ/yoi7FRNXMRBu5WHdZYu1hA6ZOblgut"
<script nonce="93HDK8392dfjh4Gb" src="https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js"
integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo"
crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.2.1/js/bootstrap.min.js"
integrity="sha384-B0UglyR+jN6CkvvICOB2joaf5I4l3gm9GU6Hc1og6Ls7i6U/mkkaduKaBhlAXv9k"
<script nonce="93HDK8392dfjh4Gb" src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/js/bootstrap.min.js"
integrity="sha384-OgVRvuATP1z7JjHLkuOU7Xw704+h835Lr+6QL9UvYjZE3Ipu6Tp75j7Bh/kR0JKI"
crossorigin="anonymous"></script>

{{ if eq ( getenv "HUGO_ENV" ) "production" }}
Expand Down
8 changes: 8 additions & 0 deletions website/static/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -155,4 +155,12 @@ input[type="search"]::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
top: 0px;
left: 1%;
}

/* navbar toggle icon */
.fa-bars{
display: inline-block;
height: 1em;
vertical-align: middle;
width: 1em;
}
}

0 comments on commit 6c2d9bf

Please sign in to comment.