From ebb72751589302bbf474689787bab27b9c2539c5 Mon Sep 17 00:00:00 2001 From: chrisw Date: Tue, 28 Nov 2017 11:53:24 +0000 Subject: [PATCH] Added styling for sub-navigation --- .../stylesheets/components/navigation.scss | 38 +++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/app/assets/stylesheets/components/navigation.scss b/app/assets/stylesheets/components/navigation.scss index 8eafd8c49..f70de9b47 100644 --- a/app/assets/stylesheets/components/navigation.scss +++ b/app/assets/stylesheets/components/navigation.scss @@ -66,3 +66,41 @@ } } + +.sub-navigation { + @include media(tablet) { + margin-top: $gutter * 1.5; + } + + ol, + ul { + list-style: none; + padding: 0; + margin: 0; + } + + &__item { + @include core-16; + + border-bottom: 1px $grey-3 solid; + display: block; + padding: $gutter-one-third 0; + + a:link { + text-decoration: none; + } + + a:hover, + a:active { + text-decoration: underline; + } + } + + &__item--active { + @include bold-16; + + a:link, a:visited { + color: $text-colour; + } + } +}