a11y: add hover underscore for main text links

pull/2104/head
Evan You 2 years ago
parent 736f6c643f
commit 5f3aac95c5

@ -78,12 +78,10 @@
.custom-block a { .custom-block a {
color: inherit; color: inherit;
font-weight: 600; font-weight: 600;
text-decoration: underline;
transition: opacity 0.25s;
} }
.custom-block a:hover { .custom-block a:hover {
opacity: 0.6; text-decoration: underline;
} }
.custom-block code { .custom-block code {

@ -107,7 +107,8 @@
} }
.vp-doc a:hover { .vp-doc a:hover {
color: var(--vp-c-brand-dark); /* color: var(--vp-c-brand-dark); */
text-decoration: underline;
} }
.vp-doc strong { .vp-doc strong {
@ -209,12 +210,10 @@
.vp-doc .custom-block a { .vp-doc .custom-block a {
color: inherit; color: inherit;
font-weight: 600; font-weight: 600;
text-decoration: underline;
transition: opacity 0.25s;
} }
.vp-doc .custom-block a:hover { .vp-doc .custom-block a:hover {
opacity: 0.6; text-decoration: underline;
} }
.vp-doc .custom-block code { .vp-doc .custom-block code {

Loading…
Cancel
Save