From 852fdc554878b9d95896f81e7927ed6921a17cca Mon Sep 17 00:00:00 2001 From: daudix Date: Sun, 28 Jan 2024 23:40:31 +0300 Subject: [PATCH] fix: Don't transform separator when active --- sass/_nav.scss | 31 +++++++++++++++++-------------- templates/includes/nav.html | 8 ++++---- 2 files changed, 21 insertions(+), 18 deletions(-) diff --git a/sass/_nav.scss b/sass/_nav.scss index 727d0c2..389c98a 100644 --- a/sass/_nav.scss +++ b/sass/_nav.scss @@ -52,29 +52,32 @@ #home { position: relative; - font-weight: 800; - color: var(--fg-muted-5); - - &:hover { - color: var(--primary-color); - } &::after { - content: ""; - position: absolute; - height: 110%; - width: 1px; background-color: var(--fg-muted-2); - top: 0; + content: ""; + height: 110%; + position: absolute; right: -0.2rem; + top: 0; + width: 1px; + } + + a { + font-weight: 800; + color: var(--fg-muted-5); + + &:hover { + color: var(--primary-color); + } } } - #feed { + #feed a { padding: 0.325rem 0.625rem; - + svg { - vertical-align: -.125em; + vertical-align: -0.125em; } } } diff --git a/templates/includes/nav.html b/templates/includes/nav.html index 43378e7..b656f39 100644 --- a/templates/includes/nav.html +++ b/templates/includes/nav.html @@ -1,8 +1,8 @@