Improve navbar
This commit is contained in:
parent
16a384eedc
commit
a9634ba634
1 changed files with 3 additions and 4 deletions
|
@ -15,7 +15,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<nav class="navbar navbar-expand-lg" style="background-image: linear-gradient(rgba(0, 0, 0, 0.6), 8%, {{ config.extra.primary_color }}, white);">
|
<nav class="navbar navbar-expand-lg" style="background-image: linear-gradient({{ config.extra.primary_color }}, 25%, white);">
|
||||||
<div class="container-xxl">
|
<div class="container-xxl">
|
||||||
<a class="navbar-brand grow-on-hover" href="/">
|
<a class="navbar-brand grow-on-hover" href="/">
|
||||||
<!-- Use heigher resize_height for better resolution -->
|
<!-- Use heigher resize_height for better resolution -->
|
||||||
|
@ -47,15 +47,14 @@
|
||||||
<div class="collapse navbar-collapse" id="navbarNav">
|
<div class="collapse navbar-collapse" id="navbarNav">
|
||||||
<ul class="navbar-nav">
|
<ul class="navbar-nav">
|
||||||
{% for menu_item in config.extra.menu_items %}
|
{% for menu_item in config.extra.menu_items %}
|
||||||
<!-- Single item, not a category -->
|
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a
|
<a
|
||||||
class="nav-link"
|
class="nav-link"
|
||||||
href="{{ menu_item.url }}"
|
href="{{ menu_item.url }}"
|
||||||
>
|
>
|
||||||
<span class="underline-on-hover" style="color: {{ config.extra.secondary_color }}; font-size: 17px;">
|
<button class="btn btn-outline-success" type="button">
|
||||||
{{ menu_item.name }}
|
{{ menu_item.name }}
|
||||||
</span>
|
</button>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
Loading…
Reference in a new issue