Skip to content

Commit 9f52c6b

Browse files
author
Kristján Oddsson
authored
Merge pull request #207 from chaijs/accessibility-fixes
Accessibility fixes
2 parents 75b8cce + 38d37c4 commit 9f52c6b

File tree

2 files changed

+26
-30
lines changed

2 files changed

+26
-30
lines changed

_layouts/default.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!DOCTYPE html>
2-
<html>
2+
<html lang="en">
33

44
{% include head.html %}
55

_sass/_main.scss

+25-29
Original file line numberDiff line numberDiff line change
@@ -282,18 +282,17 @@ h3.fancy {
282282
}
283283
a {
284284
color: #a40802;
285-
text-decoration: none;
286285
}
287286
h1 {
288-
color: #784942;
287+
color: #744640;
289288
font-size: 3em;
290289
}
291290
h1 > a {
292-
color: #784942;
291+
color: #744640;
293292
}
294293
h2 {
295294
font-size: 28px;
296-
color: #784942;
295+
color: #744640;
297296
}
298297
h3 {
299298
font-weight: bold;
@@ -390,7 +389,7 @@ body.index header .header-wrap {
390389
position: relative;
391390
}
392391
body.index header .header-wrap .installation .site-description {
393-
color: #784942;
392+
color: #744640;
394393
margin-bottom: 1.2em;
395394
margin-top: 8px;
396395
font-size: 22px;
@@ -402,9 +401,9 @@ body.index header .header-wrap .installation .card {
402401
-moz-border-radius: 5px;
403402
border-radius: 5px;
404403
background: #fff;
405-
-webkit-box-shadow: 0px 0px 1px #784942;
406-
-moz-box-shadow: 0px 0px 1px #784942;
407-
box-shadow: 0px 0px 1px #784942;
404+
-webkit-box-shadow: 0px 0px 1px #744640;
405+
-moz-box-shadow: 0px 0px 1px #744640;
406+
box-shadow: 0px 0px 1px #744640;
408407
position: relative;
409408
}
410409
body.index header .header-wrap .installation .card:before,
@@ -656,7 +655,7 @@ body.index header .header-wrap .callouts .call a small {
656655
display: block;
657656
margin-left: 115px;
658657
font-family: "Lato", "Helvetica Neue", Helvetica, Arial, sans-serif;
659-
color: #784942;
658+
color: #744640;
660659
}
661660
body.index header .header-wrap .callouts .call .bg {
662661
position: absolute;
@@ -669,9 +668,9 @@ body.index header .header-wrap .callouts .call .bg {
669668
-webkit-border-radius: 5px;
670669
-moz-border-radius: 5px;
671670
border-radius: 5px;
672-
-webkit-box-shadow: 0px 0px 1px #784942;
673-
-moz-box-shadow: 0px 0px 1px #784942;
674-
box-shadow: 0px 0px 1px #784942;
671+
-webkit-box-shadow: 0px 0px 1px #744640;
672+
-moz-box-shadow: 0px 0px 1px #744640;
673+
box-shadow: 0px 0px 1px #744640;
675674
opacity: 0;
676675
filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
677676
}
@@ -732,7 +731,7 @@ section#content p code {
732731
padding-top: 0px !important;
733732
margin-top: 0px !important;
734733
line-height: 30px;
735-
color: #784942;
734+
color: #744640;
736735
}
737736
.panels pre {
738737
padding: 0px;
@@ -830,9 +829,9 @@ section#content p code {
830829
-webkit-border-radius: 5px;
831830
-moz-border-radius: 5px;
832831
border-radius: 5px;
833-
-webkit-box-shadow: 0px 0px 1px #784942;
834-
-moz-box-shadow: 0px 0px 1px #784942;
835-
box-shadow: 0px 0px 1px #784942;
832+
-webkit-box-shadow: 0px 0px 1px #744640;
833+
-moz-box-shadow: 0px 0px 1px #744640;
834+
box-shadow: 0px 0px 1px #744640;
836835
}
837836
.panels article.subscribe .rowInside {
838837
margin-top: 0px;
@@ -1070,9 +1069,6 @@ nav#pages ul li a {
10701069
text-transform: lowercase;
10711070
font-size: 14px;
10721071
}
1073-
nav#pages ul li a:hover {
1074-
text-decoration: underline;
1075-
}
10761072
footer {
10771073
padding-top: 30px;
10781074
padding-bottom: 30px;
@@ -1329,7 +1325,7 @@ body.plugin .banner .wrap h2 {
13291325
margin-top: 0px !important;
13301326
margin-bottom: 20px !important;
13311327
padding-top: 0px !important;
1332-
color: #784942;
1328+
color: #744640;
13331329
}
13341330
body.plugin .banner .wrap h3.link {
13351331
font-size: 20px;
@@ -1434,9 +1430,9 @@ body.plugin .readme {
14341430
}
14351431
body.plugin .readme .wrap {
14361432
background-color: #fff;
1437-
-webkit-box-shadow: 0px 0px 1px #784942;
1438-
-moz-box-shadow: 0px 0px 1px #784942;
1439-
box-shadow: 0px 0px 1px #784942;
1433+
-webkit-box-shadow: 0px 0px 1px #744640;
1434+
-moz-box-shadow: 0px 0px 1px #744640;
1435+
box-shadow: 0px 0px 1px #744640;
14401436
-webkit-border-radius: 5px;
14411437
-moz-border-radius: 5px;
14421438
border-radius: 5px;
@@ -1553,9 +1549,9 @@ body.guide .documentation {
15531549
float: right;
15541550
overflow: visible;
15551551
background-color: #fff;
1556-
-webkit-box-shadow: 0px 0px 1px #784942;
1557-
-moz-box-shadow: 0px 0px 1px #784942;
1558-
box-shadow: 0px 0px 1px #784942;
1552+
-webkit-box-shadow: 0px 0px 1px #744640;
1553+
-moz-box-shadow: 0px 0px 1px #744640;
1554+
box-shadow: 0px 0px 1px #744640;
15591555
-webkit-border-radius: 5px;
15601556
-moz-border-radius: 5px;
15611557
border-radius: 5px;
@@ -1632,9 +1628,9 @@ body.api .documentation {
16321628
float: right;
16331629
overflow: visible;
16341630
background-color: #fff;
1635-
-webkit-box-shadow: 0px 0px 1px #784942;
1636-
-moz-box-shadow: 0px 0px 1px #784942;
1637-
box-shadow: 0px 0px 1px #784942;
1631+
-webkit-box-shadow: 0px 0px 1px #744640;
1632+
-moz-box-shadow: 0px 0px 1px #744640;
1633+
box-shadow: 0px 0px 1px #744640;
16381634
-webkit-border-radius: 5px;
16391635
-moz-border-radius: 5px;
16401636
border-radius: 5px;

0 commit comments

Comments
 (0)