Experiment with showing the sesrch bar all the time on large-enough screens.

This commit is contained in:
mtail 2019-05-14 22:24:02 -07:00
parent 1415c9be20
commit e04e9bc0f1
3 changed files with 20 additions and 2 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -181,6 +181,11 @@ header {
transition: right .5s;
}
@media (min-width: $bp-xl) {
right: 335px;
transition: none;
}
span {
border-bottom: solid 3px $textBrandColor;
border-radius: 2px;
@ -206,6 +211,10 @@ header {
@media (min-width: $bp-sm) {
display: inline-block;
}
@media (min-width: $bp-xl) {
display: none;
}
}
#search-form {
@ -231,6 +240,11 @@ header {
transition: right .5s;
}
@media (min-width: $bp-xl) {
right: 1rem;
transition: none;
}
button:focus {
outline: 0;
}
@ -278,5 +292,9 @@ header {
&:hover {
color: $textBrandHighlightColor;
}
@media (min-width: $bp-xl) {
display: none;
}
}
}