@@ -65,6 +65,17 @@ body {
background-attachment: fixed, scroll, scroll, local;
}
+/* 移动端优化:使用移动端专属背景图 */
+@media (max-width: 720px) {
+ body {
+ background-image: url("../background-mobile.png");
+ background-size: cover;
+ background-position: center;
+ background-repeat: no-repeat;
+ background-attachment: scroll;
+ }
+}
+
a {
color: var(--accent);
text-decoration: none;