From d1cc49bae2b618cca9c7166409654f9a003d53c2 Mon Sep 17 00:00:00 2001 From: freakoverse Date: Fri, 13 Dec 2024 10:28:06 +0000 Subject: [PATCH] Update src/styles/cardGames.css --- src/styles/cardGames.css | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/styles/cardGames.css b/src/styles/cardGames.css index 7a630e7..7e4497c 100644 --- a/src/styles/cardGames.css +++ b/src/styles/cardGames.css @@ -5,12 +5,16 @@ grid-gap: 10px; text-decoration: unset; cursor: pointer; + border-radius: 15px; + overflow: hidden; + padding: 5px; } .cardGameMainWrapperLink:hover { transition: ease 0.4s; transform: scale(1.02); text-decoration: unset; + background: rgb(0,0,0,0.5); } .cardGameMainWrapperLink:active { @@ -24,7 +28,7 @@ } .cardGameMain { - border-radius: 15px; + border-radius: 10px; box-shadow: 0 0 8px 0 rgb(0, 0, 0, 0.1); width: 100%; object-fit: cover; /* Ensures the image covers the container like a background image */ @@ -36,7 +40,7 @@ .cardGameMainTitle { transition: ease 0.4s; color: rgba(255, 255, 255, 0.5); - padding: 0 15px; + padding: 0 10px 10px 10px; font-weight: bold; display: -webkit-box; -webkit-box-orient: vertical;