diff options
author | Hakim El Hattab | 2012-11-10 20:09:12 -0500 |
---|---|---|
committer | Hakim El Hattab | 2012-11-10 20:09:12 -0500 |
commit | 8e79f8592ac2374e4a68e69b77bd142f66f118a9 (patch) | |
tree | 02a07086afeb1a3ec955cfac88389e62064f33c7 /css/reveal.css | |
parent | be4c55cd6509d57cd49718c347209eaa9fd5e397 (diff) |
fixes issue where italic fonts disappeared when printing to pdf (closes #230)
Diffstat (limited to 'css/reveal.css')
-rw-r--r-- | css/reveal.css | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/css/reveal.css b/css/reveal.css index 7879bb6..d2d9779 100644 --- a/css/reveal.css +++ b/css/reveal.css @@ -169,8 +169,14 @@ body { * DEFAULT ELEMENT STYLES *********************************************/ +/* Fixes issue in Chrome where italic fonts did not appear when printing to PDF */ +.reveal:after { + content: ''; + font-style: italic; +} + +/* Preserve aspect ratio and scale image so it's bound within the section */ .reveal img { - /* preserve aspect ratio and scale image so it's bound within the section */ max-width: 100%; max-height: 100%; } |