Repository navigation
Match Substack's font size and text column width - #231
Merged
thomasjpfan merged 1 commit intoNov 1, 2026
Merged
Conversation
Restore the front matter of assets/css/main.scss: since 0b5b3f3 it was commented out, so Jekyll copied the file without compiling it and its font-size override was ignored. Body text is now 17px on phones and 19px from 768px up, instead of growing to 22px, and the post column is a fixed 728px instead of being squeezed by the empty table-of-contents column. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
💖 Thanks for opening this pull request! 💖 |
✅ Deploy Preview for scikit-learn-blog ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
✅ Deploy Preview for scikit-learn-blog-view ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
cakedev0
marked this pull request as ready for review
October 29, 2026 16:00
cakedev0
added a commit
to cakedev0/my-scikit-learn-backlog
that referenced
this pull request
Nov 2, 2026
done: Blog: [blog#231](scikit-learn/blog#231) (match Substack's font size), merged todo: move [blog#228](scikit-learn/blog#228) from Waiting to Now: address lorentzenchr's review and answer jjerphan on the OpenBLAS threading layers todo: move [sklearn#35181](scikit-learn/scikit-learn#35181) from Now to Waiting, adam2392's and antoinebaker's questions answered add: Maintenance: follow up on [sklearn#35254](scikit-learn/scikit-learn#35254): settle option B with dherrera1911 and betatim (LDA solvers disagree with custom priors) add: Maintenance: follow up on [sklearn#35209](scikit-learn/scikit-learn#35209): newton-cg LogisticRegressionCV test fails on the macOS x86_64 wheels add: Maintenance: re-review [sklearn#34619](scikit-learn/scikit-learn#34619) (faster PCA mle; jberg5 addressed my comments) add: Benchmarks: review [benchmarks#142](probabl-ai/scikit-learn-benchmarks#142) (cuML config) with the results of the AWS L4 run add: Upstream: upstream to OpenBLAS or close [cakedev0/OpenBLAS#3](cakedev0/OpenBLAS#3) and [cakedev0/OpenBLAS#4](cakedev0/OpenBLAS#4) todo: since dates on [sklearn#35062](scikit-learn/scikit-learn#35062) and [sklearn#35053](scikit-learn/scikit-learn#35053), and virchan's question on the latter todo: lorentzenchr's note on [sklearn#35029](scikit-learn/scikit-learn#35029) in the fork#38 line Co-Authored-By: Claude Opus 5.5 <[email protected]>
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.


Follow-up to the readability remark in #228 (comment): the body text is very large and the column narrow, which makes posts hard to read on wide screens.
Both come from the theme, not from individual posts:
assets/css/main.scssin 2022 (d27bae7), but it has had no effect since 0b5b3f3 (Feb 2025) turned the file's front matter into comments: Jekyll now copiesmain.scsswithout compiling it (it is served raw at/assets/css/main.scss), and the livemain.cssuses the theme defaults. The archive-title andvideorules of that file were lost the same way.toc. With the author sidebar on the left, the text is ~636px wide at 22px, 63 characters per line.This PR restores the front matter and matches the Substack post used as a reference. Measured in headless Chrome:
Each cell is font size, text column width, and the median number of characters on full lines (last line of each paragraph excluded), counted in the browser on the Substack post and on this post. At the same size and width, Substack's serif font and the theme's sans-serif fit about the same number of characters.
The font change scales the whole page (headings, navigation, sidebar), because the theme sizes everything relative to the root. Font family (Substack uses a serif) and line height (1.6 vs 1.5) are left unchanged.
🤖 Generated with Claude Code