aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFuwn <[email protected]>2026-05-08 07:51:15 +0000
committerFuwn <[email protected]>2026-05-08 07:51:15 +0000
commit485f1b110a03c8adfe07d065bd9890469faf0936 (patch)
tree1681c598634a9c22b8a31b8f64ee408830f2a79f /src
parentstyle(transitions): lengthen page transition for smoother feel (diff)
downloaddue.moe-485f1b110a03c8adfe07d065bd9890469faf0936.tar.xz
due.moe-485f1b110a03c8adfe07d065bd9890469faf0936.zip
style(anchor): narrow global anchor transition to color/opacity
Replace transition: all with explicit color, opacity, and text-decoration-color so unrelated property changes (transform, background) do not get incidentally tweened.
Diffstat (limited to 'src')
-rw-r--r--src/routes/+layout.svelte5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte
index fa0f4a25..b09e771a 100644
--- a/src/routes/+layout.svelte
+++ b/src/routes/+layout.svelte
@@ -375,7 +375,10 @@ $: {
:global(a) {
text-decoration: none;
- transition: all 0.15s ease-in-out;
+ transition:
+ color 0.15s ease-in-out,
+ opacity 0.15s ease-in-out,
+ text-decoration-color 0.15s ease-in-out;
}
:global(a:hover) {