aboutsummaryrefslogtreecommitdiff
path: root/data/epub.css
AgeCommit message (Collapse)AuthorFilesLines
2019-05-03EPUB2/3 templates: Move inline styles to default epub.css.John MacFarlane1-0/+5
Those who use a custom CSS stylesheet with EPUB should add these lines: ```css code{ white-space: pre-wrap; } span.smallcaps{ font-variant: small-caps; } span.underline{ text-decoration: underline; } q { quotes: "“" "”" "‘" "’"; } div.column{ display: inline-block; vertical-align: top; width: 50%; } ``` See #5466.
2019-01-02EPUB writer: small fixes to nav.xhtml.John MacFarlane1-3/+4
* Add 'landmarks' id attribute to the landmarks nav. * Replace old default CSS removing numbers from ol.toc li with new rules that match `nav#toc ol, nav#landmarks ol`. * We keep the `toc` class on `ol` for backwards compatibility.
2017-10-31HTML Writer: consistently use dashed class-namesmb211-1/+1
see #3556
2015-08-07added selectors for nested emphasis (epub.css)Pablo Rodríguez1-1/+4
2015-05-11Don't use sup element for epub footnotes.John MacFarlane1-0/+1
Instead, just use an a element with class `footnoteRef`. This allows more styling options, and provides better results in some readers (e.g. iBooks, where anything inside the a tag breaks popup footnotes). Closes #1995.
2013-07-13Simplified margin fields in default epub CSS file.John MacFarlane1-1/+1
2013-07-13Default epub CSS: Removed highlighting styles.John MacFarlane1-19/+0
These are added automatically to individual chapter files, depending on the highlighting style selected on the command line.
2013-03-03EPUB writer: Include html TOC even in epub2.John MacFarlane1-0/+2
* The TOC is included in `<spine>`, but `linear` is set to `no` unless the `--toc` option is specified. * Include `<guide>` element in OPF. * This should allow the TOC to be useable in Kindles when converted with kindlegen. * Results validate with epubcheck 3.0 for both epub and epub3 output. * Closes #773.
2013-01-05Epub CSS: left-align headers by default.John MacFarlane1-6/+6
This is more consistent with the rest of the writers.
2012-12-29Moved all data files and templates to data/.John MacFarlane1-0/+31