From c2ef0286d89883c788a5b0d5e4c0b954867ebdb3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=A3=8E=E5=85=AE=E6=9C=A8=E6=99=93?= <103013728+1nCharles@users.noreply.github.com> Date: Sat, 23 Nov 2024 13:46:56 +0800 Subject: [PATCH] Site updated: 2024-11-23 13:46:56 --- 2024/11/23/hello-world/index.html | 4 +- archives/2024/11/index.html | 2 +- archives/2024/index.html | 2 +- archives/index.html | 2 +- css/custom.css | 78 +++++++++++++++++++++++++++++++ index.html | 2 +- 6 files changed, 84 insertions(+), 6 deletions(-) create mode 100644 css/custom.css diff --git a/2024/11/23/hello-world/index.html b/2024/11/23/hello-world/index.html index f1c063b..f211f0f 100644 --- a/2024/11/23/hello-world/index.html +++ b/2024/11/23/hello-world/index.html @@ -125,7 +125,7 @@ isHighlightShrink: false, isToc: true, isShuoshuo: false -}

Hello World

Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.

+}

Hello World

Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.

Quick Start

Create a new post

1
$ hexo new "My New Post"

More info: Writing

@@ -138,4 +138,4 @@

Deploy to remote sites

1
$ hexo deploy

More info: Deployment

-
文章作者:
文章链接: http://example.com/2024/11/23/hello-world/
版权声明: 本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来源 浅的小屋
\ No newline at end of file +
文章作者:
文章链接: http://example.com/2024/11/23/hello-world/
版权声明: 本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来源 浅的小屋
\ No newline at end of file diff --git a/archives/2024/11/index.html b/archives/2024/11/index.html index 12a51fe..a195c83 100644 --- a/archives/2024/11/index.html +++ b/archives/2024/11/index.html @@ -123,4 +123,4 @@ isHighlightShrink: false, isToc: false, isShuoshuo: false -}
全部文章 - 1
2024
Hello World
网站信息
文章数目 :
1
本站总字数 :
75
本站访客数 :
本站总浏览量 :
最后更新时间 :
\ No newline at end of file +}
全部文章 - 1
2024
Hello World
网站信息
文章数目 :
1
本站总字数 :
75
本站访客数 :
本站总浏览量 :
最后更新时间 :
\ No newline at end of file diff --git a/archives/2024/index.html b/archives/2024/index.html index cf94907..b0a2472 100644 --- a/archives/2024/index.html +++ b/archives/2024/index.html @@ -123,4 +123,4 @@ isHighlightShrink: false, isToc: false, isShuoshuo: false -}
全部文章 - 1
2024
Hello World
网站信息
文章数目 :
1
本站总字数 :
75
本站访客数 :
本站总浏览量 :
最后更新时间 :
\ No newline at end of file +}
全部文章 - 1
2024
Hello World
网站信息
文章数目 :
1
本站总字数 :
75
本站访客数 :
本站总浏览量 :
最后更新时间 :
\ No newline at end of file diff --git a/archives/index.html b/archives/index.html index 22c0872..013760a 100644 --- a/archives/index.html +++ b/archives/index.html @@ -123,4 +123,4 @@ isHighlightShrink: false, isToc: false, isShuoshuo: false -}
全部文章 - 1
2024
Hello World
网站信息
文章数目 :
1
本站总字数 :
75
本站访客数 :
本站总浏览量 :
最后更新时间 :
\ No newline at end of file +}
全部文章 - 1
2024
Hello World
网站信息
文章数目 :
1
本站总字数 :
75
本站访客数 :
本站总浏览量 :
最后更新时间 :
\ No newline at end of file diff --git a/css/custom.css b/css/custom.css new file mode 100644 index 0000000..9219666 --- /dev/null +++ b/css/custom.css @@ -0,0 +1,78 @@ +:root { + --trans-light: rgba(255, 255, 255, 0.88); + --trans-dark: rgba(25, 25, 25, 0.88); + --border-style: 1px solid rgb(169, 169, 169); + --backdrop-filter: blur(5px) saturate(150%); + } + + /* 首页文章卡片 */ + #recent-posts > .recent-post-item { + background: var(--trans-light); + backdrop-filter: var(--backdrop-filter); + border-radius: 25px; + border: var(--border-style); + } + + /* 首页侧栏卡片 */ + #aside-content .card-widget { + background: var(--trans-light); + backdrop-filter: var(--backdrop-filter); + border-radius: 18px; + border: var(--border-style); + } + + /* 文章页、归档页、普通页面 */ + div#post, + div#page, + div#archive { + background: var(--trans-light); + backdrop-filter: var(--backdrop-filter); + border: var(--border-style); + border-radius: 20px; + } + + /* 导航栏 */ + #page-header.nav-fixed #nav { + background: rgba(255, 255, 255, 0.75); + backdrop-filter: var(--backdrop-filter); + } + + [data-theme="dark"] #page-header.nav-fixed #nav { + background: rgba(0, 0, 0, 0.7) !important; + } + + /* 夜间模式遮罩 */ + [data-theme="dark"] #recent-posts > .recent-post-item, + [data-theme="dark"] #aside-content .card-widget, + [data-theme="dark"] div#post, + [data-theme="dark"] div#archive, + [data-theme="dark"] div#page { + background: var(--trans-dark); + } + + + /* 夜间模式页脚页头遮罩透明 */ + [data-theme="dark"] #footer::before { + background: transparent !important; + } + [data-theme="dark"] #page-header::before { + background: transparent !important; + } + + /* 阅读模式 */ + .read-mode #aside-content .card-widget { + background: rgba(158, 204, 171, 0.5) !important; + } + .read-mode div#post { + background: rgba(158, 204, 171, 0.5) !important; + } + + /* 夜间模式下的阅读模式 */ + [data-theme="dark"] .read-mode #aside-content .card-widget { + background: rgba(25, 25, 25, 0.9) !important; + color: #ffffff; + } + [data-theme="dark"] .read-mode div#post { + background: rgba(25, 25, 25, 0.9) !important; + color: #ffffff; + } \ No newline at end of file diff --git a/index.html b/index.html index 87da3a7..25a8253 100644 --- a/index.html +++ b/index.html @@ -123,4 +123,4 @@ isHighlightShrink: false, isToc: false, isShuoshuo: false -}
网站信息
文章数目 :
1
本站总字数 :
75
本站访客数 :
本站总浏览量 :
最后更新时间 :
\ No newline at end of file +}
网站信息
文章数目 :
1
本站总字数 :
75
本站访客数 :
本站总浏览量 :
最后更新时间 :
\ No newline at end of file