fix navbar and improve spacing

This commit is contained in:
Tom 2023-08-14 15:47:00 +01:00
parent c54950e08f
commit ffa63ffe36
2 changed files with 5 additions and 2 deletions

View File

@ -1,4 +1,4 @@
<nav aria-label="Site Map" class="site-map"></nav>
<nav aria-label="Site Map" class="site-map">
{% for item in site.data.navigation %}
<a href="{{ item.link }}" {% if page.url == item.link %}class="current"{% endif %}>{{ item.name }}</a>
{% endfor %}

View File

@ -79,8 +79,11 @@ header p.professional-links a {
padding-right: 20px;
}
// To squish the text together a bit in the mobile view.
header p {
margin-block: 0.25em;
}
header .avatar {
margin: auto;
}