From 884cc9043969ac619519924f88b5b80cbc6a6b36 Mon Sep 17 00:00:00 2001 From: welpo Date: Sat, 11 Mar 2023 00:21:31 +0100 Subject: [PATCH 1/2] =?UTF-8?q?=F0=9F=90=9B=20fix:=20remove=20header=20lin?= =?UTF-8?q?k=20background=20change=20on=20hover?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sass/parts/_misc.scss | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/sass/parts/_misc.scss b/sass/parts/_misc.scss index c429f8fb1..bf60d15b2 100644 --- a/sass/parts/_misc.scss +++ b/sass/parts/_misc.scss @@ -45,13 +45,10 @@ h6:hover .zola-anchor { opacity: 1; } -.zola-anchor h1 a:hover, -.zola-anchor h2 a:hover, -.zola-anchor h3 a:hover, -.zola-anchor h4 a:hover, -.zola-anchor h5 a:hover, -.zola-anchor h6 a:hover { - background-color: transparent; +h1, h2, h3, h4, h5, h6 { + a:hover { + background-color: transparent; + } } ul { From 15c12807063d84be34bc28bd10be00421356fa69 Mon Sep 17 00:00:00 2001 From: welpo Date: Sat, 11 Mar 2023 00:22:52 +0100 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=92=84=20style:=20hide=20anchor=20lin?= =?UTF-8?q?ks=20on=20small=20screens?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sass/parts/_misc.scss | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/sass/parts/_misc.scss b/sass/parts/_misc.scss index bf60d15b2..da90c5d8e 100644 --- a/sass/parts/_misc.scss +++ b/sass/parts/_misc.scss @@ -51,6 +51,12 @@ h1, h2, h3, h4, h5, h6 { } } +@media (max-width: 500px) { + .zola-anchor { + display: none; + } +} + ul { margin-top: 0; }