fix: use pixel values for diagonal AC background scroll

Percentage-based background-position translates to unequal pixel offsets
(268px X vs 768px Y on a 1280x768 viewport), making the movement appear
mostly vertical. Equal pixel values (1012px, 1012px) give a true 45-degree
diagonal. X loops seamlessly at the tile width boundary.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-18 04:23:14 -06:00
parent 7438498d4b
commit 8c750b880a

View File

@@ -1834,10 +1834,10 @@ html[data-theme="dark"][data-design-theme="animal-crossing"] .beian a:hover {
@keyframes ac-bg-scroll {
0% {
background-position: 100% 0%;
background-position: 0px 0px;
}
100% {
background-position: 0% 100%;
background-position: 1012px 1012px;
}
}