Skip to content

Commit 6dcb411

Browse files
committed
Bumped version that was still set to 0.0.1 + added a bigger top margin for h2 and h3 elements
1 parent aae23f4 commit 6dcb411

File tree

5 files changed

+12
-172
lines changed

5 files changed

+12
-172
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
Cargo.lock
12
target
23

34
book-test

Cargo.lock

Lines changed: 0 additions & 167 deletions
This file was deleted.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "mdbook"
3-
version = "0.0.1"
3+
version = "0.0.3"
44
authors = ["Mathieu David <[email protected]>"]
55
description = "create books from markdown files (like Gitbook)"
66
documentation = "http://azerupi.github.io/mdBook/index.html"

src/theme/book.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ body {
99
.right {
1010
float: right;
1111
}
12+
h2,
13+
h3 {
14+
margin-top: 2.5em;
15+
}
1216
.sidebar {
1317
position: absolute;
1418
left: 0;

src/theme/stylus/general.styl

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
html, body {
2-
font-family: "Open Sans", sans-serif;
3-
color: #333;
2+
font-family: "Open Sans", sans-serif
3+
color: #333
44
}
55

66
.left {
7-
float: left;
7+
float: left
88
}
99

1010
.right {
11-
float: right;
11+
float: right
1212
}
13+
14+
h2, h3 { margin-top: 2.5em }

0 commit comments

Comments
 (0)