-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
112 lines (94 loc) · 1.62 KB
/
style.css
File metadata and controls
112 lines (94 loc) · 1.62 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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
.invoice {
border: 1px solid #eee;
box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.15);
box-sizing: border-box;
color: #555;
font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif;
font-size: 1rem;
line-height: 1.5rem;
margin: 0.5rem auto;
max-width: 53.9rem;
min-width: 32rem;
padding: 2rem;
white-space: nowrap;
}
.invoice-info {
display: flex;
flex-wrap: wrap;
margin-bottom: 2rem;
justify-content: space-between;
align-items: flex-end;
}
.invoice-info > * {
width: 50%;
margin-bottom: 0.2rem;
box-sizing: border-box;
}
h1.company-name {
font-size: 2rem;
margin: 0;
padding: 1rem 0.3rem;
}
.info-label {
font-weight: bold;
}
.invoice-detail,
.payer-info {
text-align: right;
}
.payee-info,
.invoice-detail,
.payer-info {
padding: 0.6rem;
}
.info-label,
.info-value {
display: inline;
}
table.itemization {
border-collapse: collapse;
border-spacing: 0;
width: 100%;
}
table.itemization thead tr {
background: #eee;
border-bottom: 1px solid #ddd;
font-weight: bold;
}
tr.item {
border-bottom: 1px solid #eee;
}
th, td {
box-sizing: border-box;
line-height: 1.3rem;
padding: 0.4rem;
text-align: right;
}
tr.item td:first-child,
th:first-child {
text-align: left;
}
tr:not(.header) td:last-child,
tr:not(.header) td:nth-child(2) {
font-family: monospace;
font-size: 1.2rem;
}
tr:nth-child(odd) {
background: #f8f8f8;
}
td:nth-child(3) {
width: 10.1rem;
}
td:last-child {
width: 7.6rem;
}
tr:last-child td:last-child {
font-weight: bold;
border-top: solid 1px gray;
}
@media print {
.invoice {
border: 0;
box-shadow: none;
}
}