writing/.writing/epub.css
2023-01-18 16:28:18 +00:00

55 lines
674 B
CSS

/* kindle friendly css with indents*/
body {
line-height: 1.75;
}
body * {
line-height: inherit;
}
p {
margin: 0rem 0% 0rem 0rem;
text-indent: 1rem;
}
h1+p, h2+p {
text-indent: 0em;
}
h1, h2, .author {
text-align: center;
}
h4, h5 {
font-size: 100%;
}
blockquote {
font-size: 90%;
color: #666666;
margin: 0;
padding: 1em 0 1em 3em;
border-left: 0.25em #EEE solid;
}
blockquote>p {
text-indent: 0em;
}
hr {
height: 0;
margin-top: 1em;
margin-bottom: 1em;
border: 0;
border-top: 1px solid #eee;
}
/*suppress numbering in TOC to match the default pandoc styling*/
ol.toc li {
list-style-type: none;
margin: 0;
padding: 0;
}