From 4a32db2276391a34314f861f13cba1a129347ff3 Mon Sep 17 00:00:00 2001 From: norrinorri Date: Sat, 21 Oct 2017 20:39:50 +0300 Subject: subnavin vähän paremmaksi MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- _sass/_as-theme.scss | 24 +++++++++++++----------- _sass/_layout.scss | 2 +- 2 files changed, 14 insertions(+), 12 deletions(-) diff --git a/_sass/_as-theme.scss b/_sass/_as-theme.scss index 6b54b3e..927c73f 100644 --- a/_sass/_as-theme.scss +++ b/_sass/_as-theme.scss @@ -78,19 +78,21 @@ body { } } .subheader__navigation { - - margin-top: $spacing-unit / 4; + margin-top: 7.5px; overflow: hidden; - ul { - - overflow: hidden; - - margin: 0; - padding: $spacing-unit /2 0; - } - + text-align: center; + margin-bottom: 0 !important; + } -} + .subheader__navigation .navigation__item { + display: inline-block; + padding: 0 10px; + font-size: 1.0em; } + .subheader__navigation a, .header__navigation a:visited, .header__navigation a:hover { + text-decoration: none; + color: #111; } + .subheader__navigation a:hover { + color: #620062; } .navigation__item.active { font-weight: bold; diff --git a/_sass/_layout.scss b/_sass/_layout.scss index 883cfa5..87957fa 100644 --- a/_sass/_layout.scss +++ b/_sass/_layout.scss @@ -154,7 +154,7 @@ * Page content */ .page-content { - padding: $spacing-unit / 2 0; + padding: 0px; } .page-heading { -- cgit v1.3