diff options
| author | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2026-10-30 09:32:00 +0100 |
|---|---|---|
| committer | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2026-10-30 09:32:00 +0100 |
| commit | fc07e1b7b2849110679abc806760567a47c36e9f (patch) | |
| tree | 8c52dd0bd9b8c18370847a16c255ab6c4b599ffa /examples/style.css | |
| parent | a40c31c2da22d155da49f8fc2e79aece004e601f (diff) | |
examples: size slides and thumbs for ordinary photos too
The historical 20000x500 slide rule was strip-specific: a normal
4:3 photo was squeezed to 500 px height. Cap the long edge at
6000 px instead (full size for typical photos, sane for stitched
images); thumbs fit 480x480 so gallery cards and hover popups look
right for both aspect ratios.
Diffstat (limited to 'examples/style.css')
| -rw-r--r-- | examples/style.css | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/style.css b/examples/style.css index cd00d26..946e83f 100644 --- a/examples/style.css +++ b/examples/style.css @@ -150,7 +150,7 @@ ul.markers { position: absolute; inset: 0; margin: 0; padding: 0; list-style: no background: none; border: 2px solid var(--label-bg); } -.pop.thumb img { display: block; border-radius: 6px; max-width: 400px; } +.pop.thumb img { display: block; border-radius: 6px; max-width: 480px; } .pop.thumb .cap { position: absolute; left: 0; right: 0; bottom: 0; |
