diff options
author | John MacFarlane <jgm@berkeley.edu> | 2015-05-11 21:58:01 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2015-05-11 21:58:01 -0700 |
commit | 4560447041a44d3eea9e442f9b5aa20911b92ed8 (patch) | |
tree | 880b7b9b8d12c96ec67b898ef27ee88c429d66f9 /data | |
parent | a131441da471fa80523c957cd8193af37de6769c (diff) | |
download | pandoc-4560447041a44d3eea9e442f9b5aa20911b92ed8.tar.gz |
Don't use sup element for epub footnotes.
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.
Diffstat (limited to 'data')
-rw-r--r-- | data/epub.css | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/data/epub.css b/data/epub.css index 93153d62a..1ea24680d 100644 --- a/data/epub.css +++ b/data/epub.css @@ -12,3 +12,4 @@ h2.author { } h3.date { } ol.toc { padding: 0; margin-left: 1em; } ol.toc li { list-style-type: none; margin: 0; padding: 0; } +a.footnoteRef { vertical-align: super; }
\ No newline at end of file |