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:
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 @@