From 2c48a87330fdc882a72739cca368c5e0b4921ea2 Mon Sep 17 00:00:00 2001 From: ache Date: Sun, 3 Dec 2023 11:57:45 +0100 Subject: =?UTF-8?q?Fait=20en=20sorte=20que=20certains=20logos=20s'adaptent?= =?UTF-8?q?=20au=20th=C3=A8me=20sombre?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/css/_contenu.scss | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/css') diff --git a/src/css/_contenu.scss b/src/css/_contenu.scss index 6009c1c..5a79ea2 100755 --- a/src/css/_contenu.scss +++ b/src/css/_contenu.scss @@ -69,6 +69,9 @@ article { position: relative; top: -25px; } + > img:not([src$="-inv.svg"]) { + filter: revert; + } > picture { height: 150px; width: 150px; @@ -191,7 +194,7 @@ article { color: initial; > p:first-of-type { - > img { + > img[src$=".jpg"], > img[src$=".png"], > img[src$=".avif"] { filter: none; } } @@ -214,7 +217,7 @@ article { color: #EFEFEF; > p:first-of-type { - > img { + > img[src$=".jpg"], > img[src$=".png"], > img[src$=".avif"] { filter: invert(0); } } -- cgit v1.2.3