-
Notifications
You must be signed in to change notification settings - Fork 2
/
style.css
67 lines (59 loc) · 946 Bytes
/
style.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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
@import "./node_modules/normalize.css/normalize.css";
html {
font-size: 62.5%;
}
body {
font-family: 'Operator Mono', monospace;
}
.labelWrap {
min-height: 100vh;
display: grid;
justify-content: center;
align-items: center;
}
.label {
border: 1px solid black;
display: grid;
grid-template-columns: 25% 1fr 1fr;
grid-template-rows: 25% 1fr;
grid-gap: 2rem 0;
width: 6in;
height: 4in;
padding: 2rem;
font-size:2rem;
position: relative;
}
.return {
grid-column: -1 / 1;
text-align: left;
}
.return::first-line {
font-weight: 600;
}
.to {
grid-row: 2;
grid-column: 2 / -1;
display: grid;
align-items: center;
}
.stamp {
position: absolute;
top: 0;
right: 0;
}
@page {
size: 6in 4in;
margin: 0mm;
}
@media print {
.label {
border: 0;
width: 100%;
height: 100%;
}
.labelWrap {
/* Get rid of the CSS grid stuff */
justify-content: start;
margin: 0;
}
}