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

This commit is contained in:
2026-05-11 09:07:07 +02:00
parent 3fd4be4e05
commit ea724fdd97
+11 -11
View File
@@ -48,10 +48,10 @@
.team-grid { .team-grid {
display: grid; display: grid;
grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
gap: 1.5rem; gap: 1.25rem;
margin-bottom: 2rem; margin-bottom: 2rem;
max-width: 1000px; max-width: 900px;
} }
.member-card { .member-card {
@@ -81,9 +81,9 @@
} }
.member-content { .member-content {
padding: 1.5rem; padding: 1.25rem;
display: grid; display: grid;
gap: 0.75rem; gap: 0.5rem;
} }
.member-slot { .member-slot {
@@ -98,9 +98,9 @@
.member-content h2 { .member-content h2 {
margin: 0; margin: 0;
color: #264f56; color: #264f56;
font-size: clamp(1.25rem, 2vw, 1.5rem); font-size: clamp(1.1rem, 1.8vw, 1.3rem);
line-height: 1.3; line-height: 1.2;
margin-top: 0.25rem; margin-top: 0.15rem;
} }
.member-role { .member-role {
@@ -111,10 +111,10 @@
} }
.member-content p:last-child { .member-content p:last-child {
margin: 0.5rem 0 0 0; margin: 0.35rem 0 0 0;
color: #505550; color: #505550;
font-size: 0.9rem; font-size: 0.85rem;
line-height: 1.5; line-height: 1.4;
} }
.values { .values {