some minor changes to improve accessibility

This commit is contained in:
Lynne Megido 2020-03-27 14:04:28 +10:00
parent 8f680cceca
commit a3ea255f6a
Signed by: lynnesbian
GPG key ID: F0A184B5213D9F90
4 changed files with 8 additions and 8 deletions

View file

@ -1,6 +1,6 @@
<div id='hamburger'><div id='hb-icon'></div></div>
<header id='header'>
<header id='header' role="navigation">
<h1>Menu</h1>
<div class='lynnesoft desktop'></div>
<a href='/' {%- if page.title == "Welcome!" %} class='current'{% endif -%}>Home</a>

View file

@ -99,8 +99,8 @@ html.night .donation-method::before {
margin: 10px 0;
font-style: italic;
}
.project .footer a:not(:last-child)::after,
.subheading-links a:not(:last-child)::after {
.project .footer .spacer:not(:last-child)::after,
.subheading-links .spacer:not(:last-child)::after {
content: " - ";
}
.project h2, .donation-method h2 {
@ -447,7 +447,7 @@ button, a.button {
text-align: center;
margin: 3px 0;
}
.project .footer a:not(:last-child)::after {
.project .footer .spacer:not(:last-child)::after {
content: "";
}
}

View file

@ -35,7 +35,7 @@ layout: default
<p>
{{ method.description }}
</p>
<div class='footer'><a href='{{ method.link }}'>Link</a></div>
<div class='footer'><a href='{{ method.link }}'>Donate with {{ method.name }}</a></div>
</div>
{% endfor %}
</div>

View file

@ -16,9 +16,9 @@ layout: default
{{ project.description }}
</p>
<div class='footer'>
<a href='{{ project.url }}'>Read more</a>
{% if project.source %}<a href='{{ project.source }}'>Source code</a>{% endif %}
{% if project.website %}<a href='{{ project.website }}'>Website</a>{% endif %}
<a href='{{ project.url }}'>Read more</a><span class='spacer'></span>
{% if project.source %}<a href='{{ project.source }}'>Source code</a><span class='spacer'></span>{% endif %}
{% if project.website %}<a href='{{ project.website }}'>Website</a><span class='spacer'></span>{% endif %}
</div>
</div>
{% endfor %}