Repository navigation
[cv] Print stylesheet for a 2-page A4 CV, tighter prose, more emphasis - #11
Merged
Merged
Conversation
Printing or saving the site as PDF from the browser gave 5 pages at the Minima screen size. A print stylesheet in style.scss now sets A4 at 9pt, drops the nav menu and footer, keeps the name and job title as the heading, and tightens headings and lists, so the page prints on two A4 sides with room for growth under three. The CV text gets more emphasis: bold on the key methods, artifacts and numbers (agents over biological databases, diffusion transformers, 6 PhD students, 100+ models, £50k, €5M, 40+ researchers), italic on the caveats and author positions. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01JFVYogXC9MgS2EuFBvrZog
The Minima layout links only /assets/main.css, so rules added to assets/css/style.scss compile to a file no page loads. The print rules move to an assets/main.scss that overrides the theme's and imports minima first, so they ship in the stylesheet the page uses. style.scss goes back to how it was. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01JFVYogXC9MgS2EuFBvrZog
There was a problem hiding this comment.
Copilot review overview
🟢 Approval recommended
The print rules are scoped appropriately and the content edits preserve the existing wording.
Review effort: Balanced
Findings: None
What changed in this PR
Adds browser-print styling for a compact two-page A4 CV while strengthening emphasis throughout the portfolio content.
Changes:
- Adds print-only A4 layout, typography, spacing, and visibility rules.
- Adds bold and italic emphasis to CV achievements, metrics, methods, and qualifiers.
| File | Description |
|---|---|
assets/main.scss |
Imports Minima and adds the print stylesheet. |
index.md |
Adds emphasis to existing CV content without changing wording. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
The PhD entry now names the software rather than the instrument alone: automated acquisition, bead tracking that aligned the holographic optics, and flOPT, the tomographic reconstruction that recovers the sample pose from tracked fiducial beads and stays robust to mechanical jitter and drift (Scientific Reports, open-source Python with OpenCV). The matching publication line gains the same description. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01JFVYogXC9MgS2EuFBvrZog
Summary, Experience, and Education go through a less prosaic pass; long bullets split into two sentences, connective clauses cut, and semicolons used where two facts share a bullet. Every fact, number, and emphasised term is kept, checked token by token. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01JFVYogXC9MgS2EuFBvrZog
The tightening pass had drifted three facts; restored "jointly with" for RNA-seq and imaging, "Work on" for the screening evaluation, and "micrometre-scale" for the PhD tomography. flOPT's robustness is now stated once, in Education, and the publication line is neutral. Emphasis comes off the weak or filler spans; co-author and patent pending go plain, as do adjective italics and the Summary's noun list. HGNC joins the Skills databases, the grant dates use the same spaced dash as the rest, and the stale cv.pdf rule leaves the print CSS. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01JFVYogXC9MgS2EuFBvrZog
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01JFVYogXC9MgS2EuFBvrZog
cv-print.css keeps a role heading on the same page as its bullets, so make pdf no longer splits the National Physical Laboratory entry across the break. _config.yml gains url, author, and a real description, so jekyll-seo-tag emits a meta description and canonical link. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01JFVYogXC9MgS2EuFBvrZog
This was referenced Oct 4, 2026
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.
Summary
Printing or saving ctr26.github.io as a PDF from the browser ran to 5 pages at Minima's screen size. This PR makes the printed page a compact A4 CV, tightens the prose into shorter CV bullets, adds emphasis, leans the PhD entry into the code, and absorbs the still-useful parts of #10 and #7.
Print stylesheet (
assets/main.scss)assets/main.scssoverrides the theme's, importsminimaand appends the print rules, so they ship in/assets/main.css, the only stylesheet the Minima layout links. (assets/css/style.scsscompiles to a file no page loads, which is why the first commit put the rules there and nothing changed; it is back to how it was.)@pageA4 with 10mm/13mm margins; body at 9pt, line-height 1.27@media print)Prose (
index.md)Emphasis (
index.md)PhD entry (
index.md)Ported from other PRs
p:has(+ ul) { break-after: avoid; }incv-print.css, somake pdfkeeps a role heading with its bullets (the NPL entry now starts page 2 whole)url,authorand a realdescriptionin_config.yml, so jekyll-seo-tag emits a meta description and canonical link. The dead publications workflow/JS/JSON removal in [build] Drop the dead publications workflow, loader, and data #7 is not ported hereTesting
index.htmlwith headless Chromium: 2 A4 pages on the real Jekyll outputmake pdf(pandoc +cv-print.css): 2 pages, NPL entry whole on page 2🤖 Generated with Claude Code
https://claude.ai/code/session_01JFVYogXC9MgS2EuFBvrZog