hexo-theme-particlex 2.2.8 → 2.2.9
Sign up to get free protection for your applications and to get access to all the features.
package/package.json
CHANGED
package/source/css/particlex.css
CHANGED
@@ -112,15 +112,16 @@
|
|
112
112
|
color: #34d058;
|
113
113
|
}
|
114
114
|
#home-background {
|
115
|
-
background-position: center;
|
116
|
-
background-repeat: no-repeat;
|
117
|
-
background-size: cover;
|
118
115
|
position: absolute;
|
116
|
+
z-index: -1;
|
119
117
|
height: 100vh;
|
120
118
|
left: 0;
|
121
119
|
top: 0;
|
122
120
|
width: 100vw;
|
123
|
-
|
121
|
+
background-position: center;
|
122
|
+
background-repeat: no-repeat;
|
123
|
+
background-size: cover;
|
124
|
+
background-attachment: fixed;
|
124
125
|
}
|
125
126
|
#home-card {
|
126
127
|
position: relative;
|
@@ -750,7 +751,7 @@ footer {
|
|
750
751
|
padding-bottom: 20px;
|
751
752
|
position: relative;
|
752
753
|
text-align: center;
|
753
|
-
top:
|
754
|
+
top: 150px;
|
754
755
|
width: 100%;
|
755
756
|
}
|
756
757
|
footer .footer-icon {
|
package/source/js/particlex.js
CHANGED
@@ -66,10 +66,10 @@ const app = Vue.createApp({
|
|
66
66
|
if (newlocal <= window.innerHeight - 100) menu.className += " menu-color";
|
67
67
|
if (newlocal <= 400) {
|
68
68
|
wrap.style.top = newlocal / -5 + "px";
|
69
|
-
footer.style.top =
|
69
|
+
footer.style.top = newlocal / -5 + 150 + "px";
|
70
70
|
} else {
|
71
71
|
wrap.style.top = "-80px";
|
72
|
-
footer.style.top = "
|
72
|
+
footer.style.top = "70px";
|
73
73
|
}
|
74
74
|
}
|
75
75
|
this.barlocal = newlocal;
|