From 70679271bc9f2bebffe11a92574a5e666bcf9af2 Mon Sep 17 00:00:00 2001 From: Manos Date: Tue, 31 Dec 2019 12:43:00 +0200 Subject: [PATCH] Navigation bar corrections --- css/styles.css | 22 ++++++---------------- 1 file changed, 6 insertions(+), 16 deletions(-) diff --git a/css/styles.css b/css/styles.css index e26d2f3..b203be1 100644 --- a/css/styles.css +++ b/css/styles.css @@ -26,21 +26,24 @@ h1, h2, h3, h4, h5, p { z-index: 1; } -#nav a { +#nav a, #nav-mini .menu a { color: white; display: block; float: center; font-family: sans-serif; - font-size: calc(0.75em + 0.1vw); + font-size: calc(0.75em + 0.05vw); font-weight: bold; outline: 0; padding: 1em; text-decoration: none; text-align: center; - text-shadow: 0 0 0.5em black; text-transform: uppercase; } +#nav-mini .menu a { + text-align: left; +} + #nav a:hover { color: gray; } @@ -308,19 +311,6 @@ h1, h2, h3, h4, h5, p { box-shadow: 0 0 0.5em black; } - #nav-mini .menu a { - border-radius: 0.1em; - font-size: 0.75em; - display: block; - padding: 0.75em; - color: white; - background-color: black; - text-decoration: none; - text-transform: uppercase; - font-weight: bold; - outline: 0; - } - #nav-mini .menu a:hover { color: gray; }