From 363a4f5862d58b198611379154c6a8daf2803261 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johannes=20M=C3=BCller?= Date: Wed, 23 Oct 2024 11:44:09 +0200 Subject: [PATCH] Drop filter on version badges (#860) The filter is purely cosmetical, but resulted in bad legibility in some browser renderings. It's a bit of dark wizardry in an attempt to bend the colors and constrast without having to rewrite the SVG content (which is not easily possible). --- _sass/pages/_install.scss | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/_sass/pages/_install.scss b/_sass/pages/_install.scss index 25cc7733..8389a983 100644 --- a/_sass/pages/_install.scss +++ b/_sass/pages/_install.scss @@ -121,16 +121,6 @@ img.version-badge { display: inline-block; vertical-align: sub; transition: all 0.25s; - - @media not (prefers-color-scheme: dark) { - filter: invert(49%) saturate(8000%) brightness(120%) contrast(500%) - sepia(40%) saturate(85%); - - :any-link:hover > & { - filter: invert(49%) saturate(8000%) brightness(120%) contrast(500%) - sepia(40%) saturate(85%) brightness(75%); - } - } } @media (max-width: 50em) {