Apply a default marging to epub pages
This margin improves readability and avoid having the bookmark
over the text.
Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
Gonzalo Odiard
11 years ago
15 | 15 | hide_scrollbar_js = \ |
16 | 16 | 'document.documentElement.style.overflow = "hidden";' |
17 | 17 | |
18 | js = 'oldtitle=document.title;' + \ | |
18 | js = 'document.documentElement.style.margin = "50px";' + \ | |
19 | 'oldtitle=document.title;' + \ | |
19 | 20 | 'if (document.body == null) {' + \ |
20 | 21 | 'document.title = 0} else {' + \ |
21 | 22 | hide_scrollbar_js + \ |