update css styles of the book

This commit is contained in:
sunface 2022-03-24 10:27:32 +08:00
parent 6b9d691ba7
commit 6858c7a621
4 changed files with 26 additions and 2 deletions

View File

@ -13,7 +13,7 @@ enable = true
level = 1
[output.html]
additional-css = ["theme/style2.css"]
additional-css = ["theme/style.css"]
additional-js = ["assets/custom.js"]
git-repository-url = "https://github.com/sunface/rust-by-practice"
edit-url-template = "https://github.com/sunface/rust-by-practice/edit/master/en/{path}"

View File

@ -50,4 +50,16 @@
overflow: hidden;
padding: 10px 0;
color: gray;
}
/* 修改章节目录的间距 */
.chapter li.chapter-item {
/* 没有文件时的文字颜色 */
color: #939da3;
margin-top: 1.2rem;
}
/* 修改滚动条宽度 */
::-webkit-scrollbar {
width: 7px;
}

View File

@ -13,7 +13,7 @@ enable = true
level = 1
[output.html]
additional-css = ["theme/style2.css"]
additional-css = ["theme/style.css"]
additional-js = ["assets/custom.js"]
git-repository-url = "https://github.com/sunface/rust-by-practice"
edit-url-template = "https://github.com/sunface/rust-by-practice/edit/master/zh-CN/{path}"

View File

@ -50,4 +50,16 @@
overflow: hidden;
padding: 10px 0;
color: gray;
}
/* 修改章节目录的间距 */
.chapter li.chapter-item {
/* 没有文件时的文字颜色 */
color: #939da3;
margin-top: 1.2rem;
}
/* 修改滚动条宽度 */
::-webkit-scrollbar {
width: 7px;
}