diff options
| author | Joe Carstairs <jcarstairs@scottlogic.com> | 2023-10-25 19:03:52 +0100 |
|---|---|---|
| committer | Joe Carstairs <jcarstairs@scottlogic.com> | 2023-10-25 19:03:52 +0100 |
| commit | daa6adb89259c2a1a72b219d02ad7fc1373b44b1 (patch) | |
| tree | b2b14d22d9b82971bce537e3290d76c5e3954623 /scss | |
| parent | 94f88956e0ab5dd420a0a0db38fb5e247fab0932 (diff) | |
Removes box shadow transition on link hover
Diffstat (limited to 'scss')
| -rw-r--r-- | scss/modules/link.scss | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/scss/modules/link.scss b/scss/modules/link.scss index d225e9d..dfcabcf 100644 --- a/scss/modules/link.scss +++ b/scss/modules/link.scss @@ -10,28 +10,18 @@ color 100ms, text-decoration-color 100ms, text-decoration-thickness 100ms, - text-underline-offset 100ms, - border-color 100ms, - text-shadow 100ms; + border-color 100ms; } .link:is(:hover, :focus, :focus-visible, :focus-within), .group-hover:is(:hover, :focus, :focus-visible, :focus-within) .link { text-decoration-color: currentColor; - text-decoration-thickness: calc(4 * var(--relative-eighth-rem)); - text-underline-offset: calc(3 * var(--relative-eighth-rem)); - text-shadow: - 0 1px 0 currentColor, - 1px 0 0 currentColor, - 1px 0 0 currentColor, - 0 1px 0 currentColor; + text-decoration-thickness: calc(3 * var(--relative-eighth-rem)); transition: color 300ms, text-decoration-color 300ms, text-decoration-thickness 300ms, - text-underline-offset 300ms, - border-color 300ms, - text-shadow 300ms; + border-color 300ms; } .link:focus, .link:focus-visible { |
