From a244ecec8296cc8ceb8daaaf266d2b8cbe29c8d6 Mon Sep 17 00:00:00 2001 From: "1152958806@qq.com" <1152958806@qq.com> Date: Wed, 27 Dec 2023 22:50:22 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E4=BE=A7=E8=BE=B9=E6=A0=8F?= =?UTF-8?q?=E5=9C=A8=E5=B7=A6=E4=BE=A7=E6=A0=B7=E5=BC=8F=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/assets/zhheo/zhheoblog.css | 28 +++++++++++++++------------- 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/templates/assets/zhheo/zhheoblog.css b/templates/assets/zhheo/zhheoblog.css index 0ea2ee3a..8f45ad5f 100644 --- a/templates/assets/zhheo/zhheoblog.css +++ b/templates/assets/zhheo/zhheoblog.css @@ -7679,20 +7679,22 @@ div#power-star-title { width: 100%; } -/* 侧边栏在左侧时,显示 100% */ -.layout.left-aside > div:first-child { - -webkit-box-ordinal-group: 2; - -moz-box-ordinal-group: 2; - -o-box-ordinal-group: 2; - -ms-flex-order: 2; - -webkit-order: 2; - order: 2; -} +@media screen and (min-width: 1200px) { + /* 侧边栏在左侧时,显示 100% */ + .layout.left-aside > div:first-child { + -webkit-box-ordinal-group: 2; + -moz-box-ordinal-group: 2; + -o-box-ordinal-group: 2; + -ms-flex-order: 2; + -webkit-order: 2; + order: 2; + } -/* 侧栏在左侧时,关闭左边距,打开右边距 */ -.layout.left-aside .aside-content { - padding-right: 15px; - padding-left: 0px !important; + /* 侧栏在左侧时,关闭左边距,打开右边距 */ + .layout.left-aside .aside-content { + padding-right: 15px; + padding-left: 0px !important; + } } /* 主页分类 */