Skip to content

Commit

Permalink
rework 2
Browse files Browse the repository at this point in the history
  • Loading branch information
thororen1234 committed Apr 4, 2024
1 parent a148626 commit 0fca8d3
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions staff.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

.container {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
grid-template-columns: repeat(auto-fill, minmax(475px, 1fr));
gap: 20px;
justify-content: center;
margin: 20px;
Expand All @@ -51,7 +51,7 @@
overflow: hidden;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
height: 400px;
width: 100%;
width: 600px;
}

.staff-member:hover {
Expand All @@ -78,7 +78,7 @@

.banner {
position: absolute;
width: 615px;
width: 600px;
height: 400px;
}

Expand All @@ -93,7 +93,6 @@
.description-box {
width: 100%;
padding: 15px;
/* Darker background for staff descriptions */
border-radius: 0 0 10px 10px;
box-sizing: border-box;
height: 100%;
Expand All @@ -111,6 +110,11 @@
/* Show on hover */
}

.staff-member:hover .banner {
opacity: 0.25;
/* Show on hover */
}

.staff-info p {
font-size: 14px;
margin: 0;
Expand Down Expand Up @@ -169,6 +173,7 @@
</div>
</div>

<!-- New Staff Members -->
<!-- Staff Member 4 -->
<div class="staff-member">
<img class="banner" src="https://i.imgur.com/FiRr8Lj.png">
Expand Down

0 comments on commit 0fca8d3

Please sign in to comment.