Remove background mouse pan effect

This commit is contained in:
2026-02-04 14:38:15 +01:00
parent f6341ac0af
commit bf1ceba156
3 changed files with 3 additions and 49 deletions

View File

@@ -7,9 +7,6 @@
-apple-system,
sans-serif;
color: #2c1c0d;
--bg-scale: 1.0;
--bg-x: 0px;
--bg-y: 0px;
}
html {
@@ -43,11 +40,8 @@ html {
background-image: url("background.png");
background-repeat: no-repeat;
background-size: cover;
background-position: calc(50% + var(--bg-x)) calc(50% + var(--bg-y));
transform: scale(var(--bg-scale));
transform-origin: center;
background-position: center;
z-index: -1;
will-change: transform, background-position;
pointer-events: none;
}