From 0c946ae18b3773895bae259802108df11fade6d9 Mon Sep 17 00:00:00 2001 From: Hakim El Hattab Date: Mon, 4 Dec 2017 14:03:16 +0100 Subject: fix missing theme line-height when printing #1967 --- css/theme/template/theme.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'css/theme/template/theme.scss') diff --git a/css/theme/template/theme.scss b/css/theme/template/theme.scss index 58dc727..e06fe7a 100644 --- a/css/theme/template/theme.scss +++ b/css/theme/template/theme.scss @@ -28,8 +28,8 @@ body { text-shadow: none; } -.reveal .slides>section, -.reveal .slides>section>section { +.reveal .slides section, +.reveal .slides section>section { line-height: 1.3; font-weight: inherit; } -- cgit v1.2.3 From 93cacaa40c780f5fb4f6156851428f685aef5471 Mon Sep 17 00:00:00 2001 From: Quentin PROUST Date: Fri, 23 Mar 2018 13:50:42 +0100 Subject: Print background in pdf (#2131) * Print background in pdf Pull request to integrate issue https://github.com/hakimel/reveal.js/issues/1686. Adding the workaround to the theme template to make it work for every theme. * apply suggestion of @hakimel --- css/theme/template/theme.scss | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'css/theme/template/theme.scss') diff --git a/css/theme/template/theme.scss b/css/theme/template/theme.scss index e06fe7a..a43d6b2 100644 --- a/css/theme/template/theme.scss +++ b/css/theme/template/theme.scss @@ -310,7 +310,14 @@ body { .reveal .progress span { -webkit-transition: width 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985); -moz-transition: width 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985); - transition: width 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985); + transition: width 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985); } - +/********************************************* + * PRINT BACKGROUND + *********************************************/ + @media print { + .backgrounds { + background-color: $backgroundColor; + } +} -- cgit v1.2.3