The following code in my tex4ebook config file
\Css{
.newpage{page-break-before:always;}
/* chapter heading */
h2.likechapterHead {
font-family:"Montserrat", "Helvetica", sans-serif;
font-size:1.7em;
font-weight:normal;
margin: 15% 0 0 0;
page-break-after:avoid;
text-align:center;
text-indent:0;
}
}
Adds this to my epub css file:
.newpage{page-break-before:always;} /* chapter heading */ h2.likechapterHead { font-family:"Montserrat", "Helvetica", sans-serif; font-size:1.7em; font-weight:normal; margin: 15page-break-after:avoid; text-align:center; text-indent:0; } h2.chapterHead { font-family:"Montserrat", "Helvetica", sans-serif; font-size:1.7em; font-weight:normal; margin: 15page-break-after:avoid; text-align:center; text-indent:0; } /* end chapter heading */
Is there a way to add newlines to make the css file more readable?