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; } }