From 3d05a15cbe8003a5ac5d0c0a849aadf154c64d90 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Mon, 12 Oct 2026 09:57:12 +0000 Subject: [PATCH] Restyle /research and /join body panels onto design-system tokens The leftover styles.css glass box used a 10px radius, a cool white or #1e1e1e fill, and purple/blue headings. /join now uses the .panel surface, border, radius, and shadow tokens. /research drops that outer box because the publication list already sits on paper. Co-authored-by: Vatsal Sanjay | CoMPhy Lab --- assets/css/join-us.css | 36 ++++++++++++++++++++++++++---------- assets/css/research-v2.css | 24 +++++++++++++++++++++++- 2 files changed, 49 insertions(+), 11 deletions(-) diff --git a/assets/css/join-us.css b/assets/css/join-us.css index b80401b..24401d3 100644 --- a/assets/css/join-us.css +++ b/assets/css/join-us.css @@ -5,19 +5,15 @@ tokens.css + bridge.css (.card, .panel, .btn). Do not reintroduce white fills, per-section accent hues, or sub-token radii. Internships blockquote colour is owned - by a separate PR — leave it alone. */ + by #125 — leave it alone. */ :root { --join-bg-color: var(--color-background); --join-text-color: var(--color-text); - --join-heading-color: var(--color-heading-h1, #68236d); - --join-subheading-color: var(--color-primary); } [data-theme="dark"] { --join-bg-color: var(--color-background); --join-text-color: var(--color-text); - --join-heading-color: var(--color-heading-h1, #9a349f); - --join-subheading-color: var(--color-primary); } /* Join page main container */ @@ -31,22 +27,45 @@ .join-content { color: var(--join-text-color); + background: var(--c-surface-glass); + backdrop-filter: blur(16px); + -webkit-backdrop-filter: blur(16px); + border: 1px solid var(--c-border); + border-radius: var(--r-lg); + box-shadow: var(--shadow-soft); } /* Main heading styles */ .join-content h1 { - color: var(--join-heading-color); + color: var(--fg-strong); + font-weight: var(--t-weight-semi); text-align: center; margin-bottom: 3rem; } +.join-content h1, +.join-content h2, +.join-content h3, +.join-content.markdown-content h1, +.join-content.markdown-content h2, +.s-join .position-section h2, +.projects-showcase h2, +.project-category > h3, +.s-join .project-card h3 { + color: var(--fg-strong); + font-weight: var(--t-weight-semi); +} + +.join-content.markdown-content h2 { + border-bottom-color: var(--c-border); +} + /* Position sections compose .panel; keep layout spacing only. */ .s-join .position-section { margin: var(--s-7) 0; } .s-join .position-section h2 { - color: var(--join-subheading-color); margin-bottom: var(--s-5); font-size: 2.4rem; display: flex; @@ -95,7 +114,6 @@ } .projects-showcase h2 { - color: var(--join-heading-color); text-align: center; margin-bottom: 2rem; font-size: 2.8rem; @@ -118,7 +136,6 @@ } .project-category > h3 { - color: var(--join-subheading-color); font-size: 2.2rem; margin-bottom: 2rem; text-align: center; @@ -146,7 +163,6 @@ } .s-join .project-card h3 { - color: var(--join-subheading-color); margin-bottom: var(--s-4); font-size: 1.8rem; line-height: 1.3; diff --git a/assets/css/research-v2.css b/assets/css/research-v2.css index 9714f28..ed64b99 100644 --- a/assets/css/research-v2.css +++ b/assets/css/research-v2.css @@ -400,14 +400,36 @@ background: color-mix(in srgb, var(--c-accent-teal) 8%, transparent); } +/* Drop the leftover styles.css glass box. The publication list already + sits on --c-paper beside a TOC and year rules; a second surface + (10px radius, legacy shadow, cool white / #1e1e1e fill) is a frame + around a frame. Keep the in-body h1 visible; it is content, not + chrome. */ .research-content { max-width: none; min-width: 0; + background: transparent; + backdrop-filter: none; + -webkit-backdrop-filter: none; + box-shadow: none; + border: 0; + border-radius: 0; + padding: 0; +} + +.research-content h1 { + color: var(--fg-strong); + font-weight: var(--t-weight-semi); + font-family: var(--t-serif); + background: none; + -webkit-text-fill-color: currentcolor; + -webkit-background-clip: unset; + background-clip: unset; } .research-content h2 { font-family: var(--t-serif); - font-weight: 600; + font-weight: var(--t-weight-semi); font-size: clamp(22px, 2.4vw, 28px); color: var(--fg-strong); letter-spacing: -0.01em;