Skip to content

Commit

Permalink
Drop filter on version badges (#860)
Browse files Browse the repository at this point in the history
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).
  • Loading branch information
straight-shoota authored Oct 23, 2024
1 parent ba85e53 commit 363a4f5
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions _sass/pages/_install.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 363a4f5

Please sign in to comment.