Improve styling for pdf and ebook