Skip to content

Commit 443ccd1

Browse files
Mazizovaclaude
andcommitted
Drop the mockup's serif type and remove the "More releases" note
Per feedback: only the mockup's block placement should have carried over, not its own visual style. This reverts the typographic detour: - Removed the $font-serif variable, the Newsreader Google Fonts import, and every font-family/font-weight/font-size override that pointed at it (list H1, card titles, "In the news" H2, the detail page's H1 and its h3 section headings). All of these now fall back to the site's existing global h1-h6 rules (Inter, weight 700) — the same defaults blog posts and every other page already use, so there's nothing new to maintain. - Removed the now-empty light-theme color overrides that existed only to support the removed rules. - Removed the "More releases will appear here as they are published." line from the Press Releases hub, and the now-dead .press-more-note CSS and its lt-2-releases template conditional. Block placement — eyebrow above the title, badge/dateline/lead order, the bordered release card, the Founding Board row table, the Media contact box, the back-link navigation — is unchanged; only typography reverted to the site's own defaults. Testing: hugo --minify — clean build, 201 pages, 0 errors. Verified both pages in both themes: headings render in Inter/700 throughout, matching the rest of the site, and the removed note no longer appears. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
1 parent 9563986 commit 443ccd1

5 files changed

Lines changed: 19 additions & 66 deletions

File tree

‎assets/scss/_light-theme.scss‎

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -943,10 +943,7 @@
943943
.press-media-kit-title { color: #0f172a; }
944944
.press-media-kit-desc { color: #64748b; }
945945

946-
.press-coverage {
947-
border-top-color: #dde3ed;
948-
h2 { color: #0f172a; }
949-
}
946+
.press-coverage { border-top-color: #dde3ed; }
950947
.press-coverage-sub { color: #64748b; }
951948

952949
.press-release--detail {
@@ -956,8 +953,6 @@
956953
border-color: rgba(0, 200, 255, 0.3);
957954
}
958955

959-
.press-release-inner h1 { color: #0f172a; }
960-
961956
.press-board-row { border-bottom-color: #dde3ed; }
962957
.press-board-name { color: #0f172a; }
963958
.press-board-role { color: #64748b; }

‎assets/scss/_news.scss‎

Lines changed: 16 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -33,37 +33,23 @@
3333
padding: 0 2rem $section-pad;
3434
}
3535

36-
// ── Detail-page-only additions (press_releases_mockup.pdf), scoped under
37-
// this modifier so the homepage's own .press-release embed is untouched ──
36+
// ── Detail-page-only additions (press_releases_mockup.pdf layout, styled
37+
// with the site's own standard components/colors/type — not the mockup's
38+
// own look), scoped under this modifier so the homepage's own
39+
// .press-release embed is untouched ──
3840
.press-release--detail {
39-
.press-release-inner {
40-
.press-badge {
41-
display: inline-block;
42-
font-size: 0.7rem;
43-
font-weight: 700;
44-
letter-spacing: 0.08em;
45-
text-transform: uppercase;
46-
color: $accent;
47-
background: $accent-glow;
48-
border: 1px solid rgba($accent, 0.3);
49-
border-radius: 6px;
50-
padding: 0.3rem 0.7rem;
51-
margin-bottom: 0.875rem;
52-
}
53-
54-
h1 {
55-
font-family: $font-serif;
56-
font-weight: 500;
57-
font-size: clamp(1.75rem, 4vw, 2.5rem);
58-
line-height: 1.25;
59-
color: $white;
60-
margin: 0 0 1rem;
61-
}
62-
63-
h3 {
64-
font-family: $font-serif;
65-
font-weight: 500;
66-
}
41+
.press-release-inner .press-badge {
42+
display: inline-block;
43+
font-size: 0.7rem;
44+
font-weight: 700;
45+
letter-spacing: 0.08em;
46+
text-transform: uppercase;
47+
color: $accent;
48+
background: $accent-glow;
49+
border: 1px solid rgba($accent, 0.3);
50+
border-radius: 6px;
51+
padding: 0.3rem 0.7rem;
52+
margin-bottom: 0.875rem;
6753
}
6854

6955
.press-board-table {
@@ -128,14 +114,6 @@
128114
}
129115

130116
// ── Press Releases hub (list.html) ──
131-
.press-newsroom {
132-
h1 {
133-
font-family: $font-serif;
134-
font-weight: 500;
135-
font-size: clamp(2rem, 4vw, 2.75rem);
136-
}
137-
}
138-
139117
.newsroom-eyebrow {
140118
display: block;
141119
font-size: 0.75rem;
@@ -183,7 +161,6 @@
183161
}
184162

185163
.press-card-title {
186-
font-family: $font-serif;
187164
font-weight: 600;
188165
font-size: 1.375rem;
189166
line-height: 1.3;
@@ -204,12 +181,6 @@
204181
color: $accent;
205182
}
206183

207-
.press-more-note {
208-
font-size: 0.875rem;
209-
color: $muted;
210-
margin: 0 0 2.5rem;
211-
}
212-
213184
.press-media-kit {
214185
display: flex;
215186
align-items: center;
@@ -238,12 +209,6 @@
238209
.press-coverage {
239210
padding-top: 2.5rem;
240211
border-top: 1px solid $dark-border;
241-
242-
h2 {
243-
font-family: $font-serif;
244-
font-weight: 500;
245-
font-size: 1.5rem;
246-
}
247212
}
248213

249214
.press-coverage-sub {

‎assets/scss/_typography.scss‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500&family=Newsreader:opsz,wght@6..72,400;6..72,500;6..72,600;6..72,700&display=swap');
1+
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500&display=swap');
22

33
html {
44
font-size: 16px;

‎assets/scss/_variables.scss‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,6 @@ $warm: #ff6b35;
1919
// Typography
2020
$font-sans: 'Inter', system-ui, -apple-system, sans-serif;
2121
$font-mono: 'JetBrains Mono', 'Fira Code', monospace;
22-
// Editorial serif — Press Releases headings only (newsroom feel, per the
23-
// press_releases_mockup.pdf), not used anywhere else on the site.
24-
$font-serif: 'Newsreader', Georgia, 'Times New Roman', serif;
2522

2623
// Breakpoints
2724
$break-sm: 576px;

‎layouts/news/press-releases/list.html‎

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
{{ $releases = $releases.ByDate.Reverse }}
1717
{{ $clippings = $clippings.ByDate.Reverse }}
1818

19-
<div class="page-layout news-page press-newsroom">
19+
<div class="page-layout news-page">
2020
<nav class="resources-breadcrumb" aria-label="Breadcrumb">
2121
<a href="/news/">News</a>
2222
<span class="breadcrumb-sep" aria-hidden="true">/</span>
@@ -43,10 +43,6 @@ <h2 class="press-card-title">{{ .Title }}</h2>
4343
{{ end }}
4444
</div>
4545

46-
{{ if lt (len $releases) 2 }}
47-
<p class="press-more-note">More releases will appear here as they are published.</p>
48-
{{ end }}
49-
5046
<div class="press-media-kit">
5147
<div>
5248
<p class="press-media-kit-title">Media kit</p>

0 commit comments

Comments
 (0)