diff options
Diffstat (limited to 'scss/modules/link.scss')
| -rw-r--r-- | scss/modules/link.scss | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/scss/modules/link.scss b/scss/modules/link.scss index 83206d4..2f827c4 100644 --- a/scss/modules/link.scss +++ b/scss/modules/link.scss @@ -2,23 +2,19 @@ a, .link { color: var(--special-text-color); text-decoration-line: underline; text-decoration-color: var(--special-text-color); - text-decoration-thickness: var(--relative-eighth-rem); - text-underline-offset: var(--relative-eighth-rem); - border: dotted transparent var(--relative-eighth-rem); + border: dotted transparent var(--border-width); transition: color 100ms, text-decoration-color 100ms, - text-decoration-thickness 100ms, border-color 100ms; &:is(:hover, :focus, :focus-visible, :focus-within), .group-hover:is(:hover, :focus, :focus-visible, :focus-within) & { text-decoration-color: currentColor; - text-decoration-thickness: calc(3 * var(--relative-eighth-rem)); + text-decoration-style: wavy; transition: color 300ms, text-decoration-color 300ms, - text-decoration-thickness 300ms, border-color 300ms; } |
