diff --git a/book.toml b/book.toml index a60bac8a..a9b4553d 100644 --- a/book.toml +++ b/book.toml @@ -5,7 +5,7 @@ title = "Rust语言圣经(Rust教程 Rust Course)" src = "src" [output.html] -additional-css = ["theme/style.css"] +additional-css = ["theme/style1.css"] additional-js = ["assets/custom0.js", "assets/bigPicture.js"] git-repository-url = "https://github.com/sunface/rust-course" edit-url-template = "https://github.com/sunface/rust-course/edit/main/{path}" diff --git a/theme/style.css b/theme/style1.css similarity index 95% rename from theme/style.css rename to theme/style1.css index f1879d3e..8be5f3db 100644 --- a/theme/style.css +++ b/theme/style1.css @@ -62,4 +62,9 @@ /* 修改滚动条宽度 */ ::-webkit-scrollbar { width: 7px; -} \ No newline at end of file +} + +/* 表格靠左对齐 */ +table { + margin-left: 0 !important; +}