AgeCommit message (Collapse)AuthorLines
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
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-905/+948
Match the client age buckets to the server'sBryce Kwon-104/+156
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-14/+38
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-172/+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
Widen the `robots.txt` rules to extensionless pathsBryce Kwon-3/+2
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/+79
Move syntax highlighting to a Lua source filterBryce Kwon-229/+5
Stat oversized diffs instead of inlining themBryce Kwon-0/+10
Add a help page with common workflowsBryce Kwon-0/+27
Keep line structure in plaintext readmesBryce Kwon-0/+21
Submit option forms without inline handlersBryce Kwon-0/+18
Point the fork's links and credits at itselfBryce Kwon-1/+1
AUTHORS now records the upstream developers as the project's history rather than as maintainers of the fork.
Clamp negative ages in the age refresherBryce Kwon-0/+6
Render README markdown in the browserBryce Kwon-0/+251
cgit had no markdown support of its own, so a readme was rendered through an external python filter or not at all. Escaping the source and formatting it in cgit.js keeps the work in the browser like the blob highlighter, and the page stays readable as plain text without scripting.
Add built-in syntax highlightingBryce Kwon-0/+233
Highlighting previously required a source filter shelling out to something like Pygments. A configured source filter still takes precedence, every character is preserved so the line gutter stays aligned, and large files are skipped.
Adapt the layout to small screensBryce Kwon-0/+128
On a phone the description, owner and shortcut columns crowded the index and pushed the age off screen, and tapping the name already opens the repository, so the index collapses to name and age.
Add a light and dark theme toggleBryce Kwon-5/+105
The button is emitted hidden and only revealed by the script, so a browser without JavaScript never shows a control that cannot work and the page keeps tracking the system theme.
Overhaul the stylesheet with tokens and dark modeBryce Kwon-224/+465
The old sheet had no overflow rules, so wide code, diff, blame and stats blocks scrolled the whole page sideways on a phone. The classic layout, badge colours and age shading are kept.