Increase outline offset when toggle button is focused
This commit is contained in:
parent
68d31da5d0
commit
b19079af9e
|
@ -33,8 +33,6 @@
|
||||||
padding: 0.6em;
|
padding: 0.6em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.navbar a:focus { outline-offset: 0.1em; }
|
|
||||||
|
|
||||||
.navbar__toggle {
|
.navbar__toggle {
|
||||||
background-color: inherit;
|
background-color: inherit;
|
||||||
color: var(--clr-navbar-link);
|
color: var(--clr-navbar-link);
|
||||||
|
@ -48,6 +46,9 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.navbar__toggle svg { fill: currentColor; }
|
.navbar__toggle svg { fill: currentColor; }
|
||||||
|
|
||||||
|
.navbar__toggle:focus,
|
||||||
|
.navbar a:focus { outline-offset: 0.1em; }
|
||||||
.navbar__toggle:focus,
|
.navbar__toggle:focus,
|
||||||
.navbar a:focus { outline: 0.15em solid var(--clr-navbar-link); }
|
.navbar a:focus { outline: 0.15em solid var(--clr-navbar-link); }
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue