expand: improve discovering links on keyboard navigation #726

This commit is contained in:
Sören Weber 2023-11-19 00:34:59 +01:00
parent 529daea637
commit 28d09d0b27
No known key found for this signature in database
GPG key ID: BEC6D55545451B6D
2 changed files with 12 additions and 12 deletions

View file

@ -368,16 +368,16 @@
font-family: "Work Sans", "Helvetica", "Tahoma", "Geneva", "Arial", sans-serif; /* var(--MAIN-TITLES-TEXT-font) */
}
.expand > input:active,
.expand > input:focus {
outline-color: rgba( 0, 0, 0, 1 ); /* var(--MAIN-TEXT-color) */
}
.expand > label {
color: rgba( 72, 106, 201, 1 ); /* var(--MAIN-LINK-color) */
}
.expand > label:hover {
.expand > label:hover,
.expand > label:active,
.expand > label:focus,
.expand > input:hover + label,
.expand > input:active + label,
.expand > input:focus + label{
color: rgba( 32, 40, 145, 1 ); /* var(--MAIN-LINK-HOVER-color) */
}

View file

@ -304,16 +304,16 @@ pre:not(.mermaid) .copy-to-clipboard-button:hover {
color: var(--INTERNAL-CODE-BLOCK-BG-color);
}
.expand > input:active,
.expand > input:focus {
outline-color: var(--INTERNAL-MAIN-TEXT-color);
}
.expand > label {
color: var(--INTERNAL-MAIN-LINK-color);
}
.expand > label:hover {
.expand > label:hover,
.expand > label:active,
.expand > label:focus,
.expand > input:hover + label,
.expand > input:active + label,
.expand > input:focus + label{
color: var(--INTERNAL-MAIN-LINK-HOVER-color);
}