From f7ccf8ec848ceab5ac88b70565986ea9adb0d8ce Mon Sep 17 00:00:00 2001 From: LinRuiqi Date: Sun, 24 Aug 2025 22:31:46 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=80=E7=B3=BB=E5=88=97=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- footer.php | 74 +++++++++++++++++++++++++++++++++++++++++++++++++++++- header.php | 47 +++++++++++++++++----------------- style.css | 10 ++++++-- 3 files changed, 105 insertions(+), 26 deletions(-) diff --git a/footer.php b/footer.php index 9097f19..70fb0bc 100644 --- a/footer.php +++ b/footer.php @@ -9,6 +9,78 @@ footer(); ?> - + + + + + + + + diff --git a/header.php b/header.php index c09eeae..04b9535 100644 --- a/header.php +++ b/header.php @@ -5,26 +5,27 @@ - - + + + - - - <?php $this->archiveTitle([ - 'category' => _t('分类 %s 下的文章'), - 'search' => _t('包含关键字 %s 的文章'), - 'tag' => _t('标签 %s 下的文章'), - 'author' => _t('%s 发布的文章') - ], '', ' - '); ?><?php $this->options->title(); ?> + + + <?php $this->archiveTitle([ + 'category' => _t('分类 %s 下的文章'), + 'search' => _t('包含关键字 %s 的文章'), + 'tag' => _t('标签 %s 下的文章'), + 'author' => _t('%s 发布的文章') + ], '', ' - '); ?><?php $this->options->title(); ?><?php if ($this->options->description): ?> - <?php $this->options->description(); ?><?php endif; ?> - header(); ?> - - - - - + header(); ?> + + + + + - + @@ -75,16 +76,16 @@
  • - options->socialTwitter): ?> -
  • Twitter
  • + socialTwitter): ?> +
  • Twitter
  • - options->socialFacebook): ?> -
  • Facebook
  • + socialFacebook): ?> +
  • Facebook
  • - options->socialGitHub): ?> -
  • GitHub
  • + socialGitHub): ?> +
  • GitHub
  • diff --git a/style.css b/style.css index ef3d981..9b5fda9 100644 --- a/style.css +++ b/style.css @@ -122,7 +122,7 @@ input[type="search"]::-webkit-search-results-decoration { body { - background: #fff; + background: #f6f2e8; border: none; color: #121212; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", Helvetica, Arial, "PingFangSC-Regular", "Hiragino Sans GB", "Lantinghei SC", "Microsoft Yahei", "Source Han Sans CN", "WenQuanYi Micro Hei", SimSun, sans-serif; @@ -1700,6 +1700,10 @@ body.hide-social .social-menu { word-break: break-word; } +.entry-content h1, h2, h3, h4, h5, h6 { + letter-spacing: 1px; +} + .entry-content a { text-decoration: underline; color: var(--accent-color); @@ -1733,7 +1737,9 @@ address { .entry-content p { line-height: 2; - text-align: justify; + word-break: break-word; + word-wrap: break-word; + letter-spacing: 0.5px; } .entry-content p.has-background {