abdullahtarawneh.com/assets/scss/base/links.scss

32 lines
661 B
SCSS
Raw Normal View History

2020-10-25 05:15:18 +00:00
a:link,
a:visited {
color: inherit;
text-decoration-color: #0060ff;
transition:
text-decoration-thickness 200ms ease-out,
text-underline-offset 200ms ease-out,
text-decoration-color 200ms ease-out,
color 200ms ease-out
;
}
a:hover, a:focus, a:active {
text-decoration-color: #0060ff;
}
a:link {text-underline-offset: -0.075em;}
a:hover {text-underline-offset: -0.375em;}
@supports (text-decoration-thickness: 1em) {
a:link {
text-decoration-thickness: 0.125em;
text-underline-offset: 0.125em;
text-decoration-skip-ink: none;
}
a:hover {
color: white;
text-decoration-thickness: 1.125em;
2020-11-10 00:29:25 +00:00
text-underline-offset: -0.875em;
2020-10-25 05:15:18 +00:00
}
}