webxc 1.0.27 → 1.0.28
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 +13 -0
- package/package.json +1 -1
|
@@ -193,6 +193,19 @@ body{background-color:#f4f4f4!important;background-image:url(../img/postssback.s
|
|
|
193
193
|
}
|
|
194
194
|
}
|
|
195
195
|
|
|
196
|
+
/* ---------- 手机端侧边菜单:展开后不再被裁掉一截 ----------
|
|
197
|
+
* 01-theme-base.css 里面板原位是 right:-300px、展开位移 -103%(按 268px 宽算 = 276px),
|
|
198
|
+
* 两者刚好对上;但 04-nav-and-posts.css 把原位改成了 right:-290px!important,
|
|
199
|
+
* 位移没跟着改,于是展开后面板右边缘超出视口 14px,菜单最右边被切掉。
|
|
200
|
+
* 这里把位移换成绝对值,跟 -290px 对齐,展开后正好贴齐屏幕右边。
|
|
201
|
+
*/
|
|
202
|
+
@media screen and (max-width: 768px) {
|
|
203
|
+
#sidebar #sidebar-menus.open {
|
|
204
|
+
-webkit-transform: translate3d(-290px, 0, 0) !important;
|
|
205
|
+
transform: translate3d(-290px, 0, 0) !important;
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
|
|
196
209
|
/* ---------- 文章页头部元信息:窄屏整块换行,日期不被拆开 ---------- */
|
|
197
210
|
@media screen and (max-width: 768px) {
|
|
198
211
|
#post-meta .meta-firstline,
|