Skip to content
Snippets Groups Projects
Commit b452f3d4 authored by Uwe Jandt (DESY, HIFIS)'s avatar Uwe Jandt (DESY, HIFIS)
Browse files

Merge branch '5-fix-sizing-of-header-navbar-on-some-screen-sizes' into 'master'

Restructure header navbar to fit elements on all screens

Closes #5

See merge request hifis/hifis.net!9
parents 032785e7 0c969dbb
No related branches found
No related tags found
1 merge request!9Restructure header navbar to fit elements on all screens
......@@ -11,37 +11,26 @@
# original Markdown.
header:
- title: Home
url: /
fontawesome_class: "fas fa-home"
- title: News
url: blog/
fontawesome_class: "fas fa-rss"
- title: Services
url: "/"
fontawesome_class: "fas fa-list"
- title: Mission
url: "/"
fontawesome_class: "fas fa-bolt"
- title: Roadmap
url: "/"
fontawesome_class: "fas fa-map-signs"
- title: International
url: "/"
fontawesome_class: "fas fa-globe-europe"
- title: Contact
url: "contact"
fontawesome_class: "fas fa-envelope"
- title: Jobs
url: "/"
fontawesome_class: "fas fa-user"
footer:
- title: Contact
......
......@@ -55,9 +55,11 @@ See also:
{% for entry in site.data.navigation.header %}
<a href="{{ entry.url | relative_url }}" class="btn btn-header">
<span class="navigation-entry">
{% if entry.fontawesome_class %}
<i class="navigation-icon {{ entry.fontawesome_class }}"
title="{{ entry.title }}">
</i>
{% endif %}
<span class="navigation-text">{{ entry.title }}</span>
</span>
</a>
......
......@@ -196,7 +196,7 @@
}
}
@include medium-is-phone {
@include medium-is-tablet-minus {
.header{
.nav_toggle {
display: block;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment