diff options
| author | John MacFarlane <[email protected]> | 2019-05-03 22:24:26 -0700 |
|---|---|---|
| committer | John MacFarlane <[email protected]> | 2019-05-03 22:25:46 -0700 |
| commit | 8478997980cd5b9d791f8ab4af441786919cef5b (patch) | |
| tree | 52e92dc5d22e03107576d484bbedb03a30c5c097 /data/epub.css | |
| parent | 63254ae958f820634d58f0b538d6b976f3aa782b (diff) | |
EPUB2/3 templates: Move inline styles to default epub.css.
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.
Diffstat (limited to 'data/epub.css')
| -rw-r--r-- | data/epub.css | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/data/epub.css b/data/epub.css index 742ea7895..e27f4e809 100644 --- a/data/epub.css +++ b/data/epub.css @@ -17,3 +17,8 @@ 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; } +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%; } |
