hexo-theme-particlex 2.2.8 → 2.2.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hexo-theme-particlex",
3
- "version": "2.2.8",
3
+ "version": "2.2.9",
4
4
  "description": "A concise Hexo theme, based on Particle.",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"
@@ -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
- z-index: -1;
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: 80px;
754
+ top: 150px;
754
755
  width: 100%;
755
756
  }
756
757
  footer .footer-icon {
@@ -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 = 80 - newlocal / 5 + "px";
69
+ footer.style.top = newlocal / -5 + 150 + "px";
70
70
  } else {
71
71
  wrap.style.top = "-80px";
72
- footer.style.top = "0";
72
+ footer.style.top = "70px";
73
73
  }
74
74
  }
75
75
  this.barlocal = newlocal;