doc(README): updata readme.md

This commit is contained in:
周中平 2022-01-20 09:20:00 +08:00
parent 6256e3ff7b
commit 687dd25092
No known key found for this signature in database
GPG Key ID: B1DF9DD42D8E00DC
9 changed files with 27 additions and 13 deletions

View File

@ -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 协议开源,请遵守开源协议。

View File

@ -40,7 +40,7 @@
<#-- <script charset="utf-8" src="${theme_base!}/source/plugins/halo.js"></script> -->
</body>
<#include "menu.ftl">
<#-- <#include "menu.ftl"> -->
</html>
</#macro>

BIN
screenshot.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 98 KiB

View File

@ -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;
}
}

View File

@ -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;
}
}
}

View File

Binary file not shown.

After

Width:  |  Height:  |  Size: 106 KiB

BIN
source/images/darkmode.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 94 KiB

View File

@ -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