Fix focus state for links & colour scheme picker
This commit is contained in:
parent
496f559013
commit
0a577857ee
@ -30,7 +30,8 @@ header > * {
|
|||||||
|
|
||||||
&:has(:focus-visible) {
|
&:has(:focus-visible) {
|
||||||
outline: 1px solid var(--color-primary);
|
outline: 1px solid var(--color-primary);
|
||||||
outline-offset: 2px;
|
outline-offset: 4px;
|
||||||
|
border-radius: 5%;
|
||||||
}
|
}
|
||||||
|
|
||||||
&:has([name="color-scheme"]) {
|
&:has([name="color-scheme"]) {
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
|
|
||||||
&:hover, &:focus, &:focus-visible {
|
&:hover, &:focus, &:focus-visible {
|
||||||
outline-color: transparent;
|
outline: 0px transparent;
|
||||||
text-decoration: underline solid var(--color-primary) 2px;
|
text-decoration: underline solid var(--color-primary) 2px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -117,3 +117,9 @@ footer {
|
|||||||
padding: var(--space-size-l) 0 var(--space-size-s);
|
padding: var(--space-size-l) 0 var(--space-size-s);
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
*:focus-visible {
|
||||||
|
outline: 1px solid var(--color-primary);
|
||||||
|
border-radius: 5%;
|
||||||
|
outline-offset: 4px;
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user