diff options
author | ache <ache@ache.one> | 2023-12-03 11:57:45 +0100 |
---|---|---|
committer | ache <ache@ache.one> | 2023-12-03 12:04:30 +0100 |
commit | 2c48a87330fdc882a72739cca368c5e0b4921ea2 (patch) | |
tree | 46d8f81cdeaf7b1cf699eb735db49353016a2021 /src/css/_contenu.scss | |
parent | Corrige la taille des polices (diff) |
Fait en sorte que certains logos s'adaptent au thème sombre
Diffstat (limited to 'src/css/_contenu.scss')
-rwxr-xr-x | src/css/_contenu.scss | 7 |
1 files changed, 5 insertions, 2 deletions
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); } } |