added focus support for older browsers
This commit is contained in:
parent
199e7c3a15
commit
e4a7c894e7
2 changed files with 5 additions and 2 deletions
|
@ -74,9 +74,12 @@ ul { list-style: none; }
|
|||
opacity: 1;
|
||||
}
|
||||
|
||||
:focus { outline: 0.125rem solid hsla(0, 0%, 0%, 0.8); }
|
||||
:focus:not(:focus-visible) { outline: none; }
|
||||
|
||||
:focus-visible {
|
||||
outline: 0.125rem solid;
|
||||
outline-color: hsla(var(--color-1, 0 0% 0% 1));
|
||||
outline-color: hsla(var(--color-1));
|
||||
outline-offset: var(--focus-offset, 0);
|
||||
}
|
||||
|
||||
|
|
2
assets/styles/style.min.css
vendored
2
assets/styles/style.min.css
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue