Increase outline offset when toggle button is focused

This commit is contained in:
Leilukin 2024-07-20 14:04:33 +08:00 committed by Helen Chong
parent 79478a3d6d
commit ee4d0e40e2

View File

@ -33,8 +33,6 @@
padding: 0.6em;
}
.navbar a:focus { outline-offset: 0.1em; }
.navbar__toggle {
background-color: inherit;
color: var(--clr-navbar-link);
@ -48,6 +46,9 @@
}
.navbar__toggle svg { fill: currentColor; }
.navbar__toggle:focus,
.navbar a:focus { outline-offset: 0.1em; }
.navbar__toggle:focus,
.navbar a:focus { outline: 0.15em solid var(--clr-navbar-link); }