Files
cs249r_book/site/about/about.css
Vijay Janapa Reddi 58a6b4cf3d refactor(site): overhaul About & Community pages — AI engineering framing
Mission section: boxed mission statement, AI engineering definition,
Hennessy/Patterson & Andrew Ng acknowledgment, 1M learner goal with
log-scale star history chart, star-on-GitHub ask.

New "How We Teach" section: four pillars + expanded stats strip
(chapters, lecture decks, TinyTorch modules, universities).

People page: restructured as credits — featured founders (Vijay + Kari),
Global Outreach (Marco, Brian, Marcelo, Jeremy), Global Educators
compact grid, edX instructors. Initials fallback for missing avatars.

Events page: simplified from 250 lines to 3 cards + CTA linking to
tinyml.seas.harvard.edu as the operational hub.

Community page: renamed outreach section, added "Become a Member" CTA.
Partners page: updated to AI engineering framing.

New license page: multi-license structure (CC-BY-NC-SA for content,
Apache 2.0 for TinyTorch, AGPL v3 for StaffML).

Fixed root LICENSE.md from CC-BY-NC-ND to CC-BY-NC-SA to match intent.
Updated README badge to match.

Navbar: reordered About dropdown (Mission → Our Story → People →
Contributors → License). Stripped textbook accent-bar headers from
site pages via CSS overrides. Threaded "AI engineering" consistently
across all page heroes and taglines.
2026-04-03 08:49:41 -04:00

766 lines
14 KiB
CSS

/* ============================================================================
About Page Styles — Machine Learning Systems
Consistent with landing site design language (Inter font, Harvard crimson).
============================================================================ */
:root {
--ab-accent: #A51C30;
--ab-accent-hover: #8a1728;
--ab-text: #1a1a2e;
--ab-text-muted: #6b7280;
--ab-bg: #ffffff;
--ab-card-bg: #f9fafb;
--ab-border: #e5e7eb;
}
.quarto-dark {
--ab-text: #e5e7eb;
--ab-text-muted: #9ca3af;
--ab-bg: #0f1117;
--ab-card-bg: #1a1d2e;
--ab-border: #374151;
}
/* ── Hero Section ── */
.about-hero {
padding: 6rem 2rem 3rem;
text-align: center;
max-width: 800px;
margin: 0 auto;
}
.about-eyebrow {
font-family: 'Inter', sans-serif;
font-size: 0.75rem;
font-weight: 600;
letter-spacing: 0.15em;
text-transform: uppercase;
color: var(--ab-accent);
margin-bottom: 1rem;
}
.about-title {
font-family: 'Inter', sans-serif;
font-size: clamp(2rem, 5vw, 3.5rem);
font-weight: 800;
line-height: 1.1;
color: var(--ab-text);
margin-bottom: 1.5rem;
}
.about-tagline {
font-family: 'Inter', sans-serif;
font-size: 1.15rem;
line-height: 1.6;
color: var(--ab-text-muted);
max-width: 600px;
margin: 0 auto 2rem;
}
/* ── Override textbook accent-bar headers for site pages ── */
main h2, article h2, #quarto-content h2,
main h3, article h3, #quarto-content h3,
main h4, article h4, #quarto-content h4 {
border-left: none;
border-bottom: none;
padding-left: 0;
padding-bottom: 0;
}
/* ── Section Layout ── */
.about-section {
max-width: 900px;
margin: 0 auto 4rem;
padding: 0 2rem;
}
.about-section h2 {
font-family: 'Inter', sans-serif;
font-size: 1.75rem;
font-weight: 700;
color: var(--ab-text);
margin-bottom: 0.5rem;
padding-top: 2rem;
}
.about-section h2 .section-icon {
margin-right: 0.5rem;
color: var(--ab-accent);
}
.about-section p, .about-section li {
font-family: 'Inter', sans-serif;
font-size: 1.05rem;
line-height: 1.7;
color: var(--ab-text-muted);
}
.about-section a {
color: var(--ab-accent);
text-decoration: none;
border-bottom: 1px solid transparent;
transition: border-color 0.2s;
}
.about-section a:hover {
border-bottom-color: var(--ab-accent);
}
.about-divider {
border: none;
height: 1px;
background: var(--ab-border);
margin: 3rem auto;
max-width: 200px;
}
/* ── Pillar Cards (Mission) ── */
.pillar-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
gap: 1.5rem;
margin-top: 1.5rem;
}
.pillar-card {
background: var(--ab-card-bg);
border: 1px solid var(--ab-border);
border-radius: 12px;
padding: 1.5rem;
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.pillar-card:hover {
transform: translateY(-3px);
box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.pillar-card .pillar-icon {
font-size: 1.5rem;
margin-bottom: 0.75rem;
}
.pillar-card h3 {
font-family: 'Inter', sans-serif;
font-size: 1rem;
font-weight: 700;
color: var(--ab-text);
margin-bottom: 0.5rem;
}
.pillar-card p {
font-size: 0.9rem !important;
line-height: 1.5 !important;
}
/* ── Stats Strip ── */
.stats-strip {
display: flex;
gap: 2rem;
flex-wrap: wrap;
justify-content: center;
margin: 2rem 0;
padding: 1.5rem;
background: var(--ab-card-bg);
border: 1px solid var(--ab-border);
border-radius: 12px;
}
.stat-item {
text-align: center;
}
.stat-number {
font-family: 'Inter', sans-serif;
font-size: 1.75rem;
font-weight: 800;
color: var(--ab-accent);
display: block;
}
.stat-label {
font-family: 'Inter', sans-serif;
font-size: 0.8rem;
font-weight: 500;
color: var(--ab-text-muted);
text-transform: uppercase;
letter-spacing: 0.08em;
}
/* ── Team Cards ── */
.team-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 1.5rem;
margin-top: 1.5rem;
}
.team-card {
background: var(--ab-card-bg);
border: 1px solid var(--ab-border);
border-radius: 12px;
padding: 1.5rem;
text-align: center;
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.team-card:hover {
transform: translateY(-3px);
box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.team-card img {
width: 80px;
height: 80px;
border-radius: 50%;
object-fit: cover;
margin-bottom: 1rem;
border: 3px solid var(--ab-border);
}
.team-card h3 {
font-family: 'Inter', sans-serif;
font-size: 0.95rem;
font-weight: 700;
color: var(--ab-text);
margin-bottom: 0.25rem;
}
.team-card .team-role {
font-family: 'Inter', sans-serif;
font-size: 0.8rem;
color: var(--ab-accent);
font-weight: 600;
margin-bottom: 0.25rem;
}
.team-card .team-affiliation {
font-family: 'Inter', sans-serif;
font-size: 0.8rem;
color: var(--ab-text-muted);
}
/* ── Contributors Grid ── */
.contributors-grid {
display: flex;
flex-wrap: wrap;
gap: 0.75rem;
justify-content: center;
margin-top: 1.5rem;
}
.contributor-avatar {
position: relative;
display: inline-block;
}
.contributor-avatar img {
width: 48px;
height: 48px;
border-radius: 50%;
border: 2px solid var(--ab-border);
transition: transform 0.2s ease, border-color 0.2s ease;
}
.contributor-avatar:hover img {
transform: scale(1.15);
border-color: var(--ab-accent);
}
.contributor-avatar .contributor-tooltip {
position: absolute;
bottom: 100%;
left: 50%;
transform: translateX(-50%);
background: var(--ab-text);
color: var(--ab-bg);
padding: 0.25rem 0.5rem;
border-radius: 4px;
font-size: 0.7rem;
font-weight: 600;
white-space: nowrap;
opacity: 0;
pointer-events: none;
transition: opacity 0.2s;
margin-bottom: 4px;
}
.contributor-avatar:hover .contributor-tooltip {
opacity: 1;
}
/* ── Adopter Logos ── */
.adopter-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
gap: 1rem;
margin-top: 1.5rem;
}
.adopter-card {
background: var(--ab-card-bg);
border: 1px solid var(--ab-border);
border-radius: 10px;
padding: 1.25rem;
text-align: center;
transition: transform 0.2s ease;
}
.adopter-card:hover {
transform: translateY(-2px);
}
.adopter-card .adopter-name {
font-family: 'Inter', sans-serif;
font-size: 0.85rem;
font-weight: 600;
color: var(--ab-text);
margin-bottom: 0.25rem;
}
.adopter-card .adopter-detail {
font-family: 'Inter', sans-serif;
font-size: 0.75rem;
color: var(--ab-text-muted);
}
/* ── Press Items ── */
.press-list {
list-style: none;
padding: 0;
margin-top: 1.5rem;
}
.press-list li {
background: var(--ab-card-bg);
border: 1px solid var(--ab-border);
border-radius: 10px;
padding: 1.25rem 1.5rem;
margin-bottom: 1rem;
display: flex;
align-items: flex-start;
gap: 1rem;
transition: border-color 0.2s;
}
.press-list li:hover {
border-color: var(--ab-accent);
}
.press-icon {
font-size: 1.25rem;
color: var(--ab-accent);
flex-shrink: 0;
margin-top: 0.15rem;
}
.press-content h3 {
font-family: 'Inter', sans-serif;
font-size: 0.95rem;
font-weight: 600;
color: var(--ab-text);
margin-bottom: 0.25rem;
}
.press-content p {
font-size: 0.85rem !important;
margin: 0 !important;
}
.press-date {
font-family: 'Inter', sans-serif;
font-size: 0.75rem;
color: var(--ab-text-muted);
font-weight: 500;
}
/* ── CTA Banner ── */
.cta-banner {
background: var(--ab-card-bg);
border: 1px solid var(--ab-border);
border-radius: 16px;
padding: 2.5rem;
text-align: center;
margin-top: 3rem;
}
.cta-banner h3 {
font-family: 'Inter', sans-serif;
font-size: 1.25rem;
font-weight: 700;
color: var(--ab-text);
margin-bottom: 0.75rem;
}
.cta-banner p {
max-width: 500px;
margin: 0 auto 1.5rem !important;
font-size: 0.95rem !important;
}
.cta-buttons {
display: flex;
gap: 1rem;
flex-wrap: wrap;
justify-content: center;
}
.cta-btn-primary {
display: inline-block;
padding: 0.75rem 2rem;
background: var(--ab-accent);
color: #fff !important;
text-decoration: none !important;
border-radius: 6px;
font-family: 'Inter', sans-serif;
font-weight: 600;
font-size: 0.95rem;
transition: background 0.2s;
border-bottom: none !important;
}
.cta-btn-primary:hover {
background: var(--ab-accent-hover);
}
.cta-btn-secondary {
display: inline-block;
padding: 0.75rem 2rem;
background: transparent;
color: var(--ab-text) !important;
text-decoration: none !important;
border: 1.5px solid var(--ab-border);
border-radius: 6px;
font-family: 'Inter', sans-serif;
font-weight: 500;
font-size: 0.95rem;
transition: border-color 0.2s;
}
.cta-btn-secondary:hover {
border-color: var(--ab-accent);
}
/* ── License Badge ── */
.license-badge {
display: inline-flex;
align-items: center;
gap: 0.5rem;
background: var(--ab-card-bg);
border: 1px solid var(--ab-border);
border-radius: 8px;
padding: 0.75rem 1.25rem;
font-family: 'Inter', sans-serif;
font-size: 0.9rem;
font-weight: 500;
color: var(--ab-text-muted);
margin-top: 1rem;
}
.license-badge i {
color: var(--ab-accent);
}
/* ── Timeline ── */
.timeline {
position: relative;
padding-left: 2rem;
margin: 1.5rem 0;
}
.timeline::before {
content: '';
position: absolute;
left: 0.45rem;
top: 0.5rem;
bottom: 0.5rem;
width: 2px;
background: var(--ab-border);
}
.timeline-item {
position: relative;
margin-bottom: 2rem;
padding-left: 1rem;
}
.timeline-item::before {
content: '';
position: absolute;
left: -1.85rem;
top: 0.35rem;
width: 10px;
height: 10px;
border-radius: 50%;
background: var(--ab-border);
border: 2px solid var(--ab-bg);
}
.timeline-current::before {
background: var(--ab-accent);
box-shadow: 0 0 0 4px rgba(165, 28, 48, 0.15);
}
.timeline-year {
font-family: 'Inter', sans-serif;
font-size: 0.75rem;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.1em;
color: var(--ab-accent);
margin-bottom: 0.25rem;
}
.timeline-content h3 {
font-family: 'Inter', sans-serif;
font-size: 1rem;
font-weight: 700;
color: var(--ab-text);
margin: 0 0 0.3rem;
}
.timeline-content p {
font-size: 0.9rem !important;
line-height: 1.6 !important;
margin: 0 !important;
}
.timeline-content a {
color: var(--ab-accent);
text-decoration: none;
}
.timeline-content a:hover {
text-decoration: underline;
}
/* ── People Group Labels ── */
.people-group-label {
font-family: 'Inter', sans-serif;
font-size: 0.7rem;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.12em;
color: var(--ab-text-muted);
margin: 2rem 0 0.5rem;
padding-bottom: 0.5rem;
border-bottom: 1px solid var(--ab-border);
}
.people-group-label:first-of-type {
margin-top: 1rem;
}
/* ── Team Bio (People page) ── */
.team-bio {
font-family: 'Inter', sans-serif;
font-size: 0.8rem !important;
line-height: 1.5 !important;
color: var(--ab-text-muted);
margin-top: 0.5rem;
}
.team-grid-wide {
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}
/* ── Compact Team Card (Research Contributors) ── */
.team-card-compact {
padding: 1rem;
}
.team-card-compact img {
width: 56px;
height: 56px;
}
.team-card-compact h3 {
font-size: 0.85rem;
}
/* ── Contributor Table (Contributors page) ── */
.contributors-table {
display: flex;
flex-direction: column;
gap: 0;
margin-top: 1rem;
}
.contributor-row {
display: flex;
align-items: center;
gap: 1rem;
padding: 0.75rem 1rem;
text-decoration: none !important;
border-bottom: 1px solid var(--ab-border);
transition: background 0.15s;
}
.contributor-row:hover {
background: var(--ab-card-bg);
}
.contributor-row img {
width: 40px;
height: 40px;
border-radius: 50%;
border: 2px solid var(--ab-border);
flex-shrink: 0;
}
.contributor-info {
flex: 1;
min-width: 0;
}
.contributor-name {
font-family: 'Inter', sans-serif;
font-size: 0.9rem;
font-weight: 600;
color: var(--ab-text);
display: block;
}
.contributor-handle {
font-family: 'Inter', sans-serif;
font-size: 0.75rem;
color: var(--ab-text-muted);
}
.contributor-count {
font-family: 'Inter', sans-serif;
font-size: 0.8rem;
font-weight: 700;
color: var(--ab-accent);
flex-shrink: 0;
min-width: 3rem;
text-align: right;
}
/* ── Compact Avatar Grid (Working Group, Research) ── */
.compact-avatar-grid {
display: flex;
flex-wrap: wrap;
gap: 1rem;
justify-content: center;
margin-top: 1.5rem;
}
.compact-avatar {
display: flex;
flex-direction: column;
align-items: center;
text-decoration: none !important;
color: inherit !important;
width: 72px;
transition: transform 0.2s;
}
.compact-avatar:hover {
transform: translateY(-3px);
}
.compact-avatar img {
width: 56px;
height: 56px;
border-radius: 50%;
object-fit: cover;
border: 2px solid var(--ab-border);
transition: border-color 0.2s;
}
.compact-avatar:hover img {
border-color: var(--ab-accent);
}
.compact-name {
font-family: 'Inter', sans-serif;
font-size: 0.65rem;
font-weight: 500;
color: var(--ab-text-muted);
margin-top: 0.35rem;
text-align: center;
line-height: 1.2;
max-width: 72px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.compact-avatar:hover .compact-name {
color: var(--ab-accent);
}
/* ── Contributors Mosaic (circle grid) ── */
.contributors-mosaic {
display: flex;
flex-wrap: wrap;
gap: 0.5rem;
justify-content: center;
margin-top: 1.5rem;
}
.contributor-circle {
position: relative;
display: inline-block;
text-decoration: none !important;
transition: transform 0.2s;
}
.contributor-circle:hover {
transform: scale(1.15);
z-index: 2;
}
.contributor-circle img {
width: 56px;
height: 56px;
border-radius: 50%;
border: 2px solid var(--ab-border);
transition: border-color 0.2s;
}
.contributor-circle:hover img {
border-color: var(--ab-accent);
}
.contributor-badge {
position: absolute;
bottom: -2px;
right: -2px;
background: var(--ab-accent);
color: #fff;
font-family: 'Inter', sans-serif;
font-size: 0.6rem;
font-weight: 700;
padding: 0.1rem 0.35rem;
border-radius: 8px;
line-height: 1.2;
min-width: 18px;
text-align: center;
}
/* ── Responsive ── */
@media (max-width: 768px) {
.about-hero {
padding: 4rem 1.5rem 2rem;
}
.about-section {
padding: 0 1.5rem;
}
.stats-strip {
gap: 1.5rem;
}
.team-grid {
grid-template-columns: repeat(2, 1fr);
}
.pillar-grid {
grid-template-columns: 1fr;
}
}
@media (max-width: 480px) {
.team-grid {
grid-template-columns: 1fr;
}
.cta-buttons {
flex-direction: column;
align-items: center;
}
}