I have simplified mine. Strip all class/div or any other tags you don't want using Find & Replace, applied to the "current file" or "All HTML Files" that you have open.
This is my style sheet for my Kobo ePubs:
/* set all page margins: top 15px, left/right/bottom 0px */
@page { margin: 15px 0px 0px 0px; }
/* h1 used for book title & author name */
h1 {
text-align: center;
}
/* h2 used for all chapter heading */
h2 {
text-align: center;
page-break-before: always;
padding: 0;
margin: 1em;
}
/* set all paragraphs to justify & leave 8px between paragraphs */
/* this margin separates the paragraphs enough to make reading */
/* but not enough to make it obvious */
p {
text-indent: 35px;
text-align: justify;
padding: 0;
margin: 8px;
}
|