From e4e3174b63759a0721591078c2ac053e6739a05a Mon Sep 17 00:00:00 2001 From: Michael Kohler Date: Sun, 7 Mar 2021 13:55:21 +0100 Subject: [PATCH] fix: adjust contrast for active header item --- web/css/header.css | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/web/css/header.css b/web/css/header.css index 0d9a6bb8..d493e47b 100644 --- a/web/css/header.css +++ b/web/css/header.css @@ -11,7 +11,7 @@ header { } header a { - padding: 0 1rem; + padding: 0 1.2rem; text-decoration: none; } @@ -25,10 +25,12 @@ nav { display: flex; flex-direction: row; text-transform: uppercase; + padding-left: 2rem; } nav > .active { - color: var(--active-font-color); + padding-bottom: 10px; + box-shadow: inset 0 -2px 0 0 var(--active-font-color); } .profile-widget {