From 5265665786577ec2443c7bdd184b587829fc6992 Mon Sep 17 00:00:00 2001 From: Carol Date: Wed, 26 Jun 2024 09:37:08 +0800 Subject: [PATCH 1/2] =?UTF-8?q?change:=20=E9=A6=96=E9=A1=B5=E9=A1=B6?= =?UTF-8?q?=E9=83=A8banner=E6=A0=87=E9=A2=98=E6=94=AF=E6=8C=81=E4=B8=8D?= =?UTF-8?q?=E8=B6=85=E8=BF=87122px=E9=95=BF=E5=BA=A6=E7=9A=84=E6=96=87?= =?UTF-8?q?=E5=AD=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/assets/zhheo/zhheoblog.css | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/templates/assets/zhheo/zhheoblog.css b/templates/assets/zhheo/zhheoblog.css index a715fb67..ee74639f 100644 --- a/templates/assets/zhheo/zhheoblog.css +++ b/templates/assets/zhheo/zhheoblog.css @@ -8133,12 +8133,13 @@ div#banners { border-radius: 60px; margin-bottom: 12px; color: var(--heo-white); - width: 94px; + max-width: 170px; position: relative } .banners-link-title { - margin-left: auto + margin-left: auto; + padding-left: 5px; } } From 6daedc74a8c813eba46c7ee298a5ae5ae780394e Mon Sep 17 00:00:00 2001 From: Carol Date: Wed, 26 Jun 2024 11:45:34 +0800 Subject: [PATCH 2/2] =?UTF-8?q?change:=20=E6=94=AF=E6=8C=81=E8=87=AA?= =?UTF-8?q?=E5=AE=9A=E4=B9=89=E9=A1=B5=E8=84=9Apadding=E9=AB=98=E5=BA=A6?= =?UTF-8?q?=20add:=20=E6=94=AF=E6=8C=81=E5=88=87=E6=8D=A2=E9=A6=96?= =?UTF-8?q?=E9=A1=B5=E5=B7=A6=E4=BE=A7banner=E6=BB=9A=E5=8A=A8=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- settings.yaml | 18 ++++++++++++++++++ templates/assets/zhheo/zhheoblog.css | 13 ++++++++++++- templates/modules/footer.html | 2 +- templates/modules/widgets/banner-group.html | 2 +- theme.yaml | 2 +- 5 files changed, 33 insertions(+), 4 deletions(-) diff --git a/settings.yaml b/settings.yaml index 739cb938..083f4e4e 100644 --- a/settings.yaml +++ b/settings.yaml @@ -292,6 +292,7 @@ spec: label: Banner 左侧 if: $get(recentTop).value value: + bannersBackgroundRollStyle: tags-group-all bannersBackground: default bannersTitleBig:
Halo Theme
Hao
bannersTitleSmall: 更多信息请关注 GitHub @@ -312,6 +313,16 @@ spec: colorTwoDark: "#da980c" techStack: children: + - $formkit: select + name: bannersBackgroundRollStyle + id: bannersBackgroundRollStyle + key: bannersBackgroundRollStyle + label: 背景图滚动样式 + options: + - label: 垂直滚动 + value: tags-group-all + - label: 倾斜滚动 + value: tags-group-all45 - $formkit: select name: bannersBackground id: bannersBackground @@ -1376,6 +1387,7 @@ spec: gongwangan: true yingsi: true yunzhichi: false + footer_banner_padding: 1 style_one: owner_enable: false runtime_enable: true @@ -1404,6 +1416,12 @@ spec: value: true - label: 隐藏 value: false + - $formkit: number + if: $get(default_enable).value + name: footer_banner_padding + id: footer_banner_padding + key: footer_banner_padding + label: 页脚高度 - $formkit: radio if: $get(default_enable).value name: dingyue diff --git a/templates/assets/zhheo/zhheoblog.css b/templates/assets/zhheo/zhheoblog.css index ee74639f..41ed74c7 100644 --- a/templates/assets/zhheo/zhheoblog.css +++ b/templates/assets/zhheo/zhheoblog.css @@ -8171,7 +8171,13 @@ div#banners { .tags-group-all { display: flex; - transform: rotate(0) + transform: rotate(0); +} + +.tags-group-all45 { + display: flex; + transform: rotate(45deg); + margin-top: -130%; } .tags-group-all.nowrapMove { @@ -8179,6 +8185,11 @@ div#banners { padding-bottom: 2rem } +.tags-group-all45.nowrapMove { + transform: rotate(0); + padding-bottom: 2rem +} + #bannerGroup .tags-group-wrapper { margin-top: 0; display: flex; diff --git a/templates/modules/footer.html b/templates/modules/footer.html index a5116179..16c7c884 100644 --- a/templates/modules/footer.html +++ b/templates/modules/footer.html @@ -101,7 +101,7 @@ } -