From cc2317c2e42da9484d26c81fd74033cfe8bd5338 Mon Sep 17 00:00:00 2001 From: "1152958806@qq.com" <17683872107czx> Date: Thu, 19 Oct 2023 11:17:04 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=90=8E=E5=8F=B0=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E5=AF=BC=E8=88=AA=E6=9D=A1=E6=98=BE=E7=A4=BA=E5=86=85?= =?UTF-8?q?=E5=AE=B9=E9=80=89=E6=8B=A9=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- settings.yaml | 3 +++ templates/assets/zhheo/zhheoblog.css | 17 ++++++++++------- 2 files changed, 13 insertions(+), 7 deletions(-) diff --git a/settings.yaml b/settings.yaml index a1b3117e..f5d91012 100644 --- a/settings.yaml +++ b/settings.yaml @@ -446,6 +446,7 @@ spec: - $formkit: repeater if: $get(nav).value === 'custom-category' name: navCustomCategory + key: navCustomCategory label: 自定义分类 value: [ ] children: @@ -455,6 +456,7 @@ spec: - $formkit: repeater if: $get(nav).value === 'custom-tag' name: navCustomTag + key: navCustomTag label: 自定义标签 value: [ ] children: @@ -464,6 +466,7 @@ spec: - $formkit: repeater if: $get(nav).value === 'custom-url' name: navCustomUrl + key: navCustomUrl label: 自定义路径 value: [ ] children: diff --git a/templates/assets/zhheo/zhheoblog.css b/templates/assets/zhheo/zhheoblog.css index a8f72422..7f8c145b 100644 --- a/templates/assets/zhheo/zhheoblog.css +++ b/templates/assets/zhheo/zhheoblog.css @@ -3107,7 +3107,7 @@ ul { #pagination .page-number.current { background: rgb(0, 121, 255); - color: var(--white); + color: var(--heo-card-bg); cursor: default; border-radius: 5px; } @@ -8023,8 +8023,8 @@ div#banners { height: 100%; top: 0; left: 0; - background: var(--heo-theme); - color: var(--heo-white); + background: var(--heo-lighttext); + color: var(--heo-card-bg); padding-left: 0.5rem; display: flex; flex-direction: column; @@ -8047,7 +8047,7 @@ div#banners { #banners:hover #banner-hover { opacity: 1; padding-left: 2rem; - background: #4259efc9; + background: var(--heo-theme-op-deep); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); -webkit-backface-visibility: hidden; @@ -8148,8 +8148,8 @@ div#banners { } .topGroup .banner-button:hover { - background: var(--heo-theme); - color: var(--heo-white); + background: var(--heo-lighttext); + color: var(--heo-card-bg); } .topGroup .banner-button i { @@ -8361,7 +8361,7 @@ a.categoryButton:hover { /* 首页分类条展示 */ #category-bar { - padding: 0.4rem 1rem 0.4rem 0.5rem; + padding: 0.4rem 1rem 0.4rem 0.7rem; background: var(--heo-card-bg); border-radius: 12px; display: flex; @@ -8372,6 +8372,9 @@ a.categoryButton:hover { transition: 0.3s; width: 100%; justify-content: space-between; + -webkit-user-select: none; + display: flex; + align-items: center } @media screen and (min-width: 1300px) {