Commit Graph

73 Commits

Author SHA1 Message Date
mdinger b7d9cc3d0a Consolidate light theme. Only selected menu item should
be highlighted. Mobile chapter switcher should highlight
when selected
2015-09-14 05:09:30 -04:00
mdinger be33f6afad Move light theme into light class 2015-09-14 05:09:14 -04:00
Mathieu David 37b68c41f7 Theme toggle button 2015-09-14 05:02:41 -04:00
Mathieu David a050d9c4ad Big refactoring, now using enum for different book items (Chapter, Affix, Spacer, ...) Closes #9 2015-09-11 20:52:55 +02:00
Mathieu David 82a774c90e prevent page break in code blocks + force wrap in pre tags (because you can't scroll...) 2015-09-05 17:39:00 +02:00
Mathieu David 4789073e6d Added print button + avoid pagebreaks after titles (doesn't work on chrome, should be tested in Firefox) 2015-09-05 11:40:40 +02:00
Mathieu David 7527975b41 Added basic print support in the stylesheet. Forced background color for code blocks in chrome, has to be tested in firefox and others. #41 2015-09-05 00:06:14 +02:00
Mathieu David 8e9dc3643f Prevent navigation arrows from collapsing with text on smaller screen. Fix #42 2015-08-31 17:09:18 +02:00
Mathieu David 5990c80a00 Cursor is now a pointer on menu-bar i elements. Fix #44 2015-08-31 16:15:17 +02:00
Mathieu David 90719f721b Added syntax highlighting with highlight.js Closes #31 + Added a new chapter to the docs #30. 2015-08-05 18:28:59 +02:00
Mathieu David 91b0a99d81 Fix bug in menu-bar title, again... Because I didn't solve it previously 2015-08-03 18:17:39 +02:00
Mathieu David fd58a4d441 Fix bug where menu-bar title was on top of the menu-bar icons making them unclickable 2015-08-03 14:59:18 +02:00
Mathieu David 9b4298c066 Initial implementation for reading the config file: book.json #7 2015-08-03 01:37:13 +02:00
Mathieu David ef00851b8e Fixes #24 2015-08-01 17:21:05 +02:00
Mathieu David 5b11907a56 Added navigation icons + javascript code to hide them when there is no previous or next. Closes #12 2015-08-01 14:18:25 +02:00
Mathieu David c64f3ac973 Added handlebars helpers for navigation, need to find a place where to put them on the page #12 2015-07-31 18:34:43 +02:00
Mathieu David 94d3d65a0e Change link color + add transition animation on menu-bar icons on hover. Closes #15 2015-07-29 21:53:59 +02:00
Mathieu David 0e27a473c5 Sidebar is now hidden on mobile devices and can be hidden/shown with the button 2015-07-29 13:34:48 +02:00
Mathieu David ecdcc31e9e Added function to clean links before inserting in toc 2015-07-29 12:10:12 +02:00
Mathieu David a55a676bbe support empty links in rendered html 2015-07-29 01:40:48 +02:00
Mathieu David f500b4a836 Rough implementation for handlebars helper to display toc correctly, probably needs a little bit of cleaning... Url in toc doesn't work yet. It needs to be cleaned before './url' -> '/url' and 'url' -> '/url' 2015-07-29 00:57:47 +02:00
Mathieu David 4203b5b1c4 added markdown with 'pulldown-cmark', added basic styling, render of the toc is still not completely done 2015-07-28 21:01:13 +02:00
Mathieu David be0bfa7170 Split of the creating of the JSon object into it's own function 2015-07-19 14:02:21 +02:00