Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions website/static/website/css/member.css
Original file line number Diff line number Diff line change
Expand Up @@ -651,6 +651,17 @@
outline-offset: var(--focus-ring-offset);
}

/* On phones, pin each link to ~half the row so the four sections wrap a clean
2-up grid (Projects/Papers, then Videos/Talks) instead of orphaning "Talks"
onto its own line (#1331). flex-wrap + justify-content:center (above) center
a lone last item for members who have only three sections. */
@media (max-width: 576px) {
.member-section-nav-list li {
flex: 0 1 calc(50% - var(--space-2));
text-align: center;
}
}

/* Anchor jumps (and scroll-spy) should land the heading below the fixed navbar
AND this sticky nav, not underneath them. */
.person-section {
Expand Down
Loading