Skip to content

Commit

Permalink
Update group.html
Browse files Browse the repository at this point in the history
  • Loading branch information
afaji authored Nov 23, 2024
1 parent d8ebbd3 commit 80f0389
Showing 1 changed file with 15 additions and 10 deletions.
25 changes: 15 additions & 10 deletions _pages/group.html
Original file line number Diff line number Diff line change
Expand Up @@ -52,35 +52,35 @@
opacity: 1;
}

/* Gradient Backgrounds */
/* Solid Backgrounds with Glow on Hover */
.category-phd {
background: linear-gradient(to right, gold, gray);
background-color: gold;
color: white;
transition: background 0.3s ease;
transition: box-shadow 0.3s ease;
}

.category-phd:hover {
background: gold;
box-shadow: 0 0 10px 5px rgba(184, 134, 11, 0.7);
}

.category-msc {
background: linear-gradient(to right, purple, gray);
background-color: purple;
color: white;
transition: background 0.3s ease;
transition: box-shadow 0.3s ease;
}

.category-msc:hover {
background: purple;
box-shadow: 0 0 10px 5px rgba(128, 0, 128, 0.7);
}

.category-staff {
background: linear-gradient(to right, blue, gray);
background-color: blue;
color: white;
transition: background 0.3s ease;
transition: box-shadow 0.3s ease;
}

.category-staff:hover {
background: blue;
box-shadow: 0 0 10px 5px rgba(0, 0, 139, 0.7);
}

.card-body {
Expand All @@ -99,11 +99,16 @@
line-height: 1.2;
}

/* Prevent Underline on Hover */
a.card-link {
text-decoration: none;
color: inherit;
}

a.card-link:hover {
text-decoration: none;
}

.image-container {
width: 100%;
padding-top: 100%; /* Maintains square aspect ratio */
Expand Down

0 comments on commit 80f0389

Please sign in to comment.