Fixing print stylesheet

This commit is contained in:
imakewebthings 2011-08-22 19:20:01 +08:00
parent a128eb200e
commit 762e596b5d
2 changed files with 45 additions and 2 deletions

View file

@ -293,6 +293,11 @@ body.deck-container {
text-shadow: none !important;
filter: none !important;
-ms-filter: none !important;
-webkit-box-reflect: none !important;
-moz-box-reflect: none !important;
}
* :before, * :after {
display: none !important;
}
a, a:visited {
@ -342,6 +347,21 @@ body.deck-container {
position: static !important;
visibility: visible !important;
display: block !important;
-webkit-transform: none !important;
-moz-transform: none !important;
-o-transform: none !important;
-ms-transform: none !important;
transform: none !important;
}
h1 {
-webkit-transform: none !important;
-moz-transform: none !important;
-o-transform: none !important;
-ms-transform: none !important;
transform: none !important;
padding: 0 !important;
position: static !important;
}
.deck-container > .slide {
@ -349,6 +369,8 @@ body.deck-container {
}
.deck-container {
width: 100% !important;
padding: 0 !important;
display: block !important;
}

View file

@ -356,8 +356,12 @@ body.deck-container {
@media print {
* { background: transparent !important; color: black !important; text-shadow: none !important; filter:none !important;
-ms-filter: none !important; }
* { background: transparent !important; color: black !important; text-shadow: none !important; filter:none !important; -ms-filter: none !important; -webkit-box-reflect:none !important; -moz-box-reflect:none !important;
:before, :after {
display:none !important;
}
}
a, a:visited { color: #444 !important; text-decoration: underline; }
a[href]:after { content: " (" attr(href) ")"; }
abbr[title]:after { content: " (" attr(title) ")"; }
@ -373,6 +377,21 @@ body.deck-container {
position:static !important;
visibility:visible !important;
display:block !important;
-webkit-transform:none !important;
-moz-transform:none !important;
-o-transform:none !important;
-ms-transform:none !important;
transform:none !important;
}
h1 {
-webkit-transform:none !important;
-moz-transform:none !important;
-o-transform:none !important;
-ms-transform:none !important;
transform:none !important;
padding:0 !important;
position:static !important;
}
.deck-container > .slide {
@ -380,6 +399,8 @@ body.deck-container {
}
.deck-container {
width:100% !important;
padding:0 !important;
display:block !important;
}