aboutsummaryrefslogtreecommitdiff
path: root/themes/hugo-pt2021/layouts/partials/header.html
diff options
context:
space:
mode:
Diffstat (limited to 'themes/hugo-pt2021/layouts/partials/header.html')
-rw-r--r--themes/hugo-pt2021/layouts/partials/header.html8
1 files changed, 5 insertions, 3 deletions
diff --git a/themes/hugo-pt2021/layouts/partials/header.html b/themes/hugo-pt2021/layouts/partials/header.html
index 20abe46..cdeebb9 100644
--- a/themes/hugo-pt2021/layouts/partials/header.html
+++ b/themes/hugo-pt2021/layouts/partials/header.html
@@ -30,7 +30,7 @@
</a>
</div>
- <div id='page-menu' class='navbar-menu'>
+ <div id='page-menu' class='navbar-menu is-black'>
<div class='navbar-start'>
{{- range $.Site.Data.menu.start -}}
<a
@@ -68,7 +68,7 @@
{{- if .icon -}}
<img
src='{{.icon}}'
- class='menu-icon'
+ class='menu-icon is-hidden-touch'
width='{{$icon_width}}'
height='{{$icon_height}}'
title='{{.help}}'
@@ -77,7 +77,9 @@
{{- end -}}
{{- if .name -}}
- {{- .name -}}
+ <span class='is-hidden-desktop'>
+ {{- .name -}}
+ </span>
{{- end -}}
</a><!-- navbar-item -->
{{- end -}}