Repository navigation
Fit near misses, set mathematics on one rhythm, keep lines whole and draw four key results - #115
Merged
Merged
Conversation
The home profile, the internship and school entries, and the repository README lead with what was done and produced, in precise verbs.
…ugh Heston misfit, the grader ceiling and the budget frontier
A box shows a scrollbar, or a formula its fade, only when its content is genuinely wider or taller than its room. Display equations and wide inline formulas that overshoot by a little are set smaller, down to nine tenths of their size; article tables close up their columns continuously to an em between them; zoomed figures and tables are set whole within the same bound; figure comparisons and blog panoramas take their room until it is a tenth short of their scroll width; Figure 4 of the dependence paper keeps room for its hanging axis name and ticks. The browser layout check fails any scroll box that overflows by less than 16px, or 8% of its room.
Every multi-row display (aligned, gathered, cases, arrays, matrices) sets its rows one reading line and a jot apart (1.7348em of the math size), keeping the space a row break asks for. Inline formulas keep their canvas gutters out of the line, so prose holds the reading leading. Displays stand in 2.5 reading lines of white space on each side and between two displays. Array rules carry their own stroke. The layout check holds both rhythms.
… ranges and words whole List markers stand whole in a column as wide as each list's widest number, right-aligned in tabular figures with one gap to the text; legal note numbers align on the right and Return to Text holds one line. Written-out addresses and DOIs break only at separators, never after their own hyphen; hyphenated number ranges and long identifiers keep together; prose numbers keep their closing punctuation. Contents entries hang their numbers. Words set the narrowest width of the boxes that hold them (overflow-wrap: break-word). The browser layout check gains a text pass over every page at seven widths, and a static test guards the markup.
# Conflicts: # website/content/protected-sources.json
# Conflicts: # docs/design.md # website/content/protected-sources.json # website/scripts/check-browser-layout.mjs
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.
Four classes of layout problems are fixed site-wide, four key results get figures, and the About and Experience copy is stated at full strength.
The visible-copy check reads a word break, and the empty separators React writes beside one where its stream divides a run of text, as no text; when a page does not match, it prints the text it read. The browser layout check now fails on near-miss scrolling, uneven display spacing, stretched prose leading, split markers, split tokens and unhung contents entries, at 320 to 1920px.
Checks: 143 tests, lint, type check, 36 protected sources, the visible-copy manifest and the browser layout check (42 figures, 314 cases, plus the manuscript, text and scroll passes on every page) pass.