hugo-theme-paradox/assets/styles/features/links.scss

42 lines
744 B
SCSS
Raw Permalink Normal View History

a:link {
transition: all 0.1s ease-out;
color: var(--link-color);
text-decoration-thickness: .0625rem;
text-underline-offset: 0.125em;
text-decoration-skip-ink: none;
}
a:visited {
color: var(--link-visited);
2022-12-18 14:10:54 +00:00
transition:
color var(--color-crossfade-duration) var(--color-crossfade-ease);
}
2022-12-18 14:10:54 +00:00
*:focus {
outline: 1px dashed;
outline-offset: 8px;
border-radius: 2px;
text-decoration: none;
}
a:hover {
text-decoration-thickness: 0.125em;
text-underline-offset: 0.25em;
}
@media (prefers-reduced-motion) {
a:link {transition: none}
}
a:link[target=_blank] {
svg {
margin-inline-start: 0.35em;
margin-inline-end: 0.15em;
vertical-align: baseline;
font-size: 0.65em;
}
}
a:link[title] {
text-decoration-style: dotted;
2022-10-17 15:02:26 +00:00
}