- use less aggressive generic styles
- override line height at location where button is used
button {
cursor: pointer;
- font-size: inherit;
- line-height: inherit;
+ font-family: inherit;
+ font-size: 1em;
+ line-height: 1.15;
+ margin: 0;
+}
+
+button::-moz-focus-inner {
+ border: none;
+ padding: 0;
}
background: none;
border: none;
outline: none;
+ line-height: 1;
height: var(--navbar-height);
position: relative;
/* width: var(--navbar-height); */
padding: 0;
}
-.navbar-burger::-moz-focus-inner {
- border: none;
-}
-
.navbar-burger span {
background: var(--navbar-font-color);
display: block;
background-size: 55%;
border: none;
outline: none;
+ line-height: inherit;
position: absolute;
height: 1.4em; /* NOTE must match line-height of text; slightly tweaked for alignment */
width: 1.5em;
margin-left: -1.5em;
}
-.nav-item-toggle::-moz-focus-inner {
- border: none;
-}
-
.nav-item.is-active > .nav-item-toggle {
transform: rotate(90deg);
}
.page-versions .version-menu-toggle {
color: inherit;
- font-family: inherit;
background: url(../img/chevron.svg) no-repeat;
background-position: right 0.5rem top 50%;
background-size: auto 0.75em;
border: none;
outline: none;
+ line-height: inherit;
padding: 0.5rem 1.5rem 0.5rem 0.5rem;
position: relative;
z-index: var(--z-index-page-version-menu);
}
-.page-versions .version-menu-toggle::-moz-focus-inner {
- border: none;
-}
-
.page-versions .version-menu {
border: 1px solid transparent;
background-color: var(--page-version-menu-background);
background-size: 49%;
border: none;
outline: none;
+ line-height: inherit;
height: 2.5rem;
padding: 0;
width: 2.5rem;
margin-right: -0.25rem;
}
-.nav-toggle::-moz-focus-inner {
- border: none;
-}
-
@media screen and (min-width: 1024px) {
.nav-toggle {
display: none;