From 2ac360e84250f9bea401d2402f46c023274339ba Mon Sep 17 00:00:00 2001 From: RGBCube Date: Tue, 3 Jun 2025 23:31:28 +0300 Subject: [PATCH] css: fix link hover border removal --- site/assets/css/default.css | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/site/assets/css/default.css b/site/assets/css/default.css index 28ef8e4..9fafbf2 100644 --- a/site/assets/css/default.css +++ b/site/assets/css/default.css @@ -230,10 +230,9 @@ html, body { code:not(pre > code) { @apply border-1 border-dotted px-2 py-0.5 border-black dark:border-white; - &:not(a code) { - a:hover &, a:active & { - @apply border-transparent; - } + a:hover &:not(:is(h1, h2, h3, h4, h5, h6) *), + a:active &:not(:is(h1, h2, h3, h4, h5, h6) *) { + @apply border-transparent; } }