diff options
author | Harald Eilertsen <haraldei@anduin.net> | 2017-03-10 19:26:11 +0100 |
---|---|---|
committer | Harald Eilertsen <haraldei@anduin.net> | 2017-03-10 19:26:11 +0100 |
commit | 0cb9284d51b16d192f42e2d2a4c12a2911668b2e (patch) | |
tree | 365ca4077c408c45da535cacd98eeefb8464cc58 /blog/_includes/menubar.html | |
parent | c8ba2958ba509b98896100db2c190ace48d103c8 (diff) | |
download | norsk-urskog-main-0cb9284d51b16d192f42e2d2a4c12a2911668b2e.tar.gz norsk-urskog-main-0cb9284d51b16d192f42e2d2a4c12a2911668b2e.tar.bz2 norsk-urskog-main-0cb9284d51b16d192f42e2d2a4c12a2911668b2e.zip |
First attempt at responsive design for site.
- Droppped sidebar from all pages.
- Wrapped post images in a div for easier styling.
- Drop the Inferno banner on too small displays.
Most stuff works quite well for a first attempt, mthinks.
Diffstat (limited to 'blog/_includes/menubar.html')
-rw-r--r-- | blog/_includes/menubar.html | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/blog/_includes/menubar.html b/blog/_includes/menubar.html index 04be761..3076326 100644 --- a/blog/_includes/menubar.html +++ b/blog/_includes/menubar.html @@ -1,10 +1,12 @@ -<nav class="site-nav"> - <a class="page-link" href="{{ site.baseurl | append: "/" }}">{% t titles.home %}</a> - <a class="page-link" href="{{ site.baseurl_root | append: "/registration" }}">{% t titles.registration %}</a> - {% for page in site.pages %} - {% if page.title and (!page.hidden == true) %} - <a class="page-link" href="{{ page.url | prepend: site.baseurl | remove: 'index.html' }}">{% page_title page.title %}</a> - {% endif %} - {% endfor %} - {% include language-switcher.html %} -</nav> +<div id="page-menu"> + <nav class="site-nav"> + <a class="page-link" href="{{ site.baseurl | append: "/" }}">{% t titles.home %}</a> + <a class="page-link" href="{{ site.baseurl_root | append: "/registration" }}">{% t titles.registration %}</a> + {% for page in site.pages %} + {% if page.title and (!page.hidden == true) %} + <a class="page-link" href="{{ page.url | prepend: site.baseurl | remove: 'index.html' }}">{% page_title page.title %}</a> + {% endif %} + {% endfor %} + {% include language-switcher.html %} + </nav> +</div> |