mirror of
https://github.com/umap-project/umap.git
synced 2025-04-28 19:42:36 +02:00
a11y: update URLs and (underlined) styles for help
This commit is contained in:
parent
4f5d37b676
commit
ea58f93940
4 changed files with 7 additions and 3 deletions
|
@ -274,7 +274,7 @@ UMAP_MAPS_PER_PAGE = 5
|
|||
UMAP_MAPS_PER_SEARCH = 25
|
||||
UMAP_MAPS_PER_PAGE_OWNER = 10
|
||||
UMAP_SEARCH_CONFIGURATION = "simple"
|
||||
UMAP_HELP_URL = "https://wiki.openstreetmap.org/wiki/UMap#Feedback_and_help"
|
||||
UMAP_HELP_URL = "https://discover.umap-project.org/"
|
||||
USER_MAPS_URL = "user_maps"
|
||||
DATABASES = {
|
||||
"default": env.db(
|
||||
|
|
|
@ -21,7 +21,7 @@ a {
|
|||
text-decoration: none;
|
||||
color: #1F5C39;
|
||||
}
|
||||
a[href^="http"] {
|
||||
a[href^="http"]:not(nav.umap-nav a) {
|
||||
text-decoration: underline;
|
||||
}
|
||||
button {
|
||||
|
|
|
@ -27,6 +27,10 @@ footer a.branding {
|
|||
font-weight: bold;
|
||||
padding-inline-start: 70px;
|
||||
display: inline-block;
|
||||
text-decoration: none;
|
||||
}
|
||||
footer a.branding:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
html[dir="rtl"] footer a.branding {
|
||||
background-position: right center;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{% load i18n %}
|
||||
|
||||
<footer>
|
||||
<a href="https://wiki.openstreetmap.org/wiki/UMap" class="branding">uMap</a>
|
||||
<a href="{% url "home" %}" class="branding">uMap</a>
|
||||
<span>{% trans "An OpenStreetMap project" %}
|
||||
({% trans "version" %} <a href="https://docs.umap-project.org/en/stable/changelog/">{{ UMAP_VERSION }}</a>)</span>
|
||||
{% if UMAP_HOST_INFOS.url and UMAP_HOST_INFOS.name %}<span>{% trans "Hosted by" %} <a href="{{ UMAP_HOST_INFOS.url }}">{{ UMAP_HOST_INFOS.name }}</a></span>{% endif %}
|
||||
|
|
Loading…
Reference in a new issue