summaryrefslogtreecommitdiff
path: root/crates/gipfel-app/src/compass.rs
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2026-10-30 09:02:20 +0100
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2026-10-30 09:02:20 +0100
commit6bf66bb291daa4cb924185231e67ecaccf250337 (patch)
tree832dc7725a1f566ef4bea261d3c00d415aaf5f41 /crates/gipfel-app/src/compass.rs
parentd707817b333de9c723ddc1df98c81093d8234918 (diff)
examples: modernize gipfelweb — responsive, dark/light, one page per panorama
- markers positioned in percent of the slide (identify reads the dimensions), so the panorama scales with the viewport; a CSS-only 'Full resolution' checkbox switches to natural size with horizontal scrolling - peaks and photos now share one page; chip-style checkboxes toggle Peaks / Photos / Labels / Full resolution (pure CSS sibling selectors, no JavaScript) - interaction for all input types: hover (mouse), :focus-within (keyboard, markers are anchors), :target (touch, tap to open a popup); popups get below/left/right classes from the generator so they never leave the image - labels show distance (the data always had it): NAME · 2849 m · 12.3 km - new gallery index.html (thumbnail grid), dark/light via prefers-color-scheme, system font stack, lazy thumbnails, aria labels, viewport meta; stylesheet is a single external style.css - backlink updated to flpsed.org/gipfel.html - gipfel2html: LC_ALL=C (awk decimal separator), no pipe-subshell marker loops (counter must survive), exact cross-reference matching The old two-page (images/hills) split is gone; the hills view is the Peaks toggle now.
Diffstat (limited to 'crates/gipfel-app/src/compass.rs')
0 files changed, 0 insertions, 0 deletions