Skip to content

Commit c7dcefc

Browse files
committed
Color contrast & alt text for accessibility
Add gem file to allow running jekyll locally
1 parent 5598c3f commit c7dcefc

File tree

6 files changed

+16
-15
lines changed

6 files changed

+16
-15
lines changed

Gemfile

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
source "https://rubygems.org"
22

33
gem "github-pages", group: :jekyll_plugins
4+
gem "webrick"

_includes/masthead.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<div class="masthead__inner-wrap">
33
<div class="masthead__menu">
44
<nav id="site-nav" class="greedy-nav">
5-
<a class="site-title" href="{{ '/' | absolute_url }}"><img src="/assets/img/cropped-csl-logo-600-bordered.png" id="csl-logo"></a>
5+
<a class="site-title" href="{{ '/' | absolute_url }}"><img src="/assets/img/cropped-csl-logo-600-bordered.png" alt="CSL logo" id="csl-logo"></a>
66
<ul class="visible-links">
77
{% for link in site.data.navigation.main %}
88
{% if link.url contains 'http' %}

_layouts/home.html

+7-7
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,14 @@
2121
{% include multicolumn_list %}
2222
{% endif %}
2323
<div id="partners">
24-
<h3>The Citation Style Language project has been sponsored by</h3>
24+
<h2>The Citation Style Language project has been sponsored by</h2>
2525
<ul class="csl-partners">
26-
<li><a href="https://www.zotero.org/"><img src="/assets/img/zotero-logo-128x128.png" height="64px" width="64px"><br>Zotero</a></li>
27-
<li><a href="https://www.mendeley.com/"><img src="/assets/img/mendeley-logo-128x128.png" height="64px" width="64px"><br>Mendeley</a></li>
28-
<li><a href="https://www.papersapp.com/"><img src="/assets/img/papers-logo-128x128.png" height="64px" width="64px"><br>Papers</a></li>
29-
<li><a href="https://refworks.proquest.com/"><img src="/assets/img/refworks-logo-128x128.png" height="64px" width="64px"><br>RefWorks</a></li>
30-
<li><a href="https://paperpile.com"><img src="/assets/img/paperpile-logo.png" height="64px" width="64px"><br>Paperpile</a></li>
31-
<li><a href="https://www.bibcitation.com/"><img src="/assets/img/bibcitation-logo.png" height="64px" width="64px"><br>Bibcitation</a></li>
26+
<li><a href="https://www.zotero.org/"><img src="/assets/img/zotero-logo-128x128.png" alt="Zotero logo" height="64px" width="64px"><br>Zotero</a></li>
27+
<li><a href="https://www.mendeley.com/"><img src="/assets/img/mendeley-logo-128x128.png" alt="Mendeley logo" height="64px" width="64px"><br>Mendeley</a></li>
28+
<li><a href="https://www.papersapp.com/"><img src="/assets/img/papers-logo-128x128.png" alt="Papers logo" height="64px" width="64px"><br>Papers</a></li>
29+
<li><a href="https://refworks.proquest.com/"><img src="/assets/img/refworks-logo-128x128.png" alt="RefWorks logo" height="64px" width="64px"><br>RefWorks</a></li>
30+
<li><a href="https://paperpile.com"><img src="/assets/img/paperpile-logo.png" alt ="Paperpile logo" height="64px" width="64px"><br>Paperpile</a></li>
31+
<li><a href="https://www.bibcitation.com/"><img src="/assets/img/bibcitation-logo.png" alt="bibcitation logo" height="64px" width="64px"><br>Bibcitation</a></li>
3232
<ul>
3333
</div>
3434
</div>

_pages/index.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -143,9 +143,9 @@ multicolumn_list:
143143
- title: Docear
144144
---
145145

146-
<table style="margin: auto;max-width:768px;"><tr><td><img src="/assets/img/[email protected]" height="300px" width="200px"></td><td style="font-size:1.5em;">Proud <a href="https://openpublishingawards.org/recipients/citation-style-language/index.html">recipient</a> of one of the 2019 Open Publishing Awards in the Open Source Software category</td></tr></table>
146+
<table style="margin: auto;max-width:768px;"><tr><td><img src="/assets/img/[email protected]" alt="Open Publishing Awards 2019: Open Source Software logo" height="300px" width="200px"></td><td style="font-size:1.5em;">Proud <a href="https://openpublishingawards.org/recipients/citation-style-language/index.html">recipient</a> of one of the 2019 Open Publishing Awards in the Open Source Software category</td></tr></table>
147147

148-
<h3 id="navigate">Navigating this site</h3>
148+
<h2 id="navigate">Navigating this site</h2>
149149

150150
* **[Authors](/authors/)** &ndash; learn how to find and use our CSL citation styles
151151
* **[Publishers](/publishers/)** &ndash; learn how to create CSL styles for your journals and style guides and keep these styles up-to-date

_sass/minimal-mistakes/_footer.scss

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
height: auto;
1616
/* sticky footer fix end */
1717
margin-top: 3em;
18-
color: $muted-text-color;
18+
color: $text-color;
1919
-webkit-animation: $intro-transition;
2020
animation: $intro-transition;
2121
-webkit-animation-delay: 0.45s;
@@ -45,7 +45,7 @@
4545
}
4646

4747
.fa {
48-
color: $muted-text-color;
48+
color: $text-color;
4949
}
5050
}
5151

_sass/minimal-mistakes/_variables.scss

+3-3
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ $type-size-8 : 0.625em !default; // ~10px
4747
Colors
4848
========================================================================== */
4949

50-
$gray : #7a8288 !default;
50+
$gray : #6A7278 !default;
5151
$dark-gray : mix(#000, $gray, 40%) !default;
5252
$darker-gray : mix(#000, $gray, 60%) !default;
5353
$light-gray : mix(#fff, $gray, 50%) !default;
@@ -62,11 +62,11 @@ $border-color : $lighter-gray !default;
6262
$form-background-color : $lighter-gray !default;
6363
$footer-background-color : $lighter-gray !default;
6464

65-
$primary-color : #7a8288 !default;
65+
$primary-color : #6A7278 !default;
6666
$success-color : #62c462 !default;
6767
$warning-color : #f89406 !default;
6868
$danger-color : #ee5f5b !default;
69-
$info-color : #52adc8 !default;
69+
$info-color : #0F7AC2 !default;
7070

7171
/* YIQ color contrast */
7272
$yiq-contrasted-dark-default : $dark-gray !default;

0 commit comments

Comments
 (0)