From 4d1b2229239233ef04da0979e86e89464e063ff4 Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Sun, 23 Nov 2025 13:37:21 -0500 Subject: [PATCH] Make entire resource card clickable MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Wrap card in anchor tag instead of just the title, improving UX. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- kjvstudy_org/templates/resources.html | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/kjvstudy_org/templates/resources.html b/kjvstudy_org/templates/resources.html index 28323d2..a1da660 100644 --- a/kjvstudy_org/templates/resources.html +++ b/kjvstudy_org/templates/resources.html @@ -34,31 +34,30 @@ } .resource-card { + display: block; padding: 1.5rem; border: 1px solid var(--border-color); border-radius: 4px; background: var(--bg-color); transition: all 0.2s; + text-decoration: none; + color: var(--text-color); } .resource-card:hover { border-color: var(--border-color-darker); box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); + cursor: pointer; } .resource-card h3 { font-size: 1.2rem; font-weight: 600; margin: 0 0 0.5rem 0; -} - -.resource-card h3 a { color: var(--text-color); - text-decoration: none; - border-bottom: none; } -.resource-card h3 a:hover { +.resource-card:hover h3 { color: var(--link-hover); } @@ -107,9 +106,6 @@ .resource-card h3 { font-size: 1.15rem; margin-bottom: 0.6rem; - } - - .resource-card h3 a { color: var(--text-color); font-weight: 600; border-bottom: 2px solid var(--border-color-darker); @@ -149,11 +145,11 @@

{{ category }}