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