#petermolnar[Jan_Lukas_Else]: any problems you've encountered so far?
#[Jan_Lukas_Else]No, I use Alpine Linux on the server and I think it was just a matter of changing a config file to get an IPV6 address and add a reverse DNS entry in Hetzner Cloud Console.
#[Jan_Lukas_Else]And of course an AAAA DNS entry on my domain
#petermolnarjeremycherfas: I am, unfortunately, aware of the label vs image width. I wanted to avoid using js for that gallery, and so it's pure CSS. Trouble is, the image sizing in CSS is kind of a mystery, because, unlike the label, it has a height limit as well; as a result, the width parameter is not trivial. I am yet to figure out how to size the label correctly to follow the image size.
#petermolnarbut I'm tempted to write a tiny bit of JS to overcome this limit
#jeremycherfasI didn't look in detail at the CSS, but if the caption div were flex contained within the image div, that might just work.
#petermolnarthat's the problem; it's not the caption, it's the h3 of the h-entry
#petermolnarthe whole gallery view is just a mere CSS whack on top of the normal view
#jeremycherfasI saw that. But could it not, on the gallery page, be something else? Or is that not DRY enough?
#jeremycherfasWell, the presentation obviously differs, but I see what you're saying.
[grantcodes] joined the channel
#[grantcodes]What's the goal with the image sizing? I'd be surprised if you couldn't do it with modern css.
#[grantcodes]Particularly `object-fit` is really useful for images if you don't want to mess with html stucture
[tantek] and [tw2113_Slack_] joined the channel
#petermolnar[grantcodes]: In the h-entry div there's a h3 for the title and the link, and a figure with an img inside. The gallery css sets the whole thing to be a flexbox, with limit on the h-entry width. simultaneously there's a max viewport height % on the image, making it fit nicely into any orientation and aspect ratio.
#petermolnartrouble is that now the img width is unknown to the sibling and I can't make the parent follow it either, because then the flexbox collapses
#petermolnarif you go to https://petermolnar.net/photo/index.html you'll see the default layout; once the "toggle gallery" is pressed, the CSS inside the inline CSS with id css_gallery and css_gallery_light activates