Improve footer styles

This commit is contained in:
southerntofu 2021-02-02 21:52:41 +01:00
parent 441b3a4ffc
commit db04b6d141
2 changed files with 10 additions and 1 deletions

View File

@ -68,6 +68,15 @@ footer {
padding: 0.5rem 0; padding: 0.5rem 0;
// WTF water.css doesn't have good contrast here? // WTF water.css doesn't have good contrast here?
color: var(--text-bright); color: var(--text-bright);
font-size: 1.2rem;
text-align: center;
.altnames {
word-wrap: anywhere;
> p > img {
width: 1rem;
height: 1rem;
}
}
} }
// center images in articles // center images in articles

View File

@ -60,7 +60,7 @@
{% endif %} {% endif %}
{% if config.extra.altnames %} {% if config.extra.altnames %}
<aside class="altnames"> <aside class="altnames">
<p style="text-align: center;">This page is available at the following addresses: <p>This page is available at the following addresses:
{% for base_url, logo in config.extra.altnames %} {% for base_url, logo in config.extra.altnames %}
<br><a href="{{ base_url }}{{ section.path|default(value=page.path|default(value="/"))|safe }}"><img style="width: 1rem; height: 1rem;" src="{{ get_url(path="/networks/" ~ logo) }}"> {{ base_url }}</a> <br><a href="{{ base_url }}{{ section.path|default(value=page.path|default(value="/"))|safe }}"><img style="width: 1rem; height: 1rem;" src="{{ get_url(path="/networks/" ~ logo) }}"> {{ base_url }}</a>
{% endfor %} {% endfor %}