From 2fd16d24f079ae103502f3cf087044242aca9c8a Mon Sep 17 00:00:00 2001 From: Jean-Marie 'Histausse' Mineau Date: Thu, 16 Apr 2026 00:09:09 +0200 Subject: [PATCH] unstyle all link in nav menu, instead of only just the ones in list items --- lib/nav_menu.typ | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/lib/nav_menu.typ b/lib/nav_menu.typ index 0e93ae9..66a4763 100644 --- a/lib/nav_menu.typ +++ b/lib/nav_menu.typ @@ -137,6 +137,12 @@ margin-top: 0.5em; margin-bottom: 0.5em; } + a { + /* Unstyle link */ + color: inherit; + text-decoration: inherit; + /* cursor: inherit; // we want to keep the clickable cursor */ + } li { padding-top: 0.5rem; padding-bottom: 0.5rem; @@ -147,11 +153,6 @@ display: block; width: 100%; height: 100%; - - /* Unstyle link */ - color: inherit; - text-decoration: inherit; - /* cursor: inherit; // we want to keep the clickable cursor */ } } li:hover {