From 16ef7999142b36aa7c6b71dbc9281ba6aac91c9a Mon Sep 17 00:00:00 2001 From: shy <1061867552@qq.com> Date: Fri, 14 Oct 2022 15:26:31 +0800 Subject: [PATCH] =?UTF-8?q?feat:=201.=20=E5=BC=80=E5=85=B3=E6=8E=A7?= =?UTF-8?q?=E5=88=B6=E5=AF=BC=E8=88=AA=E6=A0=8F=E5=8F=B3=E4=BE=A7=E6=8C=89?= =?UTF-8?q?=E9=92=AE=E5=92=8C=E6=97=A5=E5=BF=97=E6=A8=A1=E5=9D=97=202.=20?= =?UTF-8?q?=E6=94=B9=E5=8F=98=E8=A2=AB=E9=80=89=E4=B8=AD=E5=86=85=E5=AE=B9?= =?UTF-8?q?=E9=A2=9C=E8=89=B2=203.=20=E7=9B=AE=E5=BD=95=E7=9A=84=E5=88=9D?= =?UTF-8?q?=E6=AD=A5=E6=9E=84=E5=BB=BA=204.=20=E4=BB=A3=E7=A0=81=E9=AB=98?= =?UTF-8?q?=E4=BA=AE=E4=BD=BF=E7=94=A8=E4=BB=A3=E7=A0=81=E9=AB=98=E4=BA=AE?= =?UTF-8?q?highlight?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- settings.yaml | 9 ++++++ templates/assets/zhheo/zhheoblog.css | 5 ++-- templates/modules/widgets/nav-right.html | 2 +- templates/post.html | 38 ++++++++++++++++++++++++ 4 files changed, 50 insertions(+), 4 deletions(-) diff --git a/settings.yaml b/settings.yaml index aaf4cff7..882f87a9 100644 --- a/settings.yaml +++ b/settings.yaml @@ -12,6 +12,15 @@ spec: label: 导航栏左侧相关链接 placeholder: 请填写 metadata name help: "需要通过开发者模式获取菜单对应的 metadata name" + - $formkit: radio + name: right_menu + label: 右侧四个按钮 + value: true + options: + - label: 显示 + value: true + - label: 隐藏 + value: false - $formkit: text name: site_title label: 标题 diff --git a/templates/assets/zhheo/zhheoblog.css b/templates/assets/zhheo/zhheoblog.css index e1454742..517bad91 100644 --- a/templates/assets/zhheo/zhheoblog.css +++ b/templates/assets/zhheo/zhheoblog.css @@ -732,9 +732,9 @@ table td, table th { vertical-align: middle } +/* 选中内容的颜色 */ ::selection { - background: #0079ff; - color: #f7f7f7 + color: #b5b8ef } button { @@ -10392,7 +10392,6 @@ b, strong { } #article-container.post-content h1, #article-container.post-content h2, #article-container.post-content h3, #article-container.post-content h4 { - display: flex; align-items: center; justify-content: space-between; flex-direction: row-reverse diff --git a/templates/modules/widgets/nav-right.html b/templates/modules/widgets/nav-right.html index dc3803bb..0419e3d1 100644 --- a/templates/modules/widgets/nav-right.html +++ b/templates/modules/widgets/nav-right.html @@ -2,7 +2,7 @@ -