style: Update team grid layout and member card styling for improved consistency and responsiveness

This commit is contained in:
2026-05-11 09:10:32 +02:00
parent 30134e4acd
commit 23c0ec7c2a
+17 -17
View File
@@ -48,10 +48,10 @@
.team-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
gap: 0.625rem;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 0.75rem;
margin-bottom: 2rem;
max-width: 900px;
max-width: 450px;
}
.member-card {
@@ -73,48 +73,48 @@
.member-photo {
width: 100%;
aspect-ratio: 3 / 4;
aspect-ratio: 9 / 16;
object-fit: cover;
object-position: center 15%;
object-position: center 20%;
background: linear-gradient(135deg, #eef2ee 0%, #e0e8e4 100%);
display: block;
}
.member-content {
padding: 1.25rem;
padding: 0.75rem;
display: grid;
gap: 0.5rem;
gap: 0.3rem;
}
.member-slot {
margin: 0;
color: #5f7479;
font-size: 0.75rem;
font-size: 0.65rem;
font-weight: 700;
letter-spacing: 0.05em;
letter-spacing: 0.04em;
text-transform: uppercase;
}
.member-content h2 {
margin: 0;
color: #264f56;
font-size: clamp(1.1rem, 1.8vw, 1.3rem);
line-height: 1.2;
margin-top: 0.15rem;
font-size: 1rem;
line-height: 1.1;
margin-top: 0.1rem;
}
.member-role {
margin: 0;
color: #3b6168;
font-weight: 700;
font-size: 0.95rem;
font-weight: 600;
font-size: 0.75rem;
}
.member-content p:last-child {
margin: 0.35rem 0 0 0;
margin: 0.25rem 0 0 0;
color: #505550;
font-size: 0.85rem;
line-height: 1.4;
font-size: 0.75rem;
line-height: 1.3;
}
.values {