forked from magento/devdocs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprint.scss
67 lines (66 loc) · 1.07 KB
/
print.scss
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
/* Print Styles */
* {
text-shadow: none !important;
color: #000 !important;
background: transparent !important;
box-shadow: none !important
}
a,
a:visited {
text-decoration: underline
}
a[href]:after {
content: " (" attr(href)")"
}
abbr[title]:after {
content: " (" attr(title)")"
}
h3 a[href]:after, .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after {
content: ""
}
pre, blockquote {
border: 1px solid #999;
page-break-inside: avoid
}
thead {
display: table-header-group
}
tr, img {
page-break-inside: avoid
}
img {
max-width: 100% !important
}
table {
border: none;
}
@page {
margin:0.5cm;
}
p, h2, h3 {
orphans:3;
widows:3;
}
h2, h3 {
page-break-after:avoid
}
.site-header, .nav-main, .footer, .copyright-links, .sidebar, .improve-page {
display: none;
}
.content {
width: auto;
float: none;
padding: 0;
}
.container, .content .content-wrap, .main-container, .home-section:last-child {
padding: 0;
}
.page-intro {
padding: 1em 0;
margin-bottom: 1em;
border-bottom: 1px solid #ccc;
}
#copyright {
border: 0;
padding: 1em 0;
}