Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
113 changes: 29 additions & 84 deletions frontend/css/contributors.css
Original file line number Diff line number Diff line change
Expand Up @@ -118,24 +118,6 @@ body.dark-mode .contributors-section p {
flex: 0 0 auto;
}

.contributor-github {
width: 42px;
height: 42px;
border-radius: 999px;
display: inline-flex;
align-items: center;
justify-content: center;
text-decoration: none;
color: var(--deep-navy);
background: rgb(255 255 255 / 90%);
border: 1px solid rgb(212 175 55 / 24%);
transition: transform 0.2s ease, background 0.2s ease;
}

.contributor-github:hover {
transform: scale(1.06);
background: rgb(255 248 231 / 95%);
}
.contributor-card {
background: linear-gradient(
180deg,
Expand All @@ -149,8 +131,10 @@ body.dark-mode .contributors-section p {
inset 0 1px 0 rgb(255 255 255 / 60%);
display: flex;
align-items: center;
justify-content: space-between;
gap: 1.5rem;
max-width: 360px;
min-height: 140px;
margin: 0 auto;
position: relative;

Expand Down Expand Up @@ -180,9 +164,10 @@ body.dark-mode .contributors-section p {

.contributor-main {
flex: 1;
max-width: 100px;
display: flex;
flex-direction: column;
gap: 0.5rem;
gap: 0.6rem;
}

.contributor-name {
Expand Down Expand Up @@ -240,29 +225,10 @@ body.dark-mode .contributors-section p {
}

.contributor-actions {

flex-shrink: 0;
}

.contributor-github {
width: 48px;
height: 48px;
border-radius: 50%;
display: inline-flex;
display: flex;
align-items: center;
justify-content: center;
color: #1a2433;
background: #f9f9f9;
border: 1.5px solid #d4af37;
box-shadow: 0 2px 6px rgb(0 0 0 / 0.07);
transition: all 0.25s ease;
cursor: pointer;
}

.contributor-github:hover {
background: #fff8dc;
transform: scale(1.12);
box-shadow: 0 4px 10px rgb(212 175 55 / 0.5);
}

/* Skeleton loading */
Expand Down Expand Up @@ -764,20 +730,6 @@ body.dark-mode .contributors-section p {
}
}

/* Card refinement */
.contributor-card {
padding: 1.5rem 1.55rem 1.35rem;
border-radius: 20px;
background: linear-gradient(
180deg,
#dfc981fb,
rgb(255 255 255 / 88%)
);
box-shadow:
0 12px 30px rgb(0 0 0 / 8%),
inset 0 1px 0 rgb(255 255 255 / 60%);
}

/* Hover feels lighter */
.contributor-card:hover {
transform: translateY(-5px);
Expand Down Expand Up @@ -862,21 +814,6 @@ body.dark-mode .contributors-section p {
color: var(--text-secondary);
}

/* GitHub action button */
.contributor-github {
width: 44px;
height: 44px;
background: linear-gradient(
180deg,
rgb(255 255 255 / 95%),
rgb(248 248 248 / 90%)
);
}

.contributor-github:hover {
background: rgb(255 250 235);
}

/* Mobile tuning */
@media (max-width: 720px) {
.contributors-grid {
Expand Down Expand Up @@ -916,13 +853,6 @@ body.dark-mode .contributors-section p {
text-overflow: ellipsis;
}

.contributor-actions {
flex-shrink: 0;
margin-left: 1rem;
display: flex;
align-items: center;
}

/* Animation trigger */
.contributor-card.is-visible {
opacity: 1;
Expand Down Expand Up @@ -1006,16 +936,29 @@ body.dark-mode .contributors-section p {
}

.contributor-github {
font-size: 1.5rem;
color: #1b263b;
transition: color 0.2s;
display: flex;
align-items: center;
justify-content: center;
width: 46px;
height: 46px;
border-radius: 50%;

display: flex;
align-items: center;
justify-content: center;

font-size: 1.3rem;
text-decoration: none;

background: #ffffff;
border: 2px solid #d4af37;
color: #1b263b;

transition: all 0.25s ease;
flex-shrink: 0;
}

.contributor-github:hover {
color: #d4af37; /* Gold */
transform: scale(1.1);
background: #fff8dc;
box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

/* =========================================
Expand Down Expand Up @@ -1092,11 +1035,13 @@ body.dark-mode .contributor-chip.is-bot {
}

body.dark-mode .contributor-github {
color: #e0e0e0 !important; /* White/Light Grey Icon */
background: #1f2937;
border-color: #d4af37;
color: #f9fafb;
}

body.dark-mode .contributor-github:hover {
color: #d4af37 !important; /* Gold on Hover */
background: #2a2f3a;
}

/* Skeleton Dark Mode */
Expand Down
Loading
Loading