summaryrefslogtreecommitdiff
path: root/public/css/modules/link.css
diff options
context:
space:
mode:
authorJoe Carstairs <65492573+Sycamost@users.noreply.github.com>2023-09-20 21:27:15 +0100
committerJoe Carstairs <65492573+Sycamost@users.noreply.github.com>2023-09-20 21:27:15 +0100
commit4ebe26bcf1e6f4cacd36497882683ee334ab9d65 (patch)
treef0fff294294c6d187df86350986f0a6dca2002cc /public/css/modules/link.css
parentea86a790ee23433509b292c46fd517407153c59c (diff)
parentbe4f4c3ac920e3c3da4ce5294cb1dbe8b0d4ff4d (diff)
Merge branch 'dev' of https://github.com/Sycamost/lallans-wabsteid-astro into dev
Diffstat (limited to 'public/css/modules/link.css')
-rw-r--r--public/css/modules/link.css12
1 files changed, 7 insertions, 5 deletions
diff --git a/public/css/modules/link.css b/public/css/modules/link.css
index 4bf2fc7..4d7986a 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 {