CSS

Copy these into a text file and name it ebook.css

p {
margin:0;
text-indent:1.25em;
text-align:justify;
}

p.start {
margin: 1.0em 0 0 0;
text-indent:0;
text-align:justify;
}

/* for centered text and element wrappers on images*/
p.centered {
text-indent: 0;
margin: 1.0em 0 0 0;
text-align: center;
}

/* For blockquotes */
p.block {
margin: 1em 1.5em 0 1.5em;
text-align: left;
font-size: 0.9em;
}

/* for larger text that you don't want counted as heading when building TOC*/
p.lg {
text-indent: 0em;
text-align:center;
font-weight: bold;
margin-top:1em;
font-size: 2.0em;
}

/* for larger text that you don't want counted as heading when building TOC*/
p.med {
text-indent: 0em;
text-align:center;
font-weight: bold;
margin: 50px 0 0 0;
font-size: 1.5em;
}

/* for larger text that you don't want counted as heading when building TOC*/
p.sm {
text-indent: 0em;
text-align:left;
font-weight: bold;
font-size: 1.2em;
}

h1 {
text-indent: 0em;
text-align:center;
font-weight: bold;
margin-top:1em;
font-size: 2.0em;
}

h1.italic {
text-indent: 0em;
text-align:center;
font-style: italic;
margin: 100px 0 0 0;
font-size: 2.0em;
}

h2 {
text-indent: 0em;
text-align:center;
font-weight: bold;
margin: 50px 0 0 0;
font-size: 1.5em;
}

h3 {
text-indent: 0em;
text-align:center;
font-weight: bold;
font-size: 1.4em;
}

h4 {
text-indent: 0em;
text-align:left;
font-weight: bold;
font-size: 1.2em;
}

h5 {
text-indent: 0em;
text-align:left;
font-weight: bold;
font-size: 1.1em;
}

h6 {
text-indent: 0em;
text-align:left;
font-weight: bold;
font-size: 1.0em;
}

/* For images */
div.image {
text-align:center;
margin-bottom: 0.25em;
}

div.icon {
text-align:center;
margin-bottom: 1em;
}

div.caption {
margin-bottom: 1em;
text-align:center;
font-style:italic;
}