webxc 1.0.28 → 1.0.29

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.
@@ -193,6 +193,43 @@ body{background-color:#f4f4f4!important;background-image:url(../img/postssback.s
193
193
  }
194
194
  }
195
195
 
196
+ /* ---------- 上下篇 / 相关推荐:让白字压得住封面图 ----------
197
+ * 这两块是「封面当背景 + 白字压在上面」,而本站封面基本都把标题烧进图里了,
198
+ * 叠上去就是两行字互相打架。原样式用 img{opacity:.4} 想压暗,但容器没有底色,
199
+ * 等于把图摊在浅色页面背景上,反而更亮。
200
+ * 处理:补黑底、把封面模糊掉(成了质感底图而不是第二份标题),再压一层渐变,
201
+ * 文字抬到最上层。
202
+ */
203
+ #pagination .prev-post a,
204
+ #pagination .next-post a {
205
+ background-color: #000;
206
+ }
207
+
208
+ #pagination .prev-post img,
209
+ #pagination .next-post img,
210
+ .relatedPosts > .relatedPosts-list > div img {
211
+ filter: blur(3px) brightness(0.75);
212
+ transform: scale(1.08);
213
+ opacity: 0.55;
214
+ }
215
+
216
+ #pagination .prev-post a::after,
217
+ #pagination .next-post a::after,
218
+ .relatedPosts > .relatedPosts-list > div::after {
219
+ content: '';
220
+ position: absolute;
221
+ inset: 0;
222
+ z-index: 1;
223
+ pointer-events: none;
224
+ background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 0%, rgba(0, 0, 0, 0.65) 100%);
225
+ }
226
+
227
+ #pagination .pagination-info,
228
+ .relatedPosts > .relatedPosts-list .content {
229
+ position: relative;
230
+ z-index: 2;
231
+ }
232
+
196
233
  /* ---------- 手机端侧边菜单:展开后不再被裁掉一截 ----------
197
234
  * 01-theme-base.css 里面板原位是 right:-300px、展开位移 -103%(按 268px 宽算 = 276px),
198
235
  * 两者刚好对上;但 04-nav-and-posts.css 把原位改成了 right:-290px!important,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "webxc",
3
- "version": "1.0.28",
3
+ "version": "1.0.29",
4
4
  "description": "webxc static assets",
5
5
  "main": "index.js",
6
6
  "scripts": {