From b66674beeb62ac5f1ab3fc09123e715d7379b1c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=99=BD=E4=BA=91=E8=8B=8D=E7=8B=97?= Date: Wed, 18 Oct 2023 20:58:43 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9E=20fix:=20twikoo=20=E7=AE=A1?= =?UTF-8?q?=E7=90=86=E9=9D=A2=E6=9D=BF=E6=A0=B7=E5=BC=8F=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../hexo-theme-async/layout/_partial/page/links.ejs | 10 +++++----- .../hexo-theme-async/source/css/_components/card.less | 2 +- .../source/css/_components/plugins/comment/twikoo.less | 5 +++++ 3 files changed, 11 insertions(+), 6 deletions(-) diff --git a/packages/hexo-theme-async/layout/_partial/page/links.ejs b/packages/hexo-theme-async/layout/_partial/page/links.ejs index e7fa9c32..e4e90caa 100644 --- a/packages/hexo-theme-async/layout/_partial/page/links.ejs +++ b/packages/hexo-theme-async/layout/_partial/page/links.ejs @@ -1,6 +1,6 @@ -
+
-
+
<%-__('site.ruleText')%>:
<%- theme.user.ruleText %> @@ -8,12 +8,12 @@
-
+
<%-__('site.title')%>
-
+
  • <%-__('site.webmaster')%>:<%- theme.user.name %>
  • <%-__('site.domain')%>:<%- theme.user.domain %>
  • @@ -25,7 +25,7 @@
<% if(Array.isArray(theme.links)){ %> -
+
<%-__('title.links')%> diff --git a/packages/hexo-theme-async/source/css/_components/card.less b/packages/hexo-theme-async/source/css/_components/card.less index 9fbd9aa3..76931d3d 100644 --- a/packages/hexo-theme-async/source/css/_components/card.less +++ b/packages/hexo-theme-async/source/css/_components/card.less @@ -142,7 +142,7 @@ border-radius: var(--card-border-radius, 10px); background-color: var(--theme-bg-color, #fcfcfe); box-shadow: var(--box-shadow2, 0 2px 4px -2px rgba(0, 0, 0, 0.15)); - margin-bottom: 20px; + margin-bottom: var(--card-bottom-card, 40px); .trm-service-content { display: flex; diff --git a/packages/hexo-theme-async/source/css/_components/plugins/comment/twikoo.less b/packages/hexo-theme-async/source/css/_components/plugins/comment/twikoo.less index 241a2167..ed523a2c 100644 --- a/packages/hexo-theme-async/source/css/_components/plugins/comment/twikoo.less +++ b/packages/hexo-theme-async/source/css/_components/plugins/comment/twikoo.less @@ -82,3 +82,8 @@ .tk-submit { margin-top: none; } + +.tk-admin-container { + position: fixed !important; + z-index: 100; +} \ No newline at end of file