-
Notifications
You must be signed in to change notification settings - Fork 1
/
letter.html
218 lines (198 loc) · 5.43 KB
/
letter.html
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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
<html>
<head>
<meta charset="UTF-8">
<link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700' rel='stylesheet' type='text/css'>
<title>Lob.com Invoice Letter Template</title>
<style>
*, *:before, *:after {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
body {
width: 8.5in;
height: 11in;
margin: 0;
padding: 0;
background-color: white;
font-family: 'Open Sans';
font-weight: 400;
}
.page-content {
position: relative;
width: 8.125in;
height: 10.625in;
left: 0.1875in;
top: 0.1875in;
}
#return-address-window {
position: absolute;
left: .625in;
top: .5in;
width: 3.25in;
height: .875in;
}
#return-logo {
position: absolute;
left: .07in;
top: .02in;
width: 2.05in;
height: .3in;
}
#heading {
position: relative;
top: .6in;
left: 4.6in;
width: 3in;
text-transform: uppercase;
font-weight: 700;
font-size: .25in;
text-align: right;
}
#subheading {
padding-top: .2in;
font-size: .14in;
text-transform: none;
}
#footer {
font-size: .1in;
text-align: center;
margin-top: 2in;
}
#table {
display: table;
margin: auto;
margin-top: 2in;
width: 7.2in;
border-top: 1px solid black;
border-right: 1px solid black;
}
.row {
display: table-row;
}
.cell {
display: table-cell;
border-left: 1px solid black;
border-bottom: 1px solid black;
padding: 10px;
height: 38px;
}
.top {
font-weight: 700;
font-size: .135in;
background-color: lightgray;
}
.bottom {
font-size: .12in;
}
.hidden {
visibility: hidden;
}
.text-right {
text-align: right;
}
</style>
</head>
<body>
<!-- all text should be within page-content -->
<div class="page-content">
<div id="heading">
Invoice
<div id="subheading">
Invoice #123<br>
Customer ID: DUSXJUS<br>
Date: July 8, 2018
</div>
</div>
<div id="table">
<div class="row">
<span class="cell top">Item #</span>
<span class="cell top">Description</span>
<span class="cell top">Quantity</span>
<span class="cell top">Unit Price</span>
<span class="cell top">Total</span>
</div>
<div class="row">
<span class="cell bottom">3781732</span>
<span class="cell bottom">Crafty Tools</span>
<span class="cell bottom">3</span>
<span class="cell bottom">$30.00</span>
<span class="cell bottom">$90.00</span>
</div>
<div class="row">
<span class="cell bottom">2938298</span>
<span class="cell bottom">Crafty Video</span>
<span class="cell bottom">10</span>
<span class="cell bottom">$50.00</span>
<span class="cell bottom">$500.00</span>
</div>
<div class="row">
<span class="cell bottom">1379173</span>
<span class="cell bottom">Crafty Music</span>
<span class="cell bottom">1</span>
<span class="cell bottom">$25.00</span>
<span class="cell bottom">$25.00</span>
</div>
<div class="row">
<span class="cell bottom">2392893</span>
<span class="cell bottom">Crafty Support</span>
<span class="cell bottom">1</span>
<span class="cell bottom">$100.00</span>
<span class="cell bottom">$100.00</span>
</div>
<div class="row">
<span class="cell bottom">2938298</span>
<span class="cell bottom">Crafty Supplies</span>
<span class="cell bottom">10</span>
<span class="cell bottom">$10.00</span>
<span class="cell bottom">$100.00</span>
</div>
<div class="row">
<span class="cell bottom">1379173</span>
<span class="cell bottom">Crafty Production</span>
<span class="cell bottom">1</span>
<span class="cell bottom">$150.00</span>
<span class="cell bottom">$150.00</span>
</div>
<div class="row">
<span class="cell bottom"></span>
<span class="cell bottom"></span>
<span class="cell bottom"></span>
<span class="cell bottom"></span>
<span class="cell bottom"></span>
</div>
<div class="row">
<span class="cell bottom"></span>
<span class="cell bottom"></span>
<span class="cell bottom"></span>
<span class="cell bottom"></span>
<span class="cell bottom"></span>
</div>
<div class="row">
<span class="cell bottom"></span>
<span class="cell bottom"></span>
<span class="cell bottom"></span>
<span class="cell bottom"></span>
<span class="cell bottom"></span>
</div>
<div class="row">
<span class="cell hidden"></span>
<span class="cell hidden"></span>
<span class="cell hidden"></span>
<span class="cell top text-right">TOTAL:</span>
<span class="cell top">$965.00</span>
</div>
</div>
<div id="footer">
Your total payment is due in 30 days.<br>Please make checks payable to "Crafty Inc".<br><br>
If you have any questions about this invoice, please contact support@crafty.com.
</div>
</div>
<div id="return-address-window">
<div id="return-logo">
<!-- your logo here! -->
<img src="https://s3-us-west-2.amazonaws.com/public.lob.com/gallery_templates/letter_invoice/crafty-logo.png" style="height: 100%">
</div>
</div>
</body>
</html>