Add indentation to elements in div
This commit is contained in:
parent
e6c16af9cc
commit
4275c608ea
1 changed files with 25 additions and 25 deletions
|
@ -4,33 +4,33 @@
|
|||
{% if page.navbar_branding or page.navbar_social or page.primary_menu %}
|
||||
{# Top navbar #}
|
||||
<div class="is-fixed">
|
||||
<nav class="navbar" id="navbar">
|
||||
<div class="navbar-brand">
|
||||
{% if page.navbar_branding %}
|
||||
{# TODO: remove this link if is_front and *probably* add visually-hidden h1
|
||||
with "agaric", again only on the front page, and only if we can't put our
|
||||
name in an h1 on the front page in some other way. #}
|
||||
<a href="{{ front_page }}" title="{{ 'Home'|t }}" rel="home" class="navbar-item">
|
||||
{{ page.navbar_branding }}
|
||||
</a>
|
||||
{% endif %}
|
||||
<div id="js-navbar-burger" class="navbar-burger burger" data-target="navbar-menu">
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
<nav class="navbar" id="navbar">
|
||||
<div class="navbar-brand">
|
||||
{% if page.navbar_branding %}
|
||||
{# TODO: remove this link if is_front and *probably* add visually-hidden h1
|
||||
with "agaric", again only on the front page, and only if we can't put our
|
||||
name in an h1 on the front page in some other way. #}
|
||||
<a href="{{ front_page }}" title="{{ 'Home'|t }}" rel="home" class="navbar-item">
|
||||
{{ page.navbar_branding }}
|
||||
</a>
|
||||
{% endif %}
|
||||
<div class="navbar-burger burger" data-target="navbar-menu">
|
||||
<span></span>
|
||||
<span></span>
|
||||
<span></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="js-navbar-menu" class="navbar-menu">
|
||||
{% if page.navbar_social %}
|
||||
<div class="navbar-start">
|
||||
{{ page.navbar_social }}
|
||||
<div id="navbar-menu" class="navbar-menu">
|
||||
{% if page.navbar_social %}
|
||||
<div class="navbar-start">
|
||||
{{ page.navbar_social }}
|
||||
</div>
|
||||
{% endif %}
|
||||
{% if page.primary_menu %}
|
||||
{{ page.primary_menu }}
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endif %}
|
||||
{% if page.primary_menu %}
|
||||
{{ page.primary_menu }}
|
||||
{% endif %}
|
||||
</div>
|
||||
</nav>
|
||||
</nav>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endblock navbar %}
|
||||
|
|
Loading…
Reference in a new issue