mirror of
https://github.com/metagov/govarch-website.git
synced 2025-06-19 01:23:10 +00:00
improve accessibility and add search form
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
@ -1,5 +1,6 @@
|
||||
.site-navigation {
|
||||
margin-top: 2rem;
|
||||
padding: 0 1rem;
|
||||
}
|
||||
|
||||
.site-navigation ul {
|
||||
|
20
_sass/_search.scss
Normal file
20
_sass/_search.scss
Normal 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;
|
||||
}
|
@ -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;
|
||||
|
Reference in New Issue
Block a user