aboutsummaryrefslogtreecommitdiffstats
path: root/frontend-vanilla/src/style.css
diff options
context:
space:
mode:
authorAdam Mathes <adam@adammathes.com>2026-02-18 15:01:22 -0800
committerGitHub <noreply@github.com>2026-02-18 15:01:22 -0800
commit082089e427df8e34a366684f71f35ed700ec5d04 (patch)
tree6a8eb1314cc203f4e070c98422a9cb75699766f1 /frontend-vanilla/src/style.css
parent7776e81b39130c211eb0ec566c6467a28a9fa64c (diff)
parent0876a683cdc344b200dbd65aa137969a1528c85d (diff)
downloadneko-082089e427df8e34a366684f71f35ed700ec5d04.tar.gz
neko-082089e427df8e34a366684f71f35ed700ec5d04.tar.bz2
neko-082089e427df8e34a366684f71f35ed700ec5d04.zip
Merge pull request #20 from adammathes/claude/investigate-theme-performance-GjjYA
Optimize scroll performance and reduce layout thrashing
Diffstat (limited to 'frontend-vanilla/src/style.css')
-rw-r--r--frontend-vanilla/src/style.css4
1 files changed, 2 insertions, 2 deletions
diff --git a/frontend-vanilla/src/style.css b/frontend-vanilla/src/style.css
index 0f7b909..fd51eff 100644
--- a/frontend-vanilla/src/style.css
+++ b/frontend-vanilla/src/style.css
@@ -163,7 +163,7 @@ html {
padding: 0.3rem 0.8rem;
margin: 0.1rem 0;
border-radius: 8px;
- transition: all 0.2s ease;
+ transition: background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
font-weight: 500;
font-size: 0.85rem;
/* Explicitly smaller sidebar links */
@@ -703,7 +703,7 @@ button,
font-family: var(--font-heading);
background-color: var(--bg-color);
cursor: pointer;
- transition: all 0.2s;
+ transition: background-color 0.2s, color 0.2s, border-color 0.2s;
color: var(--text-color);
text-decoration: none;
display: inline-block;