From 637e5c1ae2330279a376aa7ef3b11c9e9bbd5130 Mon Sep 17 00:00:00 2001 From: Wout Schellaert Date: Mon, 24 Sep 2018 18:18:47 +0200 Subject: [PATCH] Add inschrijflink for start of academic year (#275) * Add inschrijflink for start of academic year * Rely on autoprefixer --- content/assets/stylesheets/includes/navbar.scss | 17 ++++++++++++----- layouts/partials/_navbar.erb | 5 +++++ lib/helpers/time.rb | 5 +++++ 3 files changed, 22 insertions(+), 5 deletions(-) diff --git a/content/assets/stylesheets/includes/navbar.scss b/content/assets/stylesheets/includes/navbar.scss index 43d4908..0996438 100644 --- a/content/assets/stylesheets/includes/navbar.scss +++ b/content/assets/stylesheets/includes/navbar.scss @@ -1,3 +1,5 @@ +@import 'mixins'; + #navbar { align-items: flex-end; margin-bottom: 10px; @@ -42,10 +44,10 @@ } @include touch { - .navbar-menu { - position: absolute; - width: 100%; - } + .navbar-menu { + position: absolute; + width: 100%; + } } .navbar:not(.is-transparent) { @@ -61,4 +63,9 @@ } } } -} + + #ledenformulier { + color: $zeus-orange; + transform: rotate(10deg); + } +} \ No newline at end of file diff --git a/layouts/partials/_navbar.erb b/layouts/partials/_navbar.erb index 888ccf8..b86ecdc 100644 --- a/layouts/partials/_navbar.erb +++ b/layouts/partials/_navbar.erb @@ -20,6 +20,11 @@ <%= i[:title] %> <% end %> + <% if new_member_time? %> + + Schrijf je in! + + <%end%>