From 51742962549ef144bfca41c5e273ef77e8fb43df Mon Sep 17 00:00:00 2001 From: Sindre Kjelsrud Date: Wed, 24 Apr 2024 21:35:29 +0200 Subject: [PATCH] :lipstick: added bg-color on active link Signed-off-by: Sindre Kjelsrud --- pages/index.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pages/index.vue b/pages/index.vue index b7c1e76..84a8a83 100644 --- a/pages/index.vue +++ b/pages/index.vue @@ -64,7 +64,7 @@ ul, li a{ font-weight: 600 } li :hover { - background-color: #ef4444; + background-color: #dc2626; } #crew-list { counter-reset: crew-index; @@ -75,4 +75,7 @@ li :hover { #crew-list > li::before { content: counter(crew-index) ". "; } +#crew-list > li:target { + background-color: #dc2626; +}