AgeCommit message (Collapse)AuthorLines
Line error text up with the contentBryce Kwon-1/+1
Messages such as Path not found sat 2em further in than every other block on the page.
Bring every text colour up to WCAG AABryce Kwon-9/+14
Muted, faint, the footer and the month and year ages fell short of 4.5:1 on the backgrounds they sit on, the row stripes and line number cells among them, and links inside sentences differed from the text around them only by colour. Each grey is now the lightest that clears 4.5:1 on its darkest background, with months stepped between weeks and years so the age fade keeps all six steps, and links in running text are underlined.
Mark the active tab and lines in forced coloursBryce Kwon-0/+13
A forced colours palette, such as a Windows high contrast theme, drops author backgrounds, and those were the only marks on the active tab and on the lines a URL names. The user's own Highlight colour takes their place.
Give the syntax highlight colours tokensBryce Kwon-6/+13
They were the only colours written into their rules, so a theme could not change them the way the README says it can change the rest.
Write sizes and spacing one wayBryce Kwon-23/+16
Font sizes mixed percentages with ems, several paddings and margins spelt out four values where fewer said the same, the blob and blame tables set their position in a rule of their own, and the odd rows repeated the base row background.
Order the stylesheet by page areaBryce Kwon-288/+288
Rules now run from the tokens and the base elements through the controls, the page frame, the listings, the readme, the blob and blame views, the commit page, the diff, the stats and the login form, to the media queries. Each rule moved whole, and every page renders the same in Chromium, WebKit and Firefox.
Tidy the diff and stat options panelBryce Kwon-9/+13
Its caption sat above the box, each select took its own width, and the reload button hung indented under them. The caption is now the panel's header strip, the selects and the button share one column at the width of the widest select, and the labels lose their colons to match the commit details.
Give form controls a border of 3:1 contrastBryce Kwon-2/+2
WCAG 1.4.11 asks for 3:1 where the border is what shows a field is there, and the search field has no other edge. The strong grey gives 5.7:1 on the light background and 3.2:1 on the dark one. Hover moves to the text colour so that it still shows.
Frame boxes and grids in the mid greyBryce Kwon-8/+8
The stats grid, the binary blob table and the line above a blob kept the black of the original stylesheet as the darkest grey, and the readme used the lightest, while the diffstat and diff options sat in between. Rules such as the tab bar and the header line keep the light grey.
Draw one focus ring on links and controlsBryce Kwon-1/+3
Links fell back to each browser's own ring, which differs in shape and colour from one engine to the next, while selects and inputs drew the link colour ring. The repository title clips its overflow, so it gets 3px of padding, given back by a negative margin, for its ring to show whole.
Square the corners of controls, tabs and labelsBryce Kwon-4/+4
The radius tokens stay, set to zero, since the README offers metrics to a theme, so a site can still round them. Zero rather than no radius at all, since WebKit's own stylesheet gives a select a radius of its own. The chevron loses its round caps and joins to match.
Drop a row background the stripes overrideBryce Kwon-4/+0
The stripe rules come later at the same specificity and match every row, so the logheader background never showed.
Write border shorthands in one orderBryce Kwon-8/+8
Share one rule between the ref labelsBryce Kwon-25/+10
The five rules differed only in their colours, so a change to the shape of a label had to be made five times over.
Stop folding a tag's signature awayBryce Kwon-15/+0
The fold put a click between the reader and the signature, and the browser's own disclosure marker and summary did not take the theme. The signature prints as part of the message again, as it did up to v2.9.1.
Fold a tag's signature away under its messageBryce Kwon-0/+15
The armour ran on for more lines than most tag messages, as part of the message itself. git finds the signature for every kind it can sign with, so PGP, SSH and X.509 all fold the same way.
Highlight list rows on hover only under a mouseBryce Kwon-13/+15
On a touch screen the highlight stayed on whichever row was tapped last.
Say when a login fails, and line up the formBryce Kwon-0/+20
A wrong password sent the reader back to the same empty form, which looked no different from a crash. The redirect now carries a flag the form reads, the same for an unknown user as for a wrong password, and the form leaves the flag out of the way back it signs.
Fade colour changes and the line highlight inBryce Kwon-0/+20
The fades are skipped for anyone who asks for reduced motion.
Brighten the logo in dark modeBryce Kwon-0/+6
Its dark red barely stood out from the dark background.
Run the blob and blame tables across the pageBryce Kwon-2/+2
A short file left the rule above the code, and the highlight bar under a fragment, only as wide as its longest line.
Let a commit's labels wrap apart from its subjectBryce Kwon-6/+13
The labels sat flush against the subject's last word, which made the two one unbreakable run, so a narrow cell stranded a word on its own line. A space now precedes each label and carries its gap, and a line that breaks there drops it, so a wrapped label starts flush.
Drop the comments from the stylesheetBryce Kwon-11/+0
Give every summary section the same columnsBryce Kwon-2/+2
The ref rows always spanned five columns and the log three to five, so with the default config the log and clone rows stopped 160px short of the table's edge, and with any config the log rows did on a phone, where they alone lost their counts. A column no cell began in also made the summary and refs pages invalid HTML.
Drop the diffstat modes on phonesBryce Kwon-0/+4
The modes took a third of a phone's width, so longer paths broke at a hyphen or a slash. The tree listing already drops its mode column at that width, and the diff itself still names a mode that changed.
Pad the inside of the diffstat boxBryce Kwon-0/+3
The modes in the first column sat against the box's left border. A table with collapsed borders ignores its own padding, so the box now keeps its borders separate to take some.
Draw the diffstat bars as SVGBryce Kwon-12/+6
The bars were cells spanning up to 1000 columns of a nested table, which kept them free of inline styles under a strict CSP but broke the HTML table model, 18 errors on a commit page, and left Firefox's longest bar short of the full width. An SVG canvas sized by its attributes is just as safe under a CSP, validates, and draws every bar exactly to scale.
Keep each snapshot link in one pieceBryce Kwon-0/+4
On a narrow screen the download column broke a snapshot name at a hyphen or left its signature link alone on the next line. Each file and its signature now stay together, and a line breaks only between them.
Stack the commit details on narrow screensBryce Kwon-8/+23
Below 900 pixels the name, address and date of an author or committer shared one row with the diff options beside it, so each wrapped into a sliver and the name dropped below its label. Each value now stacks under its label at those widths.
Keep the tabs on one rowBryce Kwon-6/+76
A window too narrow for the tabs wrapped the last of them onto a second row, held apart from the line under the others, as an iPhone showed on every repository page. The row now scrolls sideways instead, keeping the active tab in view and fading the side that hides more of them, and the tabs draw closer as the window narrows so all seven still fit at 360 pixels.
Set every monospace element in the theme fontBryce Kwon-3/+7
Only some pre elements named --font-mono, so code in a readme took the browser's own font, Courier in Chrome and Safari, rather than a theme's.
Keep the line highlight over the lines it namesBryce Kwon-4/+15
The bar was measured from the table's border edge, a pixel above where its offset counts from, and covered only the digits of each number. Its width was the part of the table in view, so scrolling a long line sideways left the highlight behind.
Show characters a browser breaks at as escapesBryce Kwon-0/+6
The HTML parser turns a carriage return with no line feed after it into a line feed, and WebKit starts a new line at U+2028 and U+2029, while git and the line numbers count line feeds alone, so each one set every later line of the tree and blame pages a line below its number. CSS Text makes vertical tab, form feed and next line forced breaks as well, though no engine honours that yet. The escapes follow gitweb, which shows control characters the same way.
Keep the code in step with its line numbersBryce Kwon-0/+8
The stylesheet overhaul in 4ce57f5 gave the pre of the tree and blame pages the site's monospace font but left the code element inside it on the browser's own, Courier in Safari and DejaVu Sans Mono on a typical Linux desktop. A line box holds both fonts on one baseline, so where their ascent and descent differ each code line comes out a little taller than its number. By the end of a 2,000 line file the code sat 45 lines low in Safari and 109 in all three engines on Debian.
Add stable markup hooks for site themesBryce Kwon-22/+44
Unify the docs, samples and extensionsBryce Kwon-19/+0
Keep the hash rows out of the column widthsBryce Kwon-0/+10
Split trailers out of the commit messageBryce Kwon-0/+17
Lay the tag table out like the commit tableBryce Kwon-1/+0
Clean up the whole treeBryce Kwon-6/+3
Give the login inputs explicit field typesBryce Kwon-1/+2
Trim the comments and dead code across the treeBryce Kwon-126/+52
Remove the auto-submitting selectsBryce Kwon-25/+4
Remove the theme toggleBryce Kwon-161/+13
Size the diffstat bars with colspan, not styleBryce Kwon-0/+2
Replace `nbsp` spacing with CSSBryce Kwon-0/+6
Fix the submodule rows in the tree listingBryce Kwon-0/+13
A submodule row linked to a path with its trailing slash stripped, was labelled by its path rather than its entry name, shared the name's element with its hash, claimed a size of zero and offered a blame button that cannot work on a gitlink.
Show a pinned commit in the switcher, title, crumbsBryce Kwon-0/+6
Match the content's bottom rule to the tab barBryce Kwon-1/+1
Size the ssdiff spacer with the cellBryce Kwon-4/+1