From bdcd19a17f152b0db457410f7846b1b4c5410e60 Mon Sep 17 00:00:00 2001 From: roottool Date: Thu, 15 Oct 2026 08:23:10 +0900 Subject: [PATCH] fix: show hover effects on keyboard focus in SteamSummary Co-Authored-By: Claude Sonnet 5.5 --- src/components/SteamSummary.astro | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/components/SteamSummary.astro b/src/components/SteamSummary.astro index a67c64035..c3d91611c 100644 --- a/src/components/SteamSummary.astro +++ b/src/components/SteamSummary.astro @@ -76,7 +76,8 @@ const games = processGames(data.games).slice(0, 12); filter: saturate(0.7) brightness(0.85); transition: filter 0.5s ease; } -.group:hover .game-image { +.group:hover .game-image, +.group:focus-visible .game-image { filter: saturate(0.9) brightness(1); } .game-overlay { @@ -86,7 +87,8 @@ const games = processGames(data.games).slice(0, 12); opacity: 0; transition: opacity 0.3s ease; } -.group:hover .game-overlay { +.group:hover .game-overlay, +.group:focus-visible .game-overlay { opacity: 1; }