From 6572a39d486df8f2a38c29037083fcdb938a6d28 Mon Sep 17 00:00:00 2001 From: Kevin Veen-Birkenbach Date: Sun, 6 Jul 2025 22:25:22 +0200 Subject: [PATCH] Added hover effects to cards --- app/static/css/default.css | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/app/static/css/default.css b/app/static/css/default.css index db5e677..4385e4a 100644 --- a/app/static/css/default.css +++ b/app/static/css/default.css @@ -38,6 +38,18 @@ a { background-color: #f9f9f9; } +.card { + transition: background-color 1s ease, transform 1s ease; + transition: color 1s ease, transform 1s ease; +} + +.card:hover { + background-color: var(--bs-secondary) !important; + color: var(--bs-white) !important; + transform: translateY(-4px); + box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); +} + .card-body { display: flex; flex-direction: column;