update css style of the book

pull/605/head
sunface 3 years ago
parent 99fa9b7411
commit e4625b5cf9

@ -5,7 +5,7 @@ title = "Rust语言圣经(Rust教程 Rust Course)"
src = "src" src = "src"
[output.html] [output.html]
additional-css = ["theme/style2.css"] additional-css = ["theme/style.css"]
additional-js = ["assets/custom0.js", "assets/bigPicture.js"] additional-js = ["assets/custom0.js", "assets/bigPicture.js"]
git-repository-url = "https://github.com/sunface/rust-course" git-repository-url = "https://github.com/sunface/rust-course"
edit-url-template = "https://github.com/sunface/rust-course/edit/main/{path}" edit-url-template = "https://github.com/sunface/rust-course/edit/main/{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;
} }
Loading…
Cancel
Save