mason/dhandler, static/tgal.css: Embrace idea of multiple thumbnail sets.
authorMark Wooding <mdw@distorted.org.uk>
Fri, 24 Dec 2021 17:32:57 +0000 (17:32 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Sat, 25 Dec 2021 16:10:05 +0000 (16:10 +0000)
commit6e749fabbf4a2758454db148bd366367069142c5
tree0a4b6f34185aba4189c17904d03e927bccf84523
parent4e74ddf4ab1a4c3a7a3b9936a978f225a690aa7d
mason/dhandler, static/tgal.css: Embrace idea of multiple thumbnail sets.

Rather than a single row of thumbnails, the code is now structured so
that it might have several at the same time, with different sizes.  CSS
media queries can control which one actually gets displayed.

Internally, we make two passes over a directory, fetching the images the
first time through, and making scaled thumbnails afterwards, and
introduce loops over the available sizes (though currently there's only
the one).

We're actually just making the same display as before, so there's still
no functional change.
mason/dhandler
static/tgal.css