Swipebox, Hero Area, Navigation, Font
- replaced Lightbox with Swipebox for better responsiveness - fixed navigation brand alignment - changed hero area appearance and improved responsiveness - added missing lato font
This commit is contained in:
1 parent
d7517b170a
commit
585dac8cb2
22 files changed
+107
-295
No files matched your search
+47
-51
@@ -1,59 +1,55 @@
|
||||
<!-- Nav Menu Section -->
|
||||
<div class="logo-menu">
|
||||
<nav class="navbar navbar-default navbar-fixed-top affix" role="navigation" {% if page.section-type == "index" %} data-spy="affix" {% endif %} data-offset-top="50">
|
||||
<div class="container">
|
||||
<!-- Brand and toggle get grouped for better mobile display -->
|
||||
<div class="navbar-header col-md-3">
|
||||
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar">
|
||||
<div class="logo-menu">
|
||||
<nav class="navbar navbar-default navbar-fixed-top affix" role="navigation" {% if page.section-type=="index" %} data-spy="affix" {% endif %} data-offset-top="50">
|
||||
<div class="container">
|
||||
<!-- Brand and toggle get grouped for better mobile display -->
|
||||
<div class="navbar-header col-md-3">
|
||||
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar">
|
||||
<span class="sr-only">Toggle navigation</span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
</button>
|
||||
{% if page.section-type == "index" %}
|
||||
<a class="navbar-brand" href="#hero-area">
|
||||
{% else %}
|
||||
<a class="navbar-brand" href="{{site.baseurl}}/">
|
||||
</button>
|
||||
{% if page.section-type == "index" %}
|
||||
<a class="navbar-brand" href="#hero-area">
|
||||
{% else %}
|
||||
<a class="navbar-brand" href="{{site.baseurl}}/">
|
||||
{% endif %}
|
||||
{% if site.faviconPng %}
|
||||
<img class="faviconPng" src="{{site.baseurl}}{{ site.faviconPng }}" alt="">
|
||||
{% endif %}
|
||||
<div>
|
||||
{% if site.faviconPng %}
|
||||
<img class="faviconPng" src="{{site.baseurl}}{{ site.faviconPng }}" alt="">
|
||||
{% endif %}
|
||||
{{ site.title }}
|
||||
</div>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="collapse navbar-collapse" id="navbar">
|
||||
<ul class="nav navbar-nav navbar-right">
|
||||
{% if page.section-type == "index" %}
|
||||
|
||||
<!-- Scroll to section for each page in index -->
|
||||
{% for p in site.pages_list %}
|
||||
<li>
|
||||
<a href="#{{ p[1] }}"> {{p[0]}} </a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
|
||||
{% else %}
|
||||
<!-- Blog, Post, Tag and Error pages -->
|
||||
{% for p in site.pages_list %}
|
||||
<li>
|
||||
{% if p[1] == "latest-post" %}
|
||||
{% if page.url == "/blog/index.html" | prepend: {{site.baseurl}} %}
|
||||
<a href="#page"> {{p[0]}} </a>
|
||||
{% else %}
|
||||
<a href="{{site.baseurl}}/blog/"> {{p[0]}} </a>
|
||||
{% endif %}
|
||||
{% else %}
|
||||
<a href="{{site.baseurl}}/#{{ p[1] }}"> {{p[0]}} </a>
|
||||
{% endif %}
|
||||
</li>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
</ul>
|
||||
</div>
|
||||
{{ site.title }}
|
||||
</a>
|
||||
</div>
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
<div class="collapse navbar-collapse" id="navbar">
|
||||
<ul class="nav navbar-nav navbar-right">
|
||||
{% if page.section-type == "index" %}
|
||||
<!-- Scroll to section for each page in index -->
|
||||
{% for p in site.pages_list %}
|
||||
<li>
|
||||
<a href="#{{ p[1] }}"> {{p[0]}} </a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
{% else %}
|
||||
<!-- Blog, Post, Tag and Error pages -->
|
||||
{% for p in site.pages_list %}
|
||||
<li>
|
||||
{% if p[1] == "latest-post" %}
|
||||
{% if page.url == "/blog/index.html" | prepend: {{site.baseurl}} %}
|
||||
<a href="#page"> {{p[0]}} </a>
|
||||
{% else %}
|
||||
<a href="{{site.baseurl}}/blog/"> {{p[0]}} </a>
|
||||
{% endif %}
|
||||
{% else %}
|
||||
<a href="{{site.baseurl}}/#{{ p[1] }}"> {{p[0]}} </a>
|
||||
{% endif %}
|
||||
</li>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
</div>
|
||||
<!-- Nav Menu Section End -->
|
||||
Reference in new issue
Block a user