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 %}
|
{% if page.navbar_branding or page.navbar_social or page.primary_menu %}
|
||||||
{# Top navbar #}
|
{# Top navbar #}
|
||||||
<div class="is-fixed">
|
<div class="is-fixed">
|
||||||
<nav class="navbar" id="navbar">
|
<nav class="navbar" id="navbar">
|
||||||
<div class="navbar-brand">
|
<div class="navbar-brand">
|
||||||
{% if page.navbar_branding %}
|
{% if page.navbar_branding %}
|
||||||
{# TODO: remove this link if is_front and *probably* add visually-hidden h1
|
{# 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
|
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. #}
|
name in an h1 on the front page in some other way. #}
|
||||||
<a href="{{ front_page }}" title="{{ 'Home'|t }}" rel="home" class="navbar-item">
|
<a href="{{ front_page }}" title="{{ 'Home'|t }}" rel="home" class="navbar-item">
|
||||||
{{ page.navbar_branding }}
|
{{ page.navbar_branding }}
|
||||||
</a>
|
</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<div id="js-navbar-burger" class="navbar-burger burger" data-target="navbar-menu">
|
<div class="navbar-burger burger" data-target="navbar-menu">
|
||||||
<span></span>
|
<span></span>
|
||||||
<span></span>
|
<span></span>
|
||||||
<span></span>
|
<span></span>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
<div id="navbar-menu" class="navbar-menu">
|
||||||
<div id="js-navbar-menu" class="navbar-menu">
|
{% if page.navbar_social %}
|
||||||
{% if page.navbar_social %}
|
<div class="navbar-start">
|
||||||
<div class="navbar-start">
|
{{ page.navbar_social }}
|
||||||
{{ page.navbar_social }}
|
</div>
|
||||||
|
{% endif %}
|
||||||
|
{% if page.primary_menu %}
|
||||||
|
{{ page.primary_menu }}
|
||||||
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
</nav>
|
||||||
{% if page.primary_menu %}
|
|
||||||
{{ page.primary_menu }}
|
|
||||||
{% endif %}
|
|
||||||
</div>
|
|
||||||
</nav>
|
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endblock navbar %}
|
{% endblock navbar %}
|
||||||
|
|
Loading…
Reference in a new issue