diff options
| -rw-r--r-- | crates/wipfel/src/app.rs | 7 | ||||
| -rw-r--r-- | crates/wipfel/www/style.css | 9 | ||||
| -rw-r--r-- | dist/wipfel/style.css | 9 | ||||
| -rw-r--r-- | dist/wipfel/wipfel_bg.wasm | bin | 518461 -> 518287 bytes |
4 files changed, 9 insertions, 16 deletions
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 { <button class="collapse-btn" title="Hide controls" onclick={collapse_cb}>{ "◀" }</button> <h1>{ "wipfel" }</h1> - <p class="tag">{ "web gipfel photogrammetry" }</p> - <a class="moreinfo" href="https://flpsed.org/gipfel.html" target="_blank" - rel="noopener noreferrer">{ "More information…" }</a> + <a class="tag" href="https://flpsed.org/gipfel.html" target="_blank" + rel="noopener noreferrer">{ "web gipfel photogrammetry" }</a> <button onclick={open_picker}>{ "Open image…" }</button> if bitmap.is_some() { <button onclick={fit}>{ "Fit to window" }</button> 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 { diff --git a/dist/wipfel/style.css b/dist/wipfel/style.css index 120aa8e..3ef48b1 100644 --- a/dist/wipfel/style.css +++ b/dist/wipfel/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 { diff --git a/dist/wipfel/wipfel_bg.wasm b/dist/wipfel/wipfel_bg.wasm Binary files differindex baf7c41..e0e25c5 100644 --- a/dist/wipfel/wipfel_bg.wasm +++ b/dist/wipfel/wipfel_bg.wasm |
