From a45ce225fe8bc6e0291e6064ee1285d945579277 Mon Sep 17 00:00:00 2001 From: Ogulcan Celik Date: Fri, 24 Jul 2026 02:13:06 +0300 Subject: fix: prefer branded homepage search image --- website/css/style.css | 9 ++++++--- website/index.html | 41 ++++++++++++++++++++++++++--------------- 2 files changed, 32 insertions(+), 18 deletions(-) diff --git a/website/css/style.css b/website/css/style.css index 545b9123..d1751e34 100644 --- a/website/css/style.css +++ b/website/css/style.css @@ -1586,14 +1586,17 @@ samp { border-bottom: 1px solid var(--line); } -.community-video-thumb img { +.community-video-image { + display: block; width: 100%; height: 100%; - object-fit: cover; + background-image: var(--thumbnail); + background-position: center; + background-size: cover; transition: transform 180ms ease; } -.community-video-card:hover .community-video-thumb img { +.community-video-card:hover .community-video-image { transform: scale(1.025); } diff --git a/website/index.html b/website/index.html index 5d9c2b9c..021a37e6 100644 --- a/website/index.html +++ b/website/index.html @@ -26,6 +26,14 @@ + @@ -411,11 +419,12 @@
- Thumbnail for Jilles' Herdr in about 6 minutes video + @@ -426,11 +435,12 @@ - Thumbnail for DevOps Toolbox's This Tmux Rewrite Is Actually Brilliant video + @@ -441,11 +451,12 @@ - Thumbnail for Better Stack's Herdr agent multiplexer video + -- cgit v1.2.3