Skip to content

Commit

Permalink
Merge pull request #207 from chaijs/accessibility-fixes
Browse files Browse the repository at this point in the history
Accessibility fixes
  • Loading branch information
Kristján Oddsson authored May 16, 2024
2 parents 75b8cce + 38d37c4 commit 9f52c6b
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 30 deletions.
2 changes: 1 addition & 1 deletion _layouts/default.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html>
<html lang="en">

{% include head.html %}

Expand Down
54 changes: 25 additions & 29 deletions _sass/_main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -282,18 +282,17 @@ h3.fancy {
}
a {
color: #a40802;
text-decoration: none;
}
h1 {
color: #784942;
color: #744640;
font-size: 3em;
}
h1 > a {
color: #784942;
color: #744640;
}
h2 {
font-size: 28px;
color: #784942;
color: #744640;
}
h3 {
font-weight: bold;
Expand Down Expand Up @@ -390,7 +389,7 @@ body.index header .header-wrap {
position: relative;
}
body.index header .header-wrap .installation .site-description {
color: #784942;
color: #744640;
margin-bottom: 1.2em;
margin-top: 8px;
font-size: 22px;
Expand All @@ -402,9 +401,9 @@ body.index header .header-wrap .installation .card {
-moz-border-radius: 5px;
border-radius: 5px;
background: #fff;
-webkit-box-shadow: 0px 0px 1px #784942;
-moz-box-shadow: 0px 0px 1px #784942;
box-shadow: 0px 0px 1px #784942;
-webkit-box-shadow: 0px 0px 1px #744640;
-moz-box-shadow: 0px 0px 1px #744640;
box-shadow: 0px 0px 1px #744640;
position: relative;
}
body.index header .header-wrap .installation .card:before,
Expand Down Expand Up @@ -656,7 +655,7 @@ body.index header .header-wrap .callouts .call a small {
display: block;
margin-left: 115px;
font-family: "Lato", "Helvetica Neue", Helvetica, Arial, sans-serif;
color: #784942;
color: #744640;
}
body.index header .header-wrap .callouts .call .bg {
position: absolute;
Expand All @@ -669,9 +668,9 @@ body.index header .header-wrap .callouts .call .bg {
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
-webkit-box-shadow: 0px 0px 1px #784942;
-moz-box-shadow: 0px 0px 1px #784942;
box-shadow: 0px 0px 1px #784942;
-webkit-box-shadow: 0px 0px 1px #744640;
-moz-box-shadow: 0px 0px 1px #744640;
box-shadow: 0px 0px 1px #744640;
opacity: 0;
filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
}
Expand Down Expand Up @@ -732,7 +731,7 @@ section#content p code {
padding-top: 0px !important;
margin-top: 0px !important;
line-height: 30px;
color: #784942;
color: #744640;
}
.panels pre {
padding: 0px;
Expand Down Expand Up @@ -830,9 +829,9 @@ section#content p code {
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
-webkit-box-shadow: 0px 0px 1px #784942;
-moz-box-shadow: 0px 0px 1px #784942;
box-shadow: 0px 0px 1px #784942;
-webkit-box-shadow: 0px 0px 1px #744640;
-moz-box-shadow: 0px 0px 1px #744640;
box-shadow: 0px 0px 1px #744640;
}
.panels article.subscribe .rowInside {
margin-top: 0px;
Expand Down Expand Up @@ -1070,9 +1069,6 @@ nav#pages ul li a {
text-transform: lowercase;
font-size: 14px;
}
nav#pages ul li a:hover {
text-decoration: underline;
}
footer {
padding-top: 30px;
padding-bottom: 30px;
Expand Down Expand Up @@ -1329,7 +1325,7 @@ body.plugin .banner .wrap h2 {
margin-top: 0px !important;
margin-bottom: 20px !important;
padding-top: 0px !important;
color: #784942;
color: #744640;
}
body.plugin .banner .wrap h3.link {
font-size: 20px;
Expand Down Expand Up @@ -1434,9 +1430,9 @@ body.plugin .readme {
}
body.plugin .readme .wrap {
background-color: #fff;
-webkit-box-shadow: 0px 0px 1px #784942;
-moz-box-shadow: 0px 0px 1px #784942;
box-shadow: 0px 0px 1px #784942;
-webkit-box-shadow: 0px 0px 1px #744640;
-moz-box-shadow: 0px 0px 1px #744640;
box-shadow: 0px 0px 1px #744640;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
Expand Down Expand Up @@ -1553,9 +1549,9 @@ body.guide .documentation {
float: right;
overflow: visible;
background-color: #fff;
-webkit-box-shadow: 0px 0px 1px #784942;
-moz-box-shadow: 0px 0px 1px #784942;
box-shadow: 0px 0px 1px #784942;
-webkit-box-shadow: 0px 0px 1px #744640;
-moz-box-shadow: 0px 0px 1px #744640;
box-shadow: 0px 0px 1px #744640;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
Expand Down Expand Up @@ -1632,9 +1628,9 @@ body.api .documentation {
float: right;
overflow: visible;
background-color: #fff;
-webkit-box-shadow: 0px 0px 1px #784942;
-moz-box-shadow: 0px 0px 1px #784942;
box-shadow: 0px 0px 1px #784942;
-webkit-box-shadow: 0px 0px 1px #744640;
-moz-box-shadow: 0px 0px 1px #744640;
box-shadow: 0px 0px 1px #744640;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
Expand Down

0 comments on commit 9f52c6b

Please sign in to comment.