From 338c33c7c4312f1375a2e549a5802a3b8822d044 Mon Sep 17 00:00:00 2001 From: Andrew <74398819+AndrewDTR@users.noreply.github.com> Date: Sat, 19 Oct 2024 14:40:38 -0500 Subject: [PATCH] re-add blog :active & :hover --- src/pages/index.astro | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/src/pages/index.astro b/src/pages/index.astro index 735b55b..f4abeb1 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -135,16 +135,15 @@ allPosts.sort( color: #f0e7d8; } - .blog-post-link { - text-decoration: none; - color: #f0e7d8; - display: block; - width: 100%; - height: 100%; + .blog-post-item:hover { + background-color: #2a2626; + transform: scale(1.004); } - .blog-post-link i { - color: #d3c4b0; + .blog-post-item:active { + background-color: #5b4f4f; + transition: 0s background-color; + transform: scale(1.01); } img {