Initial commit
This commit is contained in:
56
assets/less/print.less
Normal file
56
assets/less/print.less
Normal file
@ -0,0 +1,56 @@
|
||||
// ROOT =====================================================
|
||||
* {
|
||||
background : transparent !important;
|
||||
color : black !important;
|
||||
box-shadow : none !important;
|
||||
text-shadow : none !important;
|
||||
filter : none !important;
|
||||
-ms-filter : none !important;
|
||||
position: static !important; }
|
||||
|
||||
@page {
|
||||
margin : 0.5cm; }
|
||||
|
||||
// TYPOGRAPHY ===============================================
|
||||
h2, h3 {
|
||||
orphans : 3;
|
||||
widows : 3;
|
||||
page-break-after : avoid; }
|
||||
|
||||
p {
|
||||
orphans : 3;
|
||||
widows : 3; }
|
||||
|
||||
pre, blockquote {
|
||||
border : 1px solid #333;
|
||||
page-break-inside : avoid;
|
||||
padding: 1em; }
|
||||
|
||||
abbr[title]:after {
|
||||
content: " (" attr(title) ")"; }
|
||||
|
||||
a, a:visited {
|
||||
text-decoration : underline; }
|
||||
|
||||
a[href]:after {
|
||||
content : " (" attr(href) ")"; }
|
||||
|
||||
a[href^="javascript:"]:after,
|
||||
a[href^="#"]:after {
|
||||
content : ""; }
|
||||
|
||||
// TEXTURE ===============================================
|
||||
img {
|
||||
max-width : 100% !important;
|
||||
page-break-inside : avoid; }
|
||||
|
||||
thead {
|
||||
display : table-header-group; }
|
||||
|
||||
tr {
|
||||
page-break-inside : avoid; }
|
||||
|
||||
// ELEMENTS ==============================================
|
||||
// LAYOUT ================================================
|
||||
// VENDOR-SPECIFIC =======================================
|
||||
// MODERNIZR =============================================
|
Reference in New Issue
Block a user