Skip to content

Commit 3a4f796

Browse files
committed
Update alumni layout and team roster
1 parent 52b60c2 commit 3a4f796

3 files changed

Lines changed: 138 additions & 222 deletions

File tree

css/styles.css

Lines changed: 31 additions & 70 deletions
Original file line numberDiff line numberDiff line change
@@ -339,19 +339,24 @@ section {
339339
}
340340

341341
.research-card {
342-
display: grid;
343-
gap: calc(var(--space-unit) * 2);
344-
padding: calc(var(--space-unit) * 4);
342+
padding: calc(var(--space-unit) * 3);
345343
background: var(--gray-50);
346344
border: 1px solid var(--gray-200);
347345
border-radius: 8px;
348346
transition: all 0.3s var(--ease-out-expo);
349347
}
350348

349+
.research-card-head {
350+
display: flex;
351+
align-items: center;
352+
gap: calc(var(--space-unit) * 1.5);
353+
margin-bottom: calc(var(--space-unit) * 1.5);
354+
}
355+
351356
.research-icon {
352-
width: 48px;
353-
height: 48px;
354-
border-radius: 14px;
357+
width: 32px;
358+
height: 32px;
359+
border-radius: 10px;
355360
display: grid;
356361
place-items: center;
357362
background: linear-gradient(140deg, rgba(22, 163, 74, 0.14), rgba(20, 184, 166, 0.12));
@@ -360,8 +365,8 @@ section {
360365
}
361366

362367
.research-icon svg {
363-
width: 26px;
364-
height: 26px;
368+
width: 18px;
369+
height: 18px;
365370
}
366371

367372
.research-card:hover {
@@ -374,13 +379,14 @@ section {
374379
font-family: var(--font-serif);
375380
font-size: 1.2rem;
376381
font-weight: 500;
377-
margin-bottom: calc(var(--space-unit) * 2);
382+
margin-bottom: 0;
378383
}
379384

380385
.research-card p {
381386
font-size: 0.9rem;
382387
color: var(--gray-600);
383388
line-height: 1.6;
389+
margin-top: calc(var(--space-unit) * 1);
384390
}
385391

386392
/* Team Section */
@@ -776,51 +782,21 @@ section {
776782
background: var(--gray-50);
777783
}
778784

779-
.alumni-marquee {
780-
position: relative;
781-
overflow: hidden;
782-
padding: calc(var(--space-unit) * 1) 0;
783-
}
784-
785-
.alumni-marquee::before,
786-
.alumni-marquee::after {
787-
content: '';
788-
position: absolute;
789-
top: 0;
790-
bottom: 0;
791-
width: 80px;
792-
z-index: 2;
793-
pointer-events: none;
794-
}
795-
796-
.alumni-marquee::before {
797-
left: 0;
798-
background: linear-gradient(to right, var(--gray-50), rgba(250, 250, 250, 0));
799-
}
800-
801-
.alumni-marquee::after {
802-
right: 0;
803-
background: linear-gradient(to left, var(--gray-50), rgba(250, 250, 250, 0));
804-
}
805-
806-
.alumni-track {
785+
.alumni-grid {
807786
display: flex;
808-
gap: calc(var(--space-unit) * 2);
809-
width: max-content;
810-
animation: alumni-marquee var(--marquee-duration, 28s) linear infinite;
811-
}
812-
813-
.alumni-marquee:hover .alumni-track {
814-
animation-play-state: paused;
787+
flex-wrap: wrap;
788+
gap: calc(var(--space-unit) * 1.5);
815789
}
816790

817791
.alumni-item {
818-
padding: calc(var(--space-unit) * 2.5) calc(var(--space-unit) * 3);
792+
display: inline-flex;
793+
align-items: center;
794+
gap: calc(var(--space-unit) * 1);
795+
padding: calc(var(--space-unit) * 1) calc(var(--space-unit) * 1.5);
819796
background: var(--white);
820797
border: 1px solid var(--gray-200);
821-
border-radius: 6px;
798+
border-radius: 999px;
822799
transition: all 0.2s ease;
823-
min-width: 260px;
824800
}
825801

826802
.alumni-item:hover {
@@ -830,25 +806,17 @@ section {
830806

831807
.alumni-name {
832808
font-weight: 500;
833-
margin-bottom: 4px;
809+
font-size: 0.85rem;
810+
margin-bottom: 0;
834811
}
835812

836-
.alumni-years {
813+
.alumni-meta {
837814
font-family: var(--font-mono);
838-
font-size: 0.8rem;
839-
color: var(--accent-green);
840-
margin-bottom: 4px;
841-
}
842-
843-
.alumni-current {
844-
font-size: 0.9rem;
845-
color: var(--gray-600);
815+
font-size: 0.65rem;
816+
color: var(--gray-500);
817+
line-height: 1.2;
846818
}
847819

848-
@keyframes alumni-marquee {
849-
from { transform: translateX(0); }
850-
to { transform: translateX(-50%); }
851-
}
852820

853821
/* Contact Section */
854822
#contact {
@@ -966,12 +934,6 @@ footer {
966934
transform: none;
967935
transition: none;
968936
}
969-
970-
.alumni-track {
971-
animation: none;
972-
flex-wrap: wrap;
973-
width: 100%;
974-
}
975937
}
976938

977939
/* Responsive - Tablet */
@@ -1082,8 +1044,7 @@ footer {
10821044
grid-template-columns: 1fr;
10831045
}
10841046

1085-
.alumni-marquee::before,
1086-
.alumni-marquee::after {
1087-
width: 40px;
1047+
.alumni-grid {
1048+
justify-content: center;
10881049
}
10891050
}

0 commit comments

Comments
 (0)