From a02fc55c92f230d5dcb0898c3d64f7bcc43dc259 Mon Sep 17 00:00:00 2001 From: Jesper Hess Nielsen Date: Wed, 6 Apr 2016 21:28:14 +0200 Subject: [PATCH] Tweaking layout for menu --- _sass/_layout.scss | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/_sass/_layout.scss b/_sass/_layout.scss index 16b2344..d67fe69 100644 --- a/_sass/_layout.scss +++ b/_sass/_layout.scss @@ -26,23 +26,24 @@ aside { nav { max-width: 800px; margin: 0 auto; + text-align: center; ul { padding: 0; list-style: none; li { - float: left; + display: inline-block; position: relative; a { text-decoration: none; + font-weight: bold; display: block; - padding: 15px; - line-height: 20px; - box-shadow: 0; + padding: 20px 60px 0 0; &:hover, &:active { background: $background-color; text-decoration: none; color: $text-color; + font-weight: bolder; } } }