aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQuentin PROUST <q.proust@gmail.com>2018-03-23 13:50:42 +0100
committerHakim El Hattab <hakim.elhattab@gmail.com>2018-03-23 13:50:42 +0100
commit93cacaa40c780f5fb4f6156851428f685aef5471 (patch)
treec006b0abe3b6cdbb7c69d75adbfe60e742b35b29
parent1257ee7e27e56ce0051cb96ffbcc563937cc192b (diff)
downloadperl-software-in-gnu-guix-93cacaa40c780f5fb4f6156851428f685aef5471.tar
perl-software-in-gnu-guix-93cacaa40c780f5fb4f6156851428f685aef5471.tar.gz
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
-rw-r--r--css/theme/template/theme.scss11
1 files changed, 9 insertions, 2 deletions
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;
+ }
+}