From b23af757a97a2c9aea73b04ca66a2b4fccb7b1af Mon Sep 17 00:00:00 2001 From: cottongin Date: Wed, 26 Aug 2026 18:12:54 -0400 Subject: [PATCH] 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 --- content/styles/badges.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/styles/badges.css b/content/styles/badges.css index b5e82dd..6be998e 100644 --- a/content/styles/badges.css +++ b/content/styles/badges.css @@ -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 --- */