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
This commit is contained in:
		
				
					committed by
					
						
						Hakim El Hattab
					
				
			
			
				
	
			
			
			
						parent
						
							1257ee7e27
						
					
				
				
					commit
					93cacaa40c
				
			@@ -310,7 +310,14 @@ body {
 | 
				
			|||||||
	.reveal .progress span {
 | 
						.reveal .progress span {
 | 
				
			||||||
		-webkit-transition: width 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
 | 
							-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);
 | 
							   -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;
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user