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_SEARCH = 25
|
||||||
UMAP_MAPS_PER_PAGE_OWNER = 10
|
UMAP_MAPS_PER_PAGE_OWNER = 10
|
||||||
UMAP_SEARCH_CONFIGURATION = "simple"
|
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"
|
USER_MAPS_URL = "user_maps"
|
||||||
DATABASES = {
|
DATABASES = {
|
||||||
"default": env.db(
|
"default": env.db(
|
||||||
|
|
|
@ -21,7 +21,7 @@ a {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
color: #1F5C39;
|
color: #1F5C39;
|
||||||
}
|
}
|
||||||
a[href^="http"] {
|
a[href^="http"]:not(nav.umap-nav a) {
|
||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
}
|
}
|
||||||
button {
|
button {
|
||||||
|
|
|
@ -27,6 +27,10 @@ footer a.branding {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
padding-inline-start: 70px;
|
padding-inline-start: 70px;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
footer a.branding:hover {
|
||||||
|
text-decoration: underline;
|
||||||
}
|
}
|
||||||
html[dir="rtl"] footer a.branding {
|
html[dir="rtl"] footer a.branding {
|
||||||
background-position: right center;
|
background-position: right center;
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{% load i18n %}
|
{% load i18n %}
|
||||||
|
|
||||||
<footer>
|
<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" %}
|
<span>{% trans "An OpenStreetMap project" %}
|
||||||
({% trans "version" %} <a href="https://docs.umap-project.org/en/stable/changelog/">{{ UMAP_VERSION }}</a>)</span>
|
({% 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 %}
|
{% 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