From 81b2b1a349a17eaa0447b22abe2b7e830a86e5c7 Mon Sep 17 00:00:00 2001 From: "1152958806@qq.com" <1152958806@qq.com> Date: Mon, 9 Oct 2023 21:02:28 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E4=BC=98=E5=8C=96=E7=9E=AC=E9=97=B4?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/assets/zhheo/zhheoblog.css | 22 ++++++++++- templates/moments.html | 58 ++++++++++++++-------------- templates/photos.html | 2 +- 3 files changed, 52 insertions(+), 30 deletions(-) diff --git a/templates/assets/zhheo/zhheoblog.css b/templates/assets/zhheo/zhheoblog.css index 7a6c0472..33eedc46 100644 --- a/templates/assets/zhheo/zhheoblog.css +++ b/templates/assets/zhheo/zhheoblog.css @@ -14527,12 +14527,32 @@ div#heo-footer-bar .footer-bar-description { width: 100%; line-height: 1.38; border-radius: 12px; - margin-bottom: 0.5rem; display: flex; flex-direction: column; text-align: justify; } +#bber .bber-content .datacont p { + margin-bottom: 0.5rem; +} + +/* 标签 */ +#bber .bber-content .datacont a.tag { + background-image: none!important; + background-color: #f2f2f2!important; + color: #999!important; + border-radius: 4px; + text-decoration: none; + font-weight: 400; + font-size: 15px; + padding: 2px 5px; + +} + +#bber .bber-content .datacont a.tag:before { + content: "#"; +} + /* 设备 */ #bber > section > ul > li > div .datafrom { order: 2; diff --git a/templates/moments.html b/templates/moments.html index 5c760a44..40aa6875 100644 --- a/templates/moments.html +++ b/templates/moments.html @@ -8,7 +8,7 @@
@@ -17,32 +17,34 @@ bigTitle = ${theme.config.moment.bigTitle}, detail = ${theme.config.moment.detail}, buttonUrl = ${theme.config.moment.buttonUrl}, - buttonTitle = ${theme.config.moment.buttonTitle})}" >
+ buttonTitle = ${theme.config.moment.buttonTitle})}">
-
    +
    • -

      +
      +
      + +
      + +
      +
      +
      +
      +
      + +
      +
      - -
      - -
      -
      -
      -
      -
      - -
      -

      @@ -51,9 +53,9 @@ th:text="${#dates.format(moment.spec.releaseTime,'yyyy-MM-dd')}">
      - +
@@ -63,13 +65,12 @@
- 只展示最近30条短文 -
-
+
- + allowComment = true)}" /> @@ -78,7 +79,8 @@
- +
diff --git a/templates/photos.html b/templates/photos.html index f8d5e98c..38ce4219 100644 --- a/templates/photos.html +++ b/templates/photos.html @@ -7,7 +7,7 @@
From 6b4d5a71c427c443a81b3972e648b9f6c2cda5e4 Mon Sep 17 00:00:00 2001 From: "1152958806@qq.com" <1152958806@qq.com> Date: Mon, 9 Oct 2023 21:06:53 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=9B=BE=E5=BA=93?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/album.html | 9 ++------- templates/photos.html | 46 +++++++++++++++++++++++++++++++++---------- 2 files changed, 38 insertions(+), 17 deletions(-) diff --git a/templates/album.html b/templates/album.html index 05c2d856..2e7436dd 100644 --- a/templates/album.html +++ b/templates/album.html @@ -22,7 +22,7 @@
-
+

[[${#annotations.get(group, 'description')}]]

+ rel="noopener" th:onclick="pjax.loadUrl([['/photos?group='+${group.metadata.name}]])">
-