some minor changes to improve accessibility

This commit is contained in:
Lynne Megido 2020-03-27 14:04:28 +10:00
父節點 8f680cceca
當前提交 a3ea255f6a
簽署人: lynnesbian
GPG Key ID: F0A184B5213D9F90
共有 4 個文件被更改,包括 8 次插入8 次删除

查看文件

@ -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>

查看文件

@ -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: "";
}
}

查看文件

@ -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>

查看文件

@ -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 %}