webxc 1.0.27 → 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.
- package/butterfly/css/site.min.css +50 -0
- package/package.json +1 -1
|
@@ -193,6 +193,56 @@ 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
|
+
|
|
233
|
+
/* ---------- 手机端侧边菜单:展开后不再被裁掉一截 ----------
|
|
234
|
+
* 01-theme-base.css 里面板原位是 right:-300px、展开位移 -103%(按 268px 宽算 = 276px),
|
|
235
|
+
* 两者刚好对上;但 04-nav-and-posts.css 把原位改成了 right:-290px!important,
|
|
236
|
+
* 位移没跟着改,于是展开后面板右边缘超出视口 14px,菜单最右边被切掉。
|
|
237
|
+
* 这里把位移换成绝对值,跟 -290px 对齐,展开后正好贴齐屏幕右边。
|
|
238
|
+
*/
|
|
239
|
+
@media screen and (max-width: 768px) {
|
|
240
|
+
#sidebar #sidebar-menus.open {
|
|
241
|
+
-webkit-transform: translate3d(-290px, 0, 0) !important;
|
|
242
|
+
transform: translate3d(-290px, 0, 0) !important;
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
|
|
196
246
|
/* ---------- 文章页头部元信息:窄屏整块换行,日期不被拆开 ---------- */
|
|
197
247
|
@media screen and (max-width: 768px) {
|
|
198
248
|
#post-meta .meta-firstline,
|