Adjust nav styling

This commit is contained in:
Oliver Davies 2017-11-19 20:55:11 +00:00
parent d3434207f1
commit 2a890a682a
2 changed files with 2 additions and 1 deletions

View file

@ -9,7 +9,7 @@
<nav class="w-3/4 text-right">
{% for link in site.nav_links %}
<a href="{{ link.href }}"
class="inline-block py-4 ml-4 {{ page.url matches '#^' ~ (link.pattern ?: link.href) ~ '/?#' ? 'border-b-2 border-blue' }}">
class="inline-block pt-4 pb-3 ml-3 {{ page.url matches '#^' ~ (link.pattern ?: link.href) ~ '/?#' ? 'border-b-3 border-blue' }}">
{{- link.title -}}
</a>
{% endfor %}

View file

@ -176,6 +176,7 @@ module.exports = {
default: '1px',
'0': '0',
'2': '2px',
'3': '3px',
'4': '4px',
'8': '8px',
},