From bec163e60432e1303a37a6a7371156500e8a98e6 Mon Sep 17 00:00:00 2001 From: Johannes Hofmann Date: Wed, 28 Oct 2026 08:26:02 +0100 Subject: web: tagline becomes the info link; desktop hover wording MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The 'web gipfel photogrammetry' tag under the title now links to flpsed.org/gipfel.html (grey like plain text, accent blue on hover); the separate 'More information…' row is gone. Hover readout uses the desktop phrasing: 'Name · 2849 m · distance 12.34 km'. --- crates/wipfel/src/app.rs | 7 +++---- crates/wipfel/www/style.css | 9 +++------ 2 files changed, 6 insertions(+), 10 deletions(-) (limited to 'crates') diff --git a/crates/wipfel/src/app.rs b/crates/wipfel/src/app.rs index eae47d9..466ccc7 100644 --- a/crates/wipfel/src/app.rs +++ b/crates/wipfel/src/app.rs @@ -832,7 +832,7 @@ pub fn app() -> Html { .map(|i| { let h = &p.hills[i]; format!( - "{} · {:.0} m · {:.2} km", + "{} · {:.0} m · distance {:.2} km", h.name, h.height, p.get_real_distance(i) / 1000.0 @@ -938,9 +938,8 @@ pub fn app() -> Html {

{ "wipfel" }

-

{ "web gipfel photogrammetry" }

- { "More information…" } + { "web gipfel photogrammetry" } if bitmap.is_some() { diff --git a/crates/wipfel/www/style.css b/crates/wipfel/www/style.css index 120aa8e..3ef48b1 100644 --- a/crates/wipfel/www/style.css +++ b/crates/wipfel/www/style.css @@ -87,19 +87,16 @@ body { font-size: 22px; } .tag { + display: block; margin: 0 0 12px; color: #8a8a94; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; -} -.moreinfo { - color: #7fa5e8; - font-size: 12px; text-decoration: none; - margin-top: -6px; } -.moreinfo:hover { +.tag:hover { + color: #7fa5e8; text-decoration: underline; } .sidebar button { -- cgit v1.2.3