From 794470d99a2a8838b871e5347c084e922b0e9776 Mon Sep 17 00:00:00 2001 From: welpo Date: Wed, 8 Feb 2023 14:34:26 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=84=20style:=20invert=20social=20icons?= =?UTF-8?q?=20when=20hovering=20This=20makes=20it=20consistent=20with=20th?= =?UTF-8?q?e=20behaviour=20of=20all=20other=20links.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sass/parts/_footer.scss | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/sass/parts/_footer.scss b/sass/parts/_footer.scss index cee4ea7..f5befc3 100644 --- a/sass/parts/_footer.scss +++ b/sass/parts/_footer.scss @@ -43,6 +43,16 @@ footer { filter: invert(1); } - [data-theme="light"] .social>img { - filter: invert(0); +[data-theme="light"] { + .social { + &:hover { + &>img { + filter: invert(1); + } } + + &>img { + filter: none; + } + } +}