From 9913b6a0c606ae977effc8fdfa3e7e96a7a8b1a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javi=20Mart=C3=ADn?= Date: Sat, 9 Jan 2021 19:58:54 +0100 Subject: [PATCH] Simplify hovering color styles for headings The default behavior for headings is to inherit the color, even in the `:hover` style, and IMHO we can keep it this way, particularly in the cards, which is the main place where we use headings inside links. --- app/assets/stylesheets/layout.scss | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/app/assets/stylesheets/layout.scss b/app/assets/stylesheets/layout.scss index 4094e4dcb..0096671b1 100644 --- a/app/assets/stylesheets/layout.scss +++ b/app/assets/stylesheets/layout.scss @@ -73,15 +73,6 @@ a { &:active { color: $link-hover; text-decoration: underline; - - h1, - h2, - h3, - h4, - h5, - h6 { - color: $link-hover; - } } &:focus { @@ -2770,13 +2761,6 @@ table { } } - a:hover { - - h3 { - color: #fff; - } - } - .background-header { clip-path: ellipse(60% 80% at 50% 0%); height: $line-height * 2;