Improve look & feel of the main menu on desktop (#18)

This commit is contained in:
Vimux 2019-10-08 11:22:08 -04:00 committed by GitHub
parent 77b9fc1ec7
commit 516a04c4b3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -606,6 +606,21 @@ button:not(:-moz-focusring):focus > .main-nav__btn-box {
border: 0; border: 0;
} }
.main-nav__item--active {
padding: .625rem .625rem .5rem;
border-bottom: 2px solid #888;
}
.main-nav__link {
padding: .625rem .625rem .5rem;
border-bottom: 2px solid transparent;
}
.main-nav__link:hover {
text-decoration: none;
border-color: #666;
}
.main-nav__list--right { .main-nav__list--right {
margin-left: auto; margin-left: auto;
} }
@ -614,10 +629,6 @@ button:not(:-moz-focusring):focus > .main-nav__btn-box {
position: initial; position: initial;
border: 0; border: 0;
} }
.main-nav__link {
padding: .625rem;
}
} }
/* Taxonomies */ /* Taxonomies */