diff --git a/.gitignore b/.gitignore index 68208bcb..fbe2812f 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,5 @@ -target Cargo.lock +target book-test book-example/book diff --git a/Cargo.toml b/Cargo.toml index fd5299c1..dfee0600 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "mdbook" -version = "0.0.2" +version = "0.0.3" authors = ["Mathieu David "] description = "create books from markdown files (like Gitbook)" documentation = "http://azerupi.github.io/mdBook/index.html" diff --git a/src/theme/book.css b/src/theme/book.css index 8d703a53..102b1762 100644 --- a/src/theme/book.css +++ b/src/theme/book.css @@ -9,6 +9,10 @@ body { .right { float: right; } +h2, +h3 { + margin-top: 2.5em; +} .sidebar { position: absolute; left: 0; diff --git a/src/theme/stylus/general.styl b/src/theme/stylus/general.styl index 8a92e25f..13f616f6 100644 --- a/src/theme/stylus/general.styl +++ b/src/theme/stylus/general.styl @@ -1,12 +1,14 @@ html, body { - font-family: "Open Sans", sans-serif; - color: #333; + font-family: "Open Sans", sans-serif + color: #333 } .left { - float: left; + float: left } .right { - float: right; + float: right } + +h2, h3 { margin-top: 2.5em }