Skip to content

Commit

Permalink
re-add blog :active & :hover
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewDTR committed Oct 19, 2024
1 parent e8ceade commit 338c33c
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 338c33c

Please sign in to comment.