1
0
Fork 0

Improve navbar

This commit is contained in:
Mo 2022-10-29 21:42:08 +02:00
parent 16a384eedc
commit a9634ba634

View file

@ -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 %}