forked from cdukes/bones-for-genesis-2-0
-
Notifications
You must be signed in to change notification settings - Fork 0
/
_print.scss
79 lines (64 loc) · 1003 Bytes
/
_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
68
69
70
71
72
73
74
75
76
77
78
79
@media print {
* {
@include filter(none !important);
background: transparent !important;
color: black !important;
text-shadow: none !important;
}
a:link,
a:visited {
color: black !important;
text-decoration: underline;
}
blockquote {
border: 1px solid black;
page-break-inside: avoid;
}
@page {
margin: 2cm 1.5cm;
}
p,
h2,
h3 {
orphans: 4;
widows: 2;
}
h2,
h3 {
page-break-after: avoid;
}
.menu,
.widget-area,
.sidebar,
.footer-widgets,
.site-footer {
display: none !important;
}
.title-area {
float: none;
}
.site-header {
.site-title {
img {
display: block;
margin: 0 auto 1em;
}
}
}
.content {
width: 100% !important;
}
.entry-title,
.entry-content {
a[href]:after {
content: " (" attr(href) ")";
}
abbr[title]:after {
content: " (" attr(title) ")";
}
a[href^="#"]:after,
a[href^="javascript"]:after {
content: "";
}
}
}