Skip to content

Commit

Permalink
Added hover transition and shadow to credit cells to give a softer, m…
Browse files Browse the repository at this point in the history
…ore professional look and increased radi

us of corners ufosc#44
  • Loading branch information
StrBoll committed Sep 10, 2024
1 parent 36cd295 commit 14e4c66
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/About/About.css
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,14 @@
.credit-cell img {
width: 30vh; /* Ensure the image covers the container's width */
object-fit: cover;
border-radius: 1vh;
border-radius: 1.5vh;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
transition: transform 0.3s ease;
}

.credit-cell img:hover {
transform: scale(1.05);
}
.credit-name {
font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
font-size: 4vh;
Expand Down

0 comments on commit 14e4c66

Please sign in to comment.