diff options
| author | Joe Carstairs <65492573+Sycamost@users.noreply.github.com> | 2023-09-21 22:09:59 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-09-21 22:09:59 +0100 |
| commit | 005cba86fefc395b157d71b4c6233dba320afb05 (patch) | |
| tree | a4876fa46418830cdc5dcdcbfc3f36bc2fde5512 /public/css/modules/link.css | |
| parent | aaac97183965e6edd4cbab9a9ea3be1fb90bfef2 (diff) | |
| parent | c357a2af03a8abf960941156414b990d50c48b76 (diff) | |
Merge pull request #6 from Sycamost/dev
Dev
Diffstat (limited to 'public/css/modules/link.css')
| -rw-r--r-- | public/css/modules/link.css | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/public/css/modules/link.css b/public/css/modules/link.css index 4bf2fc7..d225e9d 100644 --- a/public/css/modules/link.css +++ b/public/css/modules/link.css @@ -12,8 +12,7 @@ text-decoration-thickness 100ms, text-underline-offset 100ms, border-color 100ms, - font-weight 100ms, - font-size 100ms; + text-shadow 100ms; } .link:is(:hover, :focus, :focus-visible, :focus-within), @@ -21,15 +20,18 @@ text-decoration-color: currentColor; text-decoration-thickness: calc(4 * var(--relative-eighth-rem)); text-underline-offset: calc(3 * var(--relative-eighth-rem)); - font-weight: 700; + text-shadow: + 0 1px 0 currentColor, + 1px 0 0 currentColor, + 1px 0 0 currentColor, + 0 1px 0 currentColor; transition: color 300ms, text-decoration-color 300ms, text-decoration-thickness 300ms, text-underline-offset 300ms, border-color 300ms, - font-weight 300ms, - font-size 300ms; + text-shadow 300ms; } .link:focus, .link:focus-visible { @@ -38,6 +40,3 @@ border-color: var(--special-text-color); } -.link:active { - font-size: larger; -}
\ No newline at end of file |
