From 2ae4cafecd927c673df4dc42df8beaecfbecc5a6 Mon Sep 17 00:00:00 2001 From: eclipse Date: Sun, 9 Feb 2025 12:31:04 +0100 Subject: [PATCH] navbar item corresponding to current page now gets underlined --- theme/static/css/custom.css | 4 ++++ theme/templates/includes/navbar.html | 6 ++++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/theme/static/css/custom.css b/theme/static/css/custom.css index 2aa5a12..6a182ab 100644 --- a/theme/static/css/custom.css +++ b/theme/static/css/custom.css @@ -194,6 +194,10 @@ a { li:last-child { padding-right: 0; } + + li[aria-current=page] a { + text-decoration: underline; + } } a { diff --git a/theme/templates/includes/navbar.html b/theme/templates/includes/navbar.html index f87b3a7..fadfab8 100644 --- a/theme/templates/includes/navbar.html +++ b/theme/templates/includes/navbar.html @@ -8,7 +8,8 @@ - \ No newline at end of file + +{# {% debug %} #} \ No newline at end of file