From ecf6a3d85a90de7477561cd49653521da9817900 Mon Sep 17 00:00:00 2001 From: Benjamin ter Kuile Date: Wed, 14 Oct 2015 15:16:17 +0200 Subject: [PATCH] better subnavigation styling --- app/assets/stylesheets/theme1/application.sass | 3 ++- app/assets/stylesheets/theme1/elements/_subnavigation.sass | 6 ++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/app/assets/stylesheets/theme1/application.sass b/app/assets/stylesheets/theme1/application.sass index 36b00905..ce6d898f 100644 --- a/app/assets/stylesheets/theme1/application.sass +++ b/app/assets/stylesheets/theme1/application.sass @@ -7,7 +7,8 @@ $green-original: #99CB23 $green: #7BB459 //Heineken $header-color: #AE571F $text-color: #333 -$font-family-content: Georgia, serif +//$font-family-content: Georgia, serif +$font-family-content: inherit $active-color: #fc3 @import font-awesome @import ./mixins diff --git a/app/assets/stylesheets/theme1/elements/_subnavigation.sass b/app/assets/stylesheets/theme1/elements/_subnavigation.sass index 509baf4c..231c4b2a 100644 --- a/app/assets/stylesheets/theme1/elements/_subnavigation.sass +++ b/app/assets/stylesheets/theme1/elements/_subnavigation.sass @@ -1,7 +1,8 @@ #page-subnavigation ul list-style: none - background-color: white + //background-color: white + font-size: 1.3rem margin: 0 li padding-left: 14px @@ -12,8 +13,9 @@ &.current padding-left: 8px padding-bottom: 10px - border-bottom: 2px solid #667 + //border-bottom: 2px solid #667 margin-bottom: 10px + box-shadow: 0px 10px 30px -12px rgba(0,0,0,1) a color: $active-color &.ancestor