improve accessibility and add search form

This commit is contained in:
Pat Dryburgh
2018-10-24 18:22:21 -07:00
parent dd7275c4c0
commit a2cf0cef48
11 changed files with 48 additions and 9 deletions

View File

@ -1,6 +1,6 @@
body {
color: $text-color;
font-family: "EB Garamond", Garamond, "Times New Roman", serif;
font-family: $font-family;
font-size: 1.3125em;
line-height: 1.5;
}

View File

@ -1,5 +1,6 @@
.site-navigation {
margin-top: 2rem;
padding: 0 1rem;
}
.site-navigation ul {

20
_sass/_search.scss Normal file
View File

@ -0,0 +1,20 @@
#search {
margin: 0 auto;
padding: 0 1rem;
text-align: center;
}
#search__input {
border: 0;
font: 1em $font-family;
padding: .5em;
color: $text-color;
text-align: center;
&:focus {
outline: 1px dashed $text-color;
}
}
#search button[type="submit"] {
display: none;
}

View File

@ -1,6 +1,7 @@
$brand-color: #f2e300;
$text-color: #0b0404;
$muted-text-color: #79785b;
$font-family: "EB Garamond", Garamond, "Times New Roman", serif;
$on-bigphone: 375px;
$on-tablet: 768px;