aboutsummaryrefslogtreecommitdiffhomepage
path: root/css/reveal.css
diff options
context:
space:
mode:
Diffstat (limited to 'css/reveal.css')
-rw-r--r--css/reveal.css8
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%;
}