From 1f21e4416397a6d2f59b4ac1be9235aff62331d6 Mon Sep 17 00:00:00 2001 From: Kévin Le Gouguec Date: Sun, 28 Feb 2021 15:24:12 +0100 Subject: Make some CSS rules more precise So that e.g. a .social div in our future sliding menu is not affected. --- stylesheets/commun.css | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'stylesheets/commun.css') diff --git a/stylesheets/commun.css b/stylesheets/commun.css index 174ab7d..76a1db7 100644 --- a/stylesheets/commun.css +++ b/stylesheets/commun.css @@ -33,10 +33,10 @@ header.banner h1 { font-family: 'Cormorant', serif; } -header.banner img, .social a img { +header.banner img, footer.social img { filter: brightness(0); } -header.banner:hover img, .social a:hover img { +header.banner:hover img, footer.social img:hover { filter: none; } header.banner:hover { @@ -201,12 +201,12 @@ footer.legal { padding: var(--menu-top-margin) 1em 0; } - .social a { + footer.social a { display: block; margin: 1rem; } - .social a > img { + footer.social a > img { width: 2.2rem; } -- cgit v1.2.3