summaryrefslogtreecommitdiffstats
path: root/source/_includes/header.html
diff options
context:
space:
mode:
Diffstat (limited to 'source/_includes/header.html')
-rw-r--r--source/_includes/header.html33
1 files changed, 24 insertions, 9 deletions
diff --git a/source/_includes/header.html b/source/_includes/header.html
index e5026c2..0dba635 100644
--- a/source/_includes/header.html
+++ b/source/_includes/header.html
@@ -1,11 +1,22 @@
-<h1 class="left"><a href="{{ root_url }}/">{{ site.title }}</a></h1>
-<nav class="menu left">{% include navigation.html %}</nav>
-<div class="right">
- <form class="search right" action="{{ site.simple_search }}" method="get">
- <input class="left" type="text" name="q" results="0">
- <input type="hidden" name="q" value="site:{{ site.url | shorthand_url }}">
- </form>
- <div class="social right">
+<h1><a href="{{ root_url }}/">{{ site.title }}</a></h1>
+<nav id="main-nav">{% include navigation.html %}</nav>
+<nav id="mobile-nav">
+ <div class="alignleft menu">
+ <a class="button">Menu</a>
+ <div class="container">{% include navigation.html %}</div>
+ </div>
+ <div class="alignright search">
+ <a class="button"></a>
+ <div class="container">
+ <form action="{{ site.simple_search }}" method="get">
+ <input type="text" name="q" results="0">
+ <input type="hidden" name="q" value="site:{{ site.url | shorthand_url }}">
+ </form>
+ </div>
+ </div>
+</nav>
+<nav id="sub-nav" class="alignright">
+ <div class="social">
{% if site.facebook_user %}
<a class="facebook" href="http://www.facebook.com/{{ site.facebook_user }}" title="Facebook">Facebook</a>
{% endif %}
@@ -31,5 +42,9 @@
<a class="rss" href="{{ site.subscribe_rss }}" title="RSS">RSS</a>
{% endif %}
</div>
-</div>
+ <form class="search" action="{{ site.simple_search }}" method="get">
+ <input class="alignright" type="text" name="q" results="0">
+ <input type="hidden" name="q" value="site:{{ site.url | shorthand_url }}">
+ </form>
+</nav>
{% include custom/header.html %}