fix: use inset shadow darken for badge hover effect

Replace filter:brightness(1.1) with an inset box-shadow overlay
that subtly darkens only the background without washing out text
or border colors. Matches how GitHub/Bootstrap handle label hover.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-08-26 18:12:54 -04:00
parent 48db2fc70e
commit b23af757a9

View File

@@ -25,7 +25,7 @@ html.rt-enabled .thing.link .flat-list li:has(> .comments) {
}
.rt-badge:hover {
filter: brightness(1.1);
box-shadow: inset 0 0 0 999px rgba(0, 0, 0, 0.06);
}
/* --- Subreddit badge: relative for gear positioning --- */