mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-23 07:47:54 +00:00
expand: improve discovering links on keyboard navigation #726
This commit is contained in:
parent
529daea637
commit
28d09d0b27
2 changed files with 12 additions and 12 deletions
|
@ -368,16 +368,16 @@
|
||||||
font-family: "Work Sans", "Helvetica", "Tahoma", "Geneva", "Arial", sans-serif; /* var(--MAIN-TITLES-TEXT-font) */
|
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 {
|
.expand > label {
|
||||||
color: rgba( 72, 106, 201, 1 ); /* var(--MAIN-LINK-color) */
|
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) */
|
color: rgba( 32, 40, 145, 1 ); /* var(--MAIN-LINK-HOVER-color) */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -304,16 +304,16 @@ pre:not(.mermaid) .copy-to-clipboard-button:hover {
|
||||||
color: var(--INTERNAL-CODE-BLOCK-BG-color);
|
color: var(--INTERNAL-CODE-BLOCK-BG-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
.expand > input:active,
|
|
||||||
.expand > input:focus {
|
|
||||||
outline-color: var(--INTERNAL-MAIN-TEXT-color);
|
|
||||||
}
|
|
||||||
|
|
||||||
.expand > label {
|
.expand > label {
|
||||||
color: var(--INTERNAL-MAIN-LINK-color);
|
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);
|
color: var(--INTERNAL-MAIN-LINK-HOVER-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue