_print.scss
1.02 KB
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
80
81
82
83
@media print {
*,
*:after,
*:before {
background: transparent !important;
box-shadow: none !important;
text-shadow: none !important;
}
a,
a:visited {
text-decoration: underline;
}
a[href]:after {
content: " (" attr(href) ")";
}
a[href^="#"]:after,
a[href^="javascript:"]:after {
content: "";
}
abbr[title]:after {
content: " (" attr(title) ")";
}
blockquote,
pre {
border: 1px solid $black-hint;
page-break-inside: avoid;
}
img,
tr {
page-break-inside: avoid;
}
img {
max-width: 100% !important;
}
h2,
h3,
p {
orphans: 3;
widows: 3;
}
h2,
h3 {
page-break-after: avoid;
}
thead {
display: table-header-group;
}
// material
.card,
.tile {
border: 1px solid $black-hint;
}
.fbtn-container,
.menu,
.menu-toggle {
display: none !important;
}
.footer {
page-break-after: always;
}
.header a {
color: $link-color;
}
.tab-nav .nav > li.active > a {
border-bottom: 3px solid $black-text;
padding-bottom: ($line-height / 2 - 3);
}
}