forked from cmda-minor-web/css-to-the-rescue-1920
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprint.css
48 lines (38 loc) · 758 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
@font-face {
font-family: "Inconsolata-regular";
src: url("../fonts/Inconsolata-Regular.ttf");
}
body {
margin: 0;
font-family: "Inconsolata-regular", sans-serif;
}
h1 {
font-size: 2rem;
}
input, [theme], [error], [console-message] {
display: none;
}
main > div, main > h2 {
display: none;
}
[menu] {
page-break-after: always;
break-after: always;
}
[menu] h2:not(:first-of-type) {
display: none;
}
[food-service] > article, [menu-items] {
padding: 1rem;
border: 1px solid #000;
}
[menu-items] article {
padding-bottom: 1rem;
border-bottom: 1px solid grey;
}
[menu-items] article div:last-child::before {
content: '€';
}
[menu-items] article div:last-child::after {
content: ',-';
}