Skip to content

Commit

Permalink
Merge pull request #17 from liuzhihang/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
liuzhihang authored Dec 4, 2022
2 parents 0967717 + 739a76d commit 02cf268
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 3 deletions.
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

---

预览:[程序员小航](http://hao.liuzhihang.com/)
预览:[程序员小航](http://liuzhihang.com/) WIP

文档:[语雀](https://www.yuque.com/liuzhihangs/halo-theme-hao)

Expand Down Expand Up @@ -70,7 +70,16 @@ Halo-Theme-Hao 使用 GPL-v3.0 协议开源,请遵守开源协议。

<!-- ALL-CONTRIBUTORS-LIST:END -->

## 其他

如果你对主题有什么建议或者意见,欢迎提 PR & issue。

想了解更多信息可以关注 「 程序员小航 」。

- 发送 "hao群" 可以加群 (群验证信息最好是个人网站)
- 发送"加好友",可以加我微信,我拉你进群 (群二维码失效时)

> 卖服务器的广告人,就不要加了。
## Contributors ✨

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "halo-theme-hao",
"version": "1.0.0-beta.2",
"version": "1.0.0",
"dependencies": {
}
}
21 changes: 21 additions & 0 deletions templates/assets/zhheo/zhheoblog.css
Original file line number Diff line number Diff line change
Expand Up @@ -8096,6 +8096,27 @@ span.fund_name {
width: calc(100% - 300px);
}

/* 当隐藏边栏时,显示 100% */
.layout.hide-aside > div:first-child {
width: 100%;
}

/* 侧边栏在左侧时,显示 100% */
.layout.left-aside > div:first-child {
-webkit-box-ordinal-group: 2;
-moz-box-ordinal-group: 2;
-o-box-ordinal-group: 2;
-ms-flex-order: 2;
-webkit-order: 2;
order: 2;
}

/* 侧栏在左侧时,关闭左边距,打开右边距 */
.layout.left-aside .aside-content {
padding-right: 15px;
padding-left: 0px !important;
}

/* 主页分类 */
div#categoryList {
display: flex;
Expand Down
2 changes: 1 addition & 1 deletion theme.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ spec:
repo: 'https://github.com/liuzhihang/halo-theme-hao'
settingName: "theme-hao-setting"
configMapName: "theme-hao-configMap"
version: beta.2
version: 1.0.0
require: 2.0.0

0 comments on commit 02cf268

Please sign in to comment.