update css styles of the book
This commit is contained in:
parent
6b9d691ba7
commit
6858c7a621
|
@ -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}"
|
||||
|
|
|
@ -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;
|
||||
}
|
|
@ -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}"
|
||||
|
|
|
@ -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;
|
||||
}
|
Loading…
Reference in New Issue