Commit graph

9 commits

Author SHA1 Message Date
David Tolnay
fc2df7fe6e
Minimize padding for the badge columns 2017-05-23 14:44:48 -07:00
Michal Budzynski
2991cbd339 Inline code with hyperlink is now highlighted
Inline code with hyperlink has now the same color
and on hover underline as standard hyperlink.
2017-05-20 08:50:16 +02:00
Michal Budzynski
20c1e2cc95 Hide non essential parts of snippets by default
Updated net.md to hide error_chain boilerplate by default
it can be exposed by selecting the "expand button"
The expand button is no longer hidden
2017-05-20 00:53:56 +02:00
Michal Budzynski
fb85933a59 Added edit button allowing direct edit of given page on GitHub 2017-05-17 11:21:29 +02:00
Michal Budzynski
bdacaf7aa7 Imported default index.hbs to allow customizations 2017-05-17 11:13:32 +02:00
Michal Budzynski
14735ac35f Make consistent table column widths
Added explicit width values for first and second
table columns corresponding to "Recipe" and "Crates".
Please note that this is a broad CSS style for all tables
which will break any non TOC tables.

For a cleaner solution we would need to explicitly
add class attribute to the generated HTML.

resolves: https://github.com/brson/rust-cookbook/issues/42
2017-05-08 09:43:27 +02:00
David Tolnay
323795ee84
No run buttons because they don't support crates 2017-05-07 10:46:57 -07:00
David Tolnay
8a1d447404
Centralize our CSS modifications 2017-05-07 10:44:15 -07:00
Michal Budzynski
42de1c5cea Make the table width consistent
Added theme/book.css. It is a direct copy of the standard mdbook
book.css file with one addition of `width: 100%;` to the `table` style.
Infortunately mdbook allows only to substitute whole book.css.

Moreover please note that due to https://github.com/azerupi/mdBook/issues/227
`theme` directory has to be placed at the project root instead of `src`
2017-05-07 18:41:26 +02:00