Adjust nav styling
This commit is contained in:
parent
d3434207f1
commit
2a890a682a
|
@ -9,7 +9,7 @@
|
||||||
<nav class="w-3/4 text-right">
|
<nav class="w-3/4 text-right">
|
||||||
{% for link in site.nav_links %}
|
{% for link in site.nav_links %}
|
||||||
<a href="{{ link.href }}"
|
<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 -}}
|
{{- link.title -}}
|
||||||
</a>
|
</a>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
|
@ -176,6 +176,7 @@ module.exports = {
|
||||||
default: '1px',
|
default: '1px',
|
||||||
'0': '0',
|
'0': '0',
|
||||||
'2': '2px',
|
'2': '2px',
|
||||||
|
'3': '3px',
|
||||||
'4': '4px',
|
'4': '4px',
|
||||||
'8': '8px',
|
'8': '8px',
|
||||||
},
|
},
|
||||||
|
|
Reference in a new issue