mirror of
https://github.com/sunface/rust-by-practice.git
synced 2025-06-23 12:39:42 +00:00
update css styles of the book
This commit is contained in:
@ -13,7 +13,7 @@ enable = true
|
|||||||
level = 1
|
level = 1
|
||||||
|
|
||||||
[output.html]
|
[output.html]
|
||||||
additional-css = ["theme/style2.css"]
|
additional-css = ["theme/style.css"]
|
||||||
additional-js = ["assets/custom.js"]
|
additional-js = ["assets/custom.js"]
|
||||||
git-repository-url = "https://github.com/sunface/rust-by-practice"
|
git-repository-url = "https://github.com/sunface/rust-by-practice"
|
||||||
edit-url-template = "https://github.com/sunface/rust-by-practice/edit/master/en/{path}"
|
edit-url-template = "https://github.com/sunface/rust-by-practice/edit/master/en/{path}"
|
||||||
|
@ -50,4 +50,16 @@
|
|||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
padding: 10px 0;
|
padding: 10px 0;
|
||||||
color: gray;
|
color: gray;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* 修改章节目录的间距 */
|
||||||
|
.chapter li.chapter-item {
|
||||||
|
/* 没有文件时的文字颜色 */
|
||||||
|
color: #939da3;
|
||||||
|
margin-top: 1.2rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* 修改滚动条宽度 */
|
||||||
|
::-webkit-scrollbar {
|
||||||
|
width: 7px;
|
||||||
}
|
}
|
@ -13,7 +13,7 @@ enable = true
|
|||||||
level = 1
|
level = 1
|
||||||
|
|
||||||
[output.html]
|
[output.html]
|
||||||
additional-css = ["theme/style2.css"]
|
additional-css = ["theme/style.css"]
|
||||||
additional-js = ["assets/custom.js"]
|
additional-js = ["assets/custom.js"]
|
||||||
git-repository-url = "https://github.com/sunface/rust-by-practice"
|
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}"
|
edit-url-template = "https://github.com/sunface/rust-by-practice/edit/master/zh-CN/{path}"
|
||||||
|
@ -50,4 +50,16 @@
|
|||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
padding: 10px 0;
|
padding: 10px 0;
|
||||||
color: gray;
|
color: gray;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* 修改章节目录的间距 */
|
||||||
|
.chapter li.chapter-item {
|
||||||
|
/* 没有文件时的文字颜色 */
|
||||||
|
color: #939da3;
|
||||||
|
margin-top: 1.2rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* 修改滚动条宽度 */
|
||||||
|
::-webkit-scrollbar {
|
||||||
|
width: 7px;
|
||||||
}
|
}
|
Reference in New Issue
Block a user