From a9deba4745c016c310696dde7489cd483344f33f Mon Sep 17 00:00:00 2001 From: Lorin Werthen Date: Tue, 1 Nov 2016 13:28:23 +0100 Subject: [PATCH] tweak navbar --- .../assets/stylesheets/includes/general.scss | 18 ++++++++++++++++++ layouts/archive_page.erb | 4 ++-- layouts/partials/_navbar.erb | 4 ++-- 3 files changed, 22 insertions(+), 4 deletions(-) diff --git a/content/assets/stylesheets/includes/general.scss b/content/assets/stylesheets/includes/general.scss index 88eefe6..a8178a2 100644 --- a/content/assets/stylesheets/includes/general.scss +++ b/content/assets/stylesheets/includes/general.scss @@ -23,6 +23,20 @@ html, .footer { } } +#navbar { + margin-bottom: 10px; + + .logo-wrapper { + padding-bottom: 0; + } + + .actual-nav-bar { + padding-bottom: 0; + border-bottom: 1px solid #eee; + } +} + + header.section { padding-bottom: 10px; } @@ -124,6 +138,10 @@ footer.footer { max-height: 250px; } } + + .is-narrow { + flex: none; + } } #tipue_search_input { diff --git a/layouts/archive_page.erb b/layouts/archive_page.erb index 3904455..42a81fa 100644 --- a/layouts/archive_page.erb +++ b/layouts/archive_page.erb @@ -1,4 +1,4 @@ -
+
<% posts_in_year(item[:academic_year]).each do |post| %> @@ -15,7 +15,7 @@ <% end %>
-