Repository navigation
Load the Inter font and improve text readability - #209
Open
bendichter wants to merge 8 commits into
Open
bendichter wants to merge 8 commits into
bendichter wants to merge 8 commits into
Conversation
Every font-family rule in style.css names Inter, but the font never loaded. Its `@import` sat in the middle of the stylesheet, and browsers ignore an `@import` that comes after other rules, so headings, lists and navigation fell back to Helvetica or Arial. Paragraphs written in Markdown have no inter-* class and used Bootstrap's system font stack, so a page could show two typefaces. The font is now requested from the page head, with a preconnect, and `body` is set to Inter so that all text uses it. Inter is slightly wider than the fallback fonts. The header button would wrap to two lines between 1200 and 1400 px, so it is marked nowrap. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Paragraphs have no width limit, so on a desktop window they stretch across the whole container. On the About, Team, FAQ and tool pages that is 130 to 170 characters per line, about twice what is comfortable to read. Paragraphs and list items are now capped at 40em, measured in their own font size. Those that hold an image, video, embed, table, code block or nested layout are left alone, as are headings, cards and grids. Centered paragraphs get auto margins so that they stay centered. Nothing changes at phone width, where lines are already short. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
The body of a news post is set in #737780, which has a contrast ratio of 4.49:1 on white, just under the 4.5:1 that WCAG AA asks for. News posts now use #374151 (10.3:1), the color the other templates use for body text. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
✅ Deploy Preview for nwborg ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
This was referenced Oct 11, 2026
Contributor
Author
Before and after"Before" is the production site and "after" is this PR's Netlify deploy preview, both at 1440 px wide. FAQ, "Why HDF5": Inter replaces the fallback font and lines are capped at about 80 characters
News post: darker body text, plus the font and line length changes
About NWB: Inter in the navigation, heading and body
🤖 Generated with Claude Code |
bendichter
enabled auto-merge
October 13, 2026 23:07
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.






Combines three PRs about body text. Each one is a separate merge commit, so they can be reviewed one at a time.
font-familyrule names Inter, but its@importcame after other rules and was ignored, so pages fell back to Helvetica, Arial or the system font. The font is now requested from the page head and set onbody. Pages grow by up to 5% in height.#737780(4.49:1 on white, just under WCAG AA) to#374151(10.3:1), the color other templates use.The combined branch builds with Hugo 0.152.2 and produces the same 165 pages as
main.Supersedes #202, #203 and #204.
🤖 Generated with Claude Code