From 2c3d15ef066d9893c93673348609e67fb8dbf701 Mon Sep 17 00:00:00 2001 From: Evan Luo Date: Sun, 26 Nov 2023 09:01:19 -0500 Subject: [PATCH 01/54] docs: add sponsor --- DONATION.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/DONATION.md b/DONATION.md index 809617d8..7b82c946 100644 --- a/DONATION.md +++ b/DONATION.md @@ -75,4 +75,5 @@ Thank you! | Sep 29 | Ficon | ¥6.00 | 微信 | - | | Oct 05 | Ryou | ¥14.99 | 微信赞赏码 | - | | Oct 16 | 沈*昊 | ¥20.00 | 微信赞赏码 | - | -| Oct 24 | Neptune. | ¥14.99 | 微信赞赏码 | - | \ No newline at end of file +| Oct 24 | Neptune. | ¥14.99 | 微信赞赏码 | - | +| Nov 26 | **青 | ¥25.00 | 支付宝 | - | \ No newline at end of file From 253f94f7c50d4681f830f31b1eecec4eff6d14d6 Mon Sep 17 00:00:00 2001 From: Evan Luo Date: Mon, 27 Nov 2023 19:54:53 -0500 Subject: [PATCH 02/54] docs: add sponsor --- DONATION.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/DONATION.md b/DONATION.md index 7b82c946..3bfef251 100644 --- a/DONATION.md +++ b/DONATION.md @@ -76,4 +76,5 @@ Thank you! | Oct 05 | Ryou | ¥14.99 | 微信赞赏码 | - | | Oct 16 | 沈*昊 | ¥20.00 | 微信赞赏码 | - | | Oct 24 | Neptune. | ¥14.99 | 微信赞赏码 | - | -| Nov 26 | **青 | ¥25.00 | 支付宝 | - | \ No newline at end of file +| Nov 26 | **青 | ¥25.00 | 支付宝 | - | +| Nov 27 | :-) | ¥16.66 | 微信 | - | \ No newline at end of file From 83dfc79f1482bc377863f07f19847b70503ff8ed Mon Sep 17 00:00:00 2001 From: RayAlto Date: Tue, 28 Nov 2023 10:22:45 +0800 Subject: [PATCH 03/54] style: improve diff code highlighting in light mode --- source/css/common/codeblock/code-theme.styl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/css/common/codeblock/code-theme.styl b/source/css/common/codeblock/code-theme.styl index 70b5d682..9c0c263e 100755 --- a/source/css/common/codeblock/code-theme.styl +++ b/source/css/common/codeblock/code-theme.styl @@ -18,8 +18,8 @@ $highlight-doctag = #22863a $highlight-variable = #005cc5 $highlight-attr = #22863a $highlight-bullet = #6f42c1 -$highlight-addition = #144212 -$highlight-deletion = #600 +$highlight-addition = #abe338 +$highlight-deletion = #ffa07a $night-code-foreground = lighten($dark-default-text-color, 2%) $night-code-background = lighten($dark-background-color, 10%) $night-highlight-foreground = lighten($dark-default-text-color, 2%) From 15c55c964b300af8bd84ce1efdf824db21aa1c9f Mon Sep 17 00:00:00 2001 From: Evan Luo Date: Thu, 7 Dec 2023 21:16:43 -0500 Subject: [PATCH 04/54] docs: redesign banners and screenshots --- README.md | 18 +++++------------- README_zh-CN.md | 19 ++++++------------- README_zh-TW.md | 18 +++++------------- 3 files changed, 16 insertions(+), 39 deletions(-) diff --git a/README.md b/README.md index 0452b5e8..a26e407e 100644 --- a/README.md +++ b/README.md @@ -29,19 +29,11 @@ Drawing its core from [hexo-theme-keep](https://github.com/XPoet/hexo-theme-keep NodeJS Version

-

- - - - Cover Image - - - - - - Pages Image - -

+![cover-light@1x](https://github.com/EvanNotFound/hexo-theme-redefine/assets/68590232/20425f75-d866-45a0-ac58-fed676f4bff2) +![pages-light@1x](https://github.com/EvanNotFound/hexo-theme-redefine/assets/68590232/c6df4b81-557d-4e0b-8038-b056075d0fa4) + +![cover-dark@1x](https://github.com/EvanNotFound/hexo-theme-redefine/assets/68590232/89928d81-a604-4755-a0f2-ff99ab538d0a) +![pages-dark@1x](https://github.com/EvanNotFound/hexo-theme-redefine/assets/68590232/5d51b48d-7b08-4da0-a304-933424739203) ## 🌐 Demo diff --git a/README_zh-CN.md b/README_zh-CN.md index cc94c5b6..ec66210b 100644 --- a/README_zh-CN.md +++ b/README_zh-CN.md @@ -28,19 +28,12 @@

-

- - - - Cover Image - - - - - - Pages Image - -

+![cover-light@1x](https://github.com/EvanNotFound/hexo-theme-redefine/assets/68590232/20425f75-d866-45a0-ac58-fed676f4bff2) +![pages-light@1x](https://github.com/EvanNotFound/hexo-theme-redefine/assets/68590232/c6df4b81-557d-4e0b-8038-b056075d0fa4) + +![cover-dark@1x](https://github.com/EvanNotFound/hexo-theme-redefine/assets/68590232/89928d81-a604-4755-a0f2-ff99ab538d0a) +![pages-dark@1x](https://github.com/EvanNotFound/hexo-theme-redefine/assets/68590232/5d51b48d-7b08-4da0-a304-933424739203) + ## 🌐 官方演示站 diff --git a/README_zh-TW.md b/README_zh-TW.md index 3e5c0a3e..29f0165f 100644 --- a/README_zh-TW.md +++ b/README_zh-TW.md @@ -29,19 +29,11 @@ -

- - - - Cover Image - - - - - - Pages Image - -

+![cover-light@1x](https://github.com/EvanNotFound/hexo-theme-redefine/assets/68590232/20425f75-d866-45a0-ac58-fed676f4bff2) +![pages-light@1x](https://github.com/EvanNotFound/hexo-theme-redefine/assets/68590232/c6df4b81-557d-4e0b-8038-b056075d0fa4) + +![cover-dark@1x](https://github.com/EvanNotFound/hexo-theme-redefine/assets/68590232/89928d81-a604-4755-a0f2-ff99ab538d0a) +![pages-dark@1x](https://github.com/EvanNotFound/hexo-theme-redefine/assets/68590232/5d51b48d-7b08-4da0-a304-933424739203) ## 🌐 在線演示站 From e7a23cad2068242ae411d1ce8afeba74775fb22c Mon Sep 17 00:00:00 2001 From: Evan Luo Date: Thu, 7 Dec 2023 22:03:11 -0500 Subject: [PATCH 05/54] feat: Improve article layout and style adjustments Updated layout and style for the article content, tags and copyright information. Added new CSS classes for margin, flex and display properties. Refactored the JavaScript code for toggling class names based on conditions. Removed redundant styles from the Stylus file. --- layout/article-content.ejs | 10 +++---- source/assets/build/styles.css | 29 ++++++++++++++++++++ source/css/layout/article-content.styl | 38 ++------------------------ source/js/tools/tocToggle.js | 20 +++++++------- 4 files changed, 46 insertions(+), 51 deletions(-) diff --git a/layout/article-content.ejs b/layout/article-content.ejs index 0a43736d..fa37e952 100755 --- a/layout/article-content.ejs +++ b/layout/article-content.ejs @@ -1,4 +1,4 @@ -
+
@@ -53,7 +53,7 @@ <% } %> <% if (page.expires && page.expires !== "") {%> - <% if (theme.articles.copyright.enable || theme.articles.copyright === true) { %> -
+
<%- partial('_meta/article-copyright') %>
<% } %> <% if (page.tags.length) { %> -