Skip to content

Commit 79cac7d

Browse files
committed
Make navbar taller
Signed-off-by: lucperkins <[email protected]>
1 parent 6923638 commit 79cac7d

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

assets/sass/style.sass

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,8 @@ $hero-padding: 0
6060
$navbar-height: 4rem
6161
$content-blockquote-background-color: $white-bis
6262
$content-blockquote-border-left: 5px solid $primary
63+
$navbar-height: 5rem
64+
$navbar-item-img-max-height: $navbar-height * 0.7
6365

6466
{{ with $extraColors }}
6567
{{ range . }}

layouts/partials/navbar-menu.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
{{ if .HasChildren }}
77
<div class="navbar-item has-dropdown is-hoverable">
8-
<a class="navbar-link has-text-weight-bold is-arrowless"{{ with .URL }} href="{{ . }}"{{ end }}{{ if $isExternal }} target="_blank"{{ end }}>
8+
<a class="navbar-link is-size-5 has-text-weight-bold is-arrowless"{{ with .URL }} href="{{ . }}"{{ end }}{{ if $isExternal }} target="_blank"{{ end }}>
99
{{ .Name }}
1010
</a>
1111

@@ -26,7 +26,7 @@
2626
</div>
2727
</div>
2828
{{ else }}
29-
<a class="navbar-item has-text-weight-bold{{ if $isHere }} is-active{{ end }}" href="{{ .URL }}"{{ if $isExternal }} target="_blank"{{ end }}>
29+
<a class="navbar-item is-size-5 has-text-weight-bold{{ if $isHere }} is-active{{ end }}" href="{{ .URL }}"{{ if $isExternal }} target="_blank"{{ end }}>
3030
{{ .Name }}
3131
</a>
3232
{{ end }}

0 commit comments

Comments
 (0)