diff --git a/README.md b/README.md index a467b41..890024b 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,19 @@ # Redemption 一款 Halo 博客主题 +- [x] 深色模式 +- [x] 媒体自适应 +- [ ] Markdown 样式设计 +- [ ] 导航栏 + +## 预览 + +![](screenshot.png) + +![](source/images/darkmode.png) + +![](source/images/870pxdrivce.png) ## 许可证 -Halo 使用 GPL-v3.0 协议开源,请遵守开源协议。 + +GPL-v3.0 协议开源,请遵守开源协议。 + diff --git a/module/macro.ftl b/module/macro.ftl index ae506bb..96d8ef0 100644 --- a/module/macro.ftl +++ b/module/macro.ftl @@ -40,7 +40,7 @@ <#-- --> - <#include "menu.ftl"> + <#-- <#include "menu.ftl"> --> diff --git a/screenshot.png b/screenshot.png new file mode 100644 index 0000000..07f67b9 Binary files /dev/null and b/screenshot.png differ diff --git a/source/css/Redemption.css b/source/css/Redemption.css index 41b78a0..402fe91 100644 --- a/source/css/Redemption.css +++ b/source/css/Redemption.css @@ -22,17 +22,17 @@ html ::-webkit-scrollbar { html ::-webkit-scrollbar-thumb { height: 40px; border-radius: 16px; - background-color: rgba(0, 0, 0, 0.249); + background-color: #0000003f; } html ::-webkit-scrollbar-thumb:hover { - background-color: rgba(0, 0, 0, 0.249); + background-color: #0000003f; } @media (prefers-color-scheme: dark) { html ::-webkit-scrollbar-thumb { - background-color: blue; + background-color: #3d3030; } html ::-webkit-scrollbar-thumb:hover { - background-color: blue; + background-color: #acacac; } } diff --git a/source/css/base/_base.scss b/source/css/base/_base.scss index 51cfb1f..137cbe1 100644 --- a/source/css/base/_base.scss +++ b/source/css/base/_base.scss @@ -10,24 +10,24 @@ html { ::-webkit-scrollbar-thumb { height: 40px; border-radius: 16px; - background-color: rgba(0, 0, 0, 0.249); + background-color: #0000003f; } ::-webkit-scrollbar-thumb { &:hover { - background-color: rgba(0, 0, 0, 0.249); + background-color: #0000003f; } } @include darkmode { ::-webkit-scrollbar-thumb { - background-color: blue; + background-color: #3d3030; } ::-webkit-scrollbar-thumb { &:hover { - background-color: blue; + background-color: #acacac; } } } diff --git a/source/images/.gitkeep b/source/images/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/source/images/870pxdrivce.png b/source/images/870pxdrivce.png new file mode 100644 index 0000000..280d908 Binary files /dev/null and b/source/images/870pxdrivce.png differ diff --git a/source/images/darkmode.png b/source/images/darkmode.png new file mode 100644 index 0000000..6a48ea5 Binary files /dev/null and b/source/images/darkmode.png differ diff --git a/theme.yaml b/theme.yaml index 0833175..f0e3942 100644 --- a/theme.yaml +++ b/theme.yaml @@ -6,7 +6,7 @@ author: website: https://7wate.com description: The road of Redemption logo: -website: -repo: -version: 0.0.0 +website: https://7wate.com +repo: https://github.com/7Wate/Redemption +version: 0.1.0 require: 1.4.2