aboutsummaryrefslogtreecommitdiffstats
path: root/Just-Read/less/print.less
blob: 92d636bf635f1bc89353bc1801bbb3f9d7c5d25b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
// Credits: [HTML Boilerplate[(https://github.com/h5bp/html5-boilerplate)
//          [Hartija - Css Print Framework](http://code.google.com/p/hartija/) licensed under [MIT](http://www.opensource.org/licenses/mit-license.php)

* { 
	background : transparent !important; 
	box-shadow:none !important;
	color : black !important; // Black prints faster: h5bp.com/s
	filter : none !important; 
	-ms-filter : none !important; 
	text-shadow : none !important; 
}

@page { 
	margin : 0.5cm; 
}

a, a:visited { 
	color : @black !important; 
	text-decoration : underline; 
}

a[href]:after { 
	content : " (" attr(href) ")"; 
}

a[href^="javascript:"]:after, a[href^="#"]:after, .ir a:after { 
	content : ""; 
}

abbr[title]:after { 
	content : " (" attr(title) ")"; 
}

body{
	font-size: 12pt;
}

blockquote, pre{
	page-break-inside : avoid; 
}

blockquote, pre { 
	margin-left: 0.5cm;
	border-left : 0.2cm solid #999; 
	padding-left: 0.2cm;
}

code, pre { 
	font: 10pt Courier, monospace; 
} 

h1{
	font-size: 18pt;
}

h2, h3 { 
	page-break-after : avoid;
	font-size: 16pt;
}

h2, h3, p { 
	orphans : 3;  
	widows : 3; 	
}

img { 
	max-width : 100% !important;
}

img, tr { 
	page-break-inside : avoid; 
}

thead { 
	display : table-header-group; 
}