-
Notifications
You must be signed in to change notification settings - Fork 3
/
print.scss
105 lines (90 loc) · 2.27 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
/**
* Simple print stylesheet, sets some sensible defaults
*
* @author Thomas Bredin-Grey <[email protected]>
* @author Hemi Ormsby <[email protected]>
* @url https://github.com/tbredin/OnionKnight
*/
@import "base/variables";
@media print {
body {
background: #fff;
font-family: Tahoma, Helvetica, Arial, sans-serif;
width: 181mm;
}
hr {
height: 1px;
display: block;
background: #fff;
color: #fff;
width: 190mm;
border: none!important;
border-bottom: 1px solid #999!important;
}
table img { float: left; }
table, td, th { border-collapse: collapse; }
td, th { border: 1px solid #999!important; padding: 3mm;}
ul, ol, li {
padding-left: 0;
list-style: outside none!important;
}
.wrapper, .content {
width: auto;
margin: 0 5%;
padding: 0;
border: 0;
float: none !important;
color: black;
background: transparent;
}
body {
background: white;
font-size: 12pt;
}
.content {
margin: 0;
padding-top: 1em;
border-top: 1px solid #999;
width: 190mm;
a { text-decoration: none!important; line-height: 1.6; }
a:link:after, a:visited:after {
content: " (" attr(href) ") ";
font-size: 70%;
line-height: 1.6;
text-decoration: none!important;
}
// @todo add your domain
a[href^="/"]:after {
content: " (http://www.yourdomain.co.nz" attr(href) ") ";
}
// @todo add your domain
a[href^="#"]:after {
content: " (http://www.yourdomain.co.nz" attr(href) ") ";
}
}
h1, h2, th {
text-transform: uppercase;
font-family: $font-family;
}
h2, h3 {
color: $heading-color;
}
dt {
color: $heading-color;
font-weight: bold;
}
.breadcrumbs {
a:link:after, a:visited:after {
content: ""!important;
}
}
h1, h2, h3, h4, h5, p, label {
text-shadow: none;
}
a:link, a:visited {
background: transparent;
color: $link-color;
text-shadow: none;
text-decoration: underline;
}
}