header: thinner active page underline, closer to text
All checks were successful
CI / update (push) Successful in 1m35s

This commit is contained in:
2026-02-27 20:14:40 +01:00
parent 01ba7066fb
commit dccd01ec01

View File

@@ -160,8 +160,8 @@ nav{
} }
.active-underline { .active-underline {
position: absolute; position: absolute;
bottom: 1.2rem; bottom: 1.4rem;
height: 2px; height: 1.25px;
background-color: var(--nord8); background-color: var(--nord8);
transition: left 300ms ease-out, width 300ms ease-out; transition: left 300ms ease-out, width 300ms ease-out;
pointer-events: none; pointer-events: none;
@@ -325,8 +325,8 @@ footer{
:global(.nav_site .site_header a.active) { :global(.nav_site .site_header a.active) {
text-decoration: underline; text-decoration: underline;
text-decoration-color: var(--nord8); text-decoration-color: var(--nord8);
text-decoration-thickness: 2px; text-decoration-thickness: 1px;
text-underline-offset: 0.3rem; text-underline-offset: 0.2rem;
} }
} }
.no-links :global(button) { .no-links :global(button) {