gnunet-gns-registrar

GNU Name System registrar
Log | Files | Refs | README

commit afb052116fdad9ca346bf96fdcb71baa468a592b
parent 9f5380cb8a4b30eb0293ce4fae83c0a3d4b517da
Author: NoƩ Lopez <noelopez@free.fr>
Date:   Mon, 18 Aug 2025 15:58:46 +0200

Fix white on white text on landing page

In the bootstrap theme used (Zephyr), the text-secondary is fully
white for some reason, we remove it to get normal text color.

Another option would be to use text-body-secondary, but it seemed like
it still had low contrast on the grey background.

Signed-off-by: Martin Schanzenbach <schanzen@gnunet.org>

Diffstat:
Mweb/templates/landing.html | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/web/templates/landing.html b/web/templates/landing.html @@ -13,7 +13,7 @@ {{ template "nav.html" . }} <div class="container pt-5"> <h1 class="text-center mb-5"> - <span class="text-center fs-5 text-secondary">Zone:<br/> <span style="display: inline-block; overflow-x: auto; border: 1px solid #ddd; border-radius: 5px; padding: 0.5em; background-color: #eee; width: 75%; white-space: nowrap; font-size: 0.75em">.{{.suffixHint}} = {{.zoneKey}}</span></span> + <span class="text-center fs-5">Zone:<br/> <span style="display: inline-block; overflow-x: auto; border: 1px solid #ddd; border-radius: 5px; padding: 0.5em; background-color: #eee; width: 75%; white-space: nowrap; font-size: 0.75em">.{{.suffixHint}} = {{.zoneKey}}</span></span> </h1> {{if .error}} <div class="container pt-5">