-
Notifications
You must be signed in to change notification settings - Fork 7
/
print.css
34 lines (30 loc) · 960 Bytes
/
print.css
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
/* -------------------------------------------------------------------------- */
/* print.css */
/* -------------------------------------------------------------------------- */
/* Author: Archie Adams */
/* -------------------------------------------------------------------------- */
/* Styling for when the site is being printed. */
/* -------------------------------------------------------------------------- */
@page {
size: landscape;
margin: 20px;
}
li {
break-inside: avoid;
}
.up,
.down,
li p,
header div,
.addButtons,
.colourButtons,
footer,
#introduction {
display: none;
}
/* Key colours are background gradients, disabled for printing by browsers */
/* by default. */
* {
-webkit-print-color-adjust: exact; /* Chrome, Safari */
color-adjust: exact; /*Firefox*/
}