AgeCommit message (Collapse)AuthorLines
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-2/+34
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-1/+0
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-16/+24
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
Give the login inputs explicit field typesBryce Kwon-1/+2
Trim the comments and dead code across the treeBryce Kwon-99/+28
Remove the theme toggleBryce Kwon-67/+9
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
Wrap the dates in time elementsBryce Kwon-12/+12
Make the breakpoints hide and restack, not resizeBryce Kwon-57/+36
Nothing changes size across a breakpoint any more. On a phone the tree listing keeps name and size, the diff and stat option panels hide, the owner line leaves the stacked masthead, and the search, switcher and authors wait until they fit.
Let the listings wrap and the diff tables scrollBryce Kwon-10/+19
Remove the repository homepage featureBryce Kwon-14/+0
Reformat the stylesheet and script to two spacesBryce Kwon-783/+826
Settle the names, types and layout of the sourcesBryce Kwon-44/+20
Drop the marker glyph on a targeted line numberBryce Kwon-5/+0
Settle the theme and header before the first paintBryce Kwon-4/+17
Right-align the repo owner to the header edgeBryce Kwon-1/+4
Drop the help tab and its built-in guideBryce Kwon-27/+0
Replace the browser markdown renderer with a filterBryce Kwon-8/+0
The readme is now escaped plain text unless `about-filter` points at the new `about-render.lua`, which renders markdown, man pages and plain text server-side. `enable-markdown` goes away with the renderer.
Redraw the logo and favicon at higher resolutionBryce Kwon-0/+10
Even out font sizes and drop dead stylesBryce Kwon-116/+47
Declutter the interface on small screensBryce Kwon-26/+22
Follow the theme in the external tab iconBryce Kwon-3/+13
Highlight and center fragment-targeted linesBryce Kwon-0/+31
Move syntax highlighting to a Lua source filterBryce Kwon-1/+3
Stat oversized diffs instead of inlining themBryce Kwon-0/+10