Skip to content

Commit

Permalink
Merge pull request #1358 from AE-Hertz/branch1
Browse files Browse the repository at this point in the history
 [Feature Request]: fix the contribution page, check description #1355
  • Loading branch information
apu52 authored Nov 3, 2024
2 parents 8990d28 + fe073d1 commit ab0dbef
Showing 1 changed file with 89 additions and 3 deletions.
92 changes: 89 additions & 3 deletions assets/css/contributors.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ body {
font-family: Arial, sans-serif;
color: #fff; /* Dark text color for body */
line-height: 1.5;
padding: 0 1rem;
}

.stats, .contributors {
Expand Down Expand Up @@ -45,7 +46,7 @@ body {
}

.stat-card h3 {
font-size: 2rem;
font-size: 1.75rem;
font-weight: bold;
color: #fff;
}
Expand Down Expand Up @@ -137,7 +138,92 @@ body {
}

.contribute p {
font-size: 1.25rem;
font-size: 1.125rem;
color: #bfdbfe;
margin-bottom: 2rem;
}
}

.stat-card h3 {
font-size: 2rem;
font-weight: bold;
color: #fff;
margin-top: 1rem;
}

.stat-card p {
color: #6b7280;
}

.stat-card {
background-color: transparent;
border-radius: 0.5rem;
padding: 1.5rem;
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
transition: transform 0.3s ease, box-shadow 0.3s ease;
display: flex;
align-items: center;
gap: 1rem;
flex-direction: row;
}

.stat-card h3 {
font-size: 2rem;
font-weight: bold;
color: #fff;
margin-top: 0.5rem;
}

.stat-card p {
color: #6b7280;
}

.stat-card svg {
width: 80px;
height: 80px;
}

.stat-card.dark svg {
fill: #d1d5db;
}

@media (max-width: 768px) {
.stat-card {
padding: 1rem;
flex-direction: row;
text-align: center;
}

.stat-card h3 {
font-size: 1.5rem;
}

.stat-card p {
font-size: 0.875rem;
}

.stat-card svg {
width: 60px;
height: 60px;
}
}

@media (max-width: 480px) {
.stat-card {
padding: 0.75rem;
}

.stat-card h3 {
font-size: 1.25rem;
}

.stat-card p {
font-size: 0.75rem;
}

.stat-card svg {
width: 50px;
height: 50px;
}
}


0 comments on commit ab0dbef

Please sign in to comment.