commit 722247c2be707ce594c84a6d9aec28b026af7042 Author: Alberto Bertogli Date: Thu Sep 14 23:01:51 2023 +0100 css: Truncate long descriptions In the index, if the descriptions are too long, it can make the table quite awkward to read. This patch makes them truncate automatically. commit 39cff29f4b11d94430a3d70a0708c66df7f6946b Author: Alberto Bertogli Date: Wed Aug 23 19:02:43 2023 +0100 Support main branches other than "master" This patch adds support for having the main branch be named different than "master". It will use "master" or "main" if available, and fall back to the first branch name if they're both missing. commit dff4ff6757333d379bc01ba3490be89555a2e38c Author: Alberto Bertogli Date: Mon Sep 26 02:43:55 2022 +0100 css: Work around Pygments' element layout changes Pygments 2.12 changes the element layout slightly, adding a wrapper
that was accidentally removed before: https://github.com/pygments/pygments/issues/632. This patch adds a workaround, so the styling is consistent on both 2.11 and 2.12. commit 6ea59bad517948bd8b5fd82f4c621811ee5c6b88 Author: Alberto Bertogli Date: Sun Sep 25 21:18:13 2022 +0100 css: Dark mode for Pygments' syntax highlight This patch updates Pygments' syntax highlight CSS to support dark mode. It uses two themes from Pygments: `default` for light (same as before), and `native` for dark. commit 4b1e1eb84cd7f498c83165a8b2e075c73705ade0 Author: Alberto Bertogli Date: Sun Sep 25 19:56:16 2022 +0100 css: Introduce dark mode This patch extends our CSS to introduce dark mode, so the style shown matches the user media preference. It is very analogous to the previous one, only minor adjustments have been made to make the contrast levels pass the accessibility standards. No changes have been made to the pygments CSS. It works surprisingly well as-is, but there are some minor changes that may be needed. Those will be done in subsequent patches. commit 518188288e629b2a6912843f8c0dcc51960a22da Author: Alberto Bertogli Date: Wed Aug 31 21:48:45 2022 +0100 Cache some (possibly) expensive function calls This patch memoizes some of the functions to help speed up execution. The speedup is quite variable, but ~30% is normal when generating a medium size repository, and the output is byte-for-byte identical. commit 15547b279664602d524f20630fdb35f5424b0eba Author: Alberto Bertogli Date: Wed Aug 31 21:07:53 2022 +0100 utils: Update Markdown local links extension to the new API The Markdown extension for rewriting local links was using an API that is now deprecated, and as of python-markdown 3.4 it is no longer available. This patch adjusts the code to use the new API which should be available from 3.0 onwards. commit 9f3df4899fbb736d77ae1ded8104d8a8b83594c6 Author: Alberto Bertogli Date: Sat May 15 01:04:19 2021 +0100 css: Improve handling of text overflow in
    
    When a 
 section (commit message, blob, diff) has a very long line,
    today it makes the entire page very wide, causing usability issues.
    
    This patch makes 
 have a horizontal scroll in those cases, which is
    easier to use.

commit bc1ee87dfeece93c92bf14f5af1008278fe05e46
Author: Alberto Bertogli 
Date:   Sat May 15 00:58:11 2021 +0100

    css: Reduce commit-message left padding
    
    The commit message has a very large left and right padding, but doesn't
    improve readability and might make the commit message more difficult to
    read on smaller screens.
    
    This patch shortens the padding.

commit 0d61bbf7f525311d93e4f612334ec38f55c3318d
Author: Alberto Bertogli 
Date:   Sat May 15 00:49:11 2021 +0100

    css: Auto-format git-arr.css
    
    Auto-format static/git-arr.css with https://blitiri.com.ar/git/r/css3fmt/
    for consistency.