From 050f546e27f5bcfc1e5500b33279f82ef45c0caa Mon Sep 17 00:00:00 2001 From: welpo Date: Sat, 15 Apr 2023 21:25:24 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix:=20set=20proper=20scope=20to?= =?UTF-8?q?=20transparent=20hover=20for=20anchor?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sass/parts/_misc.scss | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/sass/parts/_misc.scss b/sass/parts/_misc.scss index 0c9036d..f25a801 100644 --- a/sass/parts/_misc.scss +++ b/sass/parts/_misc.scss @@ -43,15 +43,13 @@ h6:hover .zola-anchor { opacity: 1; } -h1, -h2, -h3, -h4, -h5, -h6 { - a:hover { - background-color: transparent; - } +h1 .zola-anchor:hover, +h2 .zola-anchor:hover, +h3 .zola-anchor:hover, +h4 .zola-anchor:hover, +h5 .zola-anchor:hover, +h6 .zola-anchor:hover { + background-color: transparent; } @media (max-width: 500px) {