From 23bfd45d52c6eecd995fcc8550e066712db549a6 Mon Sep 17 00:00:00 2001 From: furo Date: Wed, 9 Aug 2023 17:58:55 +0200 Subject: [PATCH] "woof" > "map" :) --- static/ddguesser.css | 6 +++--- templates/location.html.tera | 11 ++++++----- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/static/ddguesser.css b/static/ddguesser.css index a22e694..fd7fe39 100644 --- a/static/ddguesser.css +++ b/static/ddguesser.css @@ -68,16 +68,16 @@ span.incorrect { color: #E04F53; } -.woof { +.map { position: relative; width: 100%; } -.woof > img { +.map > img { width: 100%; } -.woof > p { +.map > p { position: absolute; bottom: 1rem; user-select: none; diff --git a/templates/location.html.tera b/templates/location.html.tera index 4c86759..dfd0548 100644 --- a/templates/location.html.tera +++ b/templates/location.html.tera @@ -4,14 +4,15 @@

Which map is this image from?

-{% if guess %} -
+
+ {% if guess %}

Your guess {{ guess.map }} is {{ guess.result }}!

+ {% else %} + + {% endif %}
-{% else %} - -{% endif %} +