Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A11y fixes #23

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions _layouts/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ <h2>{{ site.title }}</h2>
<h2>Active Responses</h2>
<ul class="responses responses-active">
{% for response in site.data.responses.active %}
<a href="{{ response.url }}"><li class="response">
<li class="response"><a href="{{ response.url }}">
<h3>{{ response.title }} <small>(Started {{ response.startdate }})</small></h3>
<p>{{ response.url }}</p>
{% if response.smsbot %}
<p>Text your zipcode to {{ response.smsbot }} for local shelter information.</p>
{% endif %}
</li></a>
</a></li>
{% endfor %}
</ul>
{% else %}
Expand Down
4 changes: 2 additions & 2 deletions assets/css/_inc/links.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@


a:link {
color: var(--cfablue);
color: var(--blue);
}

.mainnav a:link,
Expand All @@ -19,7 +19,7 @@ a:visited {
}

a:focus {
border-bottom: 1px solid var(--cfablue);
border-bottom: 1px solid var(--red);
}

.mainnav a:focus {
Expand Down
7 changes: 5 additions & 2 deletions assets/css/_inc/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ h2, h3, h4, h5, h6 {
.responses .response:last-child {
margin-right: 0;
}
.responses > a {
.responses .response a {
text-decoration: none;
}
.responses-active .response {
Expand All @@ -73,13 +73,16 @@ h2, h3, h4, h5, h6 {
.responses-active .response h3 {
font-size: 2rem;
}
.responses-active > .response > a {
color: var(--red);
text-decoration: none;
}
.responses-inactive {
display: flex;
flex-direction: row;
flex-wrap: wrap;
align-items: center;
justify-content: center;

}
.responses-drills {
display: flex;
Expand Down
2 changes: 1 addition & 1 deletion assets/css/_inc/variables.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
--dark: #232323;
--grey-dark: #444444;
--grey: #6D6E71;
--grey-light: #e5e5e5;
--grey-light: #ebebeb;
--orange: #e87d2b;
--yellow: #fedd44;
--green: #00a175;
Expand Down
28 changes: 16 additions & 12 deletions assets/css/main.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion assets/css/main.css.map

Large diffs are not rendered by default.