diff --git a/sass/parts/_misc.scss b/sass/parts/_misc.scss index c429f8fb1..da90c5d8e 100644 --- a/sass/parts/_misc.scss +++ b/sass/parts/_misc.scss @@ -45,13 +45,16 @@ 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; + } +} + +@media (max-width: 500px) { + .zola-anchor { + display: none; + } } ul {