diff options
author | John MacFarlane <jgm@berkeley.edu> | 2019-01-02 11:24:53 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2019-01-02 11:24:53 -0800 |
commit | 9097ec41a9c333f24fec63085806da392f8108d4 (patch) | |
tree | a9eb0bf7a53ebfbfffa0e6b90c0f104786eae706 /data | |
parent | ea8af33dab2ba5abba12c61ada7e62f9752cb973 (diff) | |
download | pandoc-9097ec41a9c333f24fec63085806da392f8108d4.tar.gz |
EPUB writer: small fixes to nav.xhtml.
* 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.
Diffstat (limited to 'data')
-rw-r--r-- | data/epub.css | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/data/epub.css b/data/epub.css index 34835ced4..742ea7895 100644 --- a/data/epub.css +++ b/data/epub.css @@ -10,9 +10,10 @@ h6 { text-align: left; } h1.title { } h2.author { } h3.date { } -ol.toc { padding: 0; margin-left: 1em; } -ol.toc li { list-style-type: none; margin: 0; padding: 0; } +nav#toc ol, +nav#landmarks ol { padding: 0; margin-left: 1em; } +nav#toc ol li, +nav#landmarks ol li { list-style-type: none; margin: 0; padding: 0; } a.footnote-ref { vertical-align: super; } em, em em em, em em em em em { font-style: italic;} em em, em em em em { font-style: normal; } - |