From fdbe90d313dea541eda13885b142ec77fff6e615 Mon Sep 17 00:00:00 2001 From: hellekin Date: Wed, 23 Oct 2024 19:28:15 +0200 Subject: [CSS] I love spending my time IFOC doing shit so much I would like to do only this. --- assets/scss/_header-nav.scss | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'assets/scss') diff --git a/assets/scss/_header-nav.scss b/assets/scss/_header-nav.scss index 11f8ffb..e7e539c 100644 --- a/assets/scss/_header-nav.scss +++ b/assets/scss/_header-nav.scss @@ -10,11 +10,10 @@ article > header > nav { li { margin: 0 auto; - padding: 0.5rem; flex: 1; text-align: center; width: 12rem; - background-color: $bg-txt-off; + background-color: $bg-txt-on; a { display: inline-block; @@ -27,6 +26,10 @@ article > header > nav { background-color: $bg-txt-off; color: white; + &:last { + padding-right: 0; + } + &:hover, &:active { background-color: $bg-txt-on; color: black; -- cgit v1.2.3