Selaa lähdekoodia

ensure fragments are visible in print styles, fix page-break error in paper print sheet

Hakim El Hattab 12 vuotta sitten
vanhempi
sitoutus
2834a6bc89
2 muutettua tiedostoa jossa 12 lisäystä ja 7 poistoa
  1. 6 3
      css/print/paper.css
  2. 6 4
      css/print/pdf.css

+ 6 - 3
css/print/paper.css

@@ -155,11 +155,14 @@ ul, ol, div, p {
 	page-break-after: always !important; 
 	display: block !important;
 }
-.reveal section.stack {
-	page-break-after: avoid !important; 
-}
 .reveal section .fragment {
 	opacity: 1 !important;
+	visibility: visible !important;
+	
+	-webkit-transform: none !important;
+	   -moz-transform: none !important;
+	    -ms-transform: none !important;
+	        transform: none !important;
 }
 .reveal section:last-of-type {
 	page-break-after: avoid !important; 

+ 6 - 4
css/print/pdf.css

@@ -141,6 +141,12 @@ ul, ol, div, p {
 }
 .reveal section .fragment {
 	opacity: 1 !important;
+	visibility: visible !important;
+	
+	-webkit-transform: none !important;
+	   -moz-transform: none !important;
+	    -ms-transform: none !important;
+	        transform: none !important;
 }
 .reveal img {
 	box-shadow: none;
@@ -153,7 +159,3 @@ ul, ol, div, p {
 .reveal small a {
 	font-size: 16pt !important;
 }
-
-pre {
-    font-size: 9pt !important;
-}