-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtest.html
443 lines (413 loc) · 17.7 KB
/
test.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
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
<!DOCTYPE HTML>
<style>
/* Navigation */
nav {
overflow: hidden;
border-bottom: 1px solid #415773;
text-transform: uppercase;
font-size: 14px;
}
.nav-ul {
list-style-type: none;
margin: 0;
padding: 0;
overflow: hidden;
background-color: #182E4E;
}
li {
float: left;
}
li a {
display: block;
color:white;
text-align: center;
padding: 14px 16px;
text-decoration: none;
}
li a:hover:not(.active) {
color: #182E4E;
border-top: 3px solid rgb(255,86,33);
background-color: #E7EAED;
padding-top: 11px;
transition: 0.3s;
}
li a.active {
background-color: #13243E;
border-top: 3px solid white;
padding-top: 11px;
transition: 0.3s;
}
/* Hero */
.hero{
background: linear-gradient(to right, #337484, #182E4E);
padding: 50px;
color: white;
}
/* Hover states for buttons */
button{
background-color:#e9703e;
padding: 12px 18px;
margin-right: 10px;
font-weight: 300;
font-size: 16px;
color: white;
border-radius: 5px;
border: none;
cursor: pointer;
}
.bg-orange:hover, active, focus {
background-color:#D9521C !important;
}
.bg-navy:hover, active, focus{
background-color:#13243E !important;
}
/* Text Styles */
body {
font-family: 'Roboto', sans-serif;
font-weight: 300;
line-height: 21px;
letter-spacing: 0em;
text-align: center;
margin: 0;
}
h1{
margin: .67em 0;
font-size: 2em;
line-height: normal;
}
h2{
font-family: "Roboto", sans-serif;
font-size: 1.75rem;
letter-spacing: 0;
font-weight: 400;
text-align: center;
color: #13243E;
padding: 10px;
}
h3{
font-weight: 200;
font-family: "Roboto", sans-serif;
}
left{
text-align: left;
}
/* Grid Container */
.grid-container {
display: grid;
grid-template-columns: auto auto auto auto;
grid-gap: 0px;
grid-template-columns: repeat(auto-fit, minmax(625px, 1fr));
}
@media (max-width: 600px) {
.grid-container { grid-template-columns: repeat(1, 1fr); }
}
@media (min-width: 1200px){
.grid-container { grid-template-columns: repeat(2, 1fr); }
}
/* Form */
.sidebar {
margin: 0;
padding: 0;
width: 400px;
position: absolute;
background: linear-gradient(to bottom, #337484, #182E4E);
height: 100%;
overflow: auto;
font-size: 1em;
color: white;
}
div.maker {
margin-left: 400px;
padding: 1px 16px;
}
.sidebar-content{
margin: auto;
padding: 30px;
}
@media screen and (max-width: 700px) {
.sidebar {
width: 100%;
height: auto;
position: relative;
}
.sidebar a {float: left;}
div.maker {margin-left: 0;}
}
@media screen and (max-width: 400px) {
.sidebar a {
text-align: center;
float: none;
}
.sidebar-content{
padding: 5px;
margin-top: 20px;
margin-bottom: 20px;
}
}
.text-boxes {
border: none;
margin-bottom: 20px;
padding: 5px;
max-width: 300px;
min-height: 20px;
width: 300px;
font-size: 14px;
font-family: 'Roboto', sans-serif;
border-radius: 5px;
}
#sample-module{
margin-top: 10px;
}
html{
scroll-behavior: smooth;
}
</style>
<html style="scroll-behavior: smooth;">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto">
<link rel="stylesheet" href="stylesheet.css">
<span style="font-family: Roboto;"></span>
<title>Responsive Email Modules</title>
</head>
<body style="font-family: 'Roboto', sans-serif;font-weight: 300;line-height: 21px;letter-spacing: 0em;text-align: center;margin: 0;">
<!--NAVIGATION-->
<nav style="overflow: hidden;border-bottom: 1px solid #415773;text-transform: uppercase;font-size: 14px;">
<ul class="nav-ul" style="list-style-type: none;margin: 0;padding: 0;overflow: hidden;background-color: #182E4E;">
<li style="float: left;"><a class="active" href="index.html" style="display: block;color: white;text-align: center;padding: 14px 16px;text-decoration: none;background-color: #13243E;border-top: 3px solid white;padding-top: 11px;transition: 0.3s;">Home</a></li>
<li style="float: left;"><a href="#cta" style="display: block;color: white;text-align: center;padding: 14px 16px;text-decoration: none;">Calls to Action</a></li>
<li style="float: left;"><a href="#interactive" style="display: block;color: white;text-align: center;padding: 14px 16px;text-decoration: none;">Interactive</a></li>
<li style="float: left;"><a href="sample.html" style="display: block;color: white;text-align: center;padding: 14px 16px;text-decoration: none;">Sample Email</a></li>
<li style="float: left;"><a href="module.html" style="display: block;color: white;text-align: center;padding: 14px 16px;text-decoration: none;">Creator</a></li>
</ul>
</nav>
<!--HERO-->
<div class="hero" style="background: linear-gradient(to right, #337484, #182E4E);padding: 50px;color: white;">
<h1 style="margin: .67em 0;font-size: 2em;line-height: normal;">Banana Bread</h1>
<table align="center" cellspacing="10">
<tr>
<td align="center">
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td align="center" style="border-radius: 5px;" bgcolor="#e9703e" class="bg-orange">
<a href="sample.html" target="_blank" style="font-size: 16px; color: #ffffff; text-decoration: none; text-decoration: none;border-radius: 5px;
padding: 12px 18px; border: 2px solid #e9703e; display: inline-block;">
<font face="'Roboto', Arial, sans-serif">Check out a sample email!</font></a>
</td>
</tr>
</tbody></table>
</td>
<td align="center">
<table border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td align="center" style="border-radius: 5px;" bgcolor="#e9703e" class="bg-orange">
<a href="module.html" target="_blank" style="font-size: 16px; color: #ffffff; text-decoration: none; text-decoration: none;border-radius: 5px;
padding: 12px 18px; border: 2px solid #e9703e; display: inline-block;">
<font face="'Roboto', Arial, sans-serif">Make a module!</font></a>
</td>
</tr>
</tbody></table>
</td>
</tr>
</table>
</div>
<main>
<!--CALL TO ACTION-->
<section id="cta">
<h2 style="font-family: 'Roboto', sans-serif;font-size: 1.75rem;letter-spacing: 0;font-weight: 400;text-align: center;color: #13243E;padding: 10px;">Calls to Action</h2>
<div class="grid-container" style="display: grid;grid-template-columns: repeat(auto-fit, minmax(625px, 1fr));grid-gap: 0px;">
<!--Grey background, orange button-->
<div style="background: #EEEEEE">
<table width="100%" border="0" cellspacing="0" cellpadding="5" bgcolor="#EEEEEE">
<tbody>
<tr><td> </td></tr>
<!--Title-->
<tr>
<td align="center" style="font-size:24px; font-weight:700">
<font face="'Roboto', Arial, sans-serif">
Don't miss an America Counts story!</font></td>
</tr>
<!--Description-->
<tr>
<td align="center" style="font-size:16px; font-weight:300">
<font face="'Roboto', Arial, sans-serif">
Stay in the know about the stories behind the numbers.</font></td>
</tr>
<!--Call to Action-->
<tr>
<td align="center">
<table border="0" cellspacing="0" cellpadding="0">
<tbody><tr>
<td align="center" style="border-radius: 5px;" bgcolor="#e9703e" class="bg-orange">
<a href="https://public.govdelivery.com/accounts/USCENSUS/subscriber/new" target="_blank" style="font-size: 16px; color: #ffffff; text-decoration: none; text-decoration: none;border-radius: 5px;
padding: 12px 18px; border: 2px solid #e9703e; display: inline-block;">
<font face="'Roboto', Arial, sans-serif">Subscribe Here</font></a>
</td>
</tr>
</tbody></table>
</td>
</tr>
<tr><td> </td></tr>
</tbody>
</table>
</div>
<!--Aqua background, navy button-->
<div style="background: #4093A5">
<table width="100%" border="0" cellspacing="0" cellpadding="5" bgcolor="#4093A5">
<tbody>
<tr><td> </td></tr>
<!--Title-->
<tr>
<td align="center" style="font-size:24px; font-weight:700; color: #ffffff;">
<font face="'Roboto', Arial, sans-serif">
Don't miss an America Counts story!</font></td>
</tr>
<!--Description-->
<tr>
<td align="center" style="font-size:16px; font-weight:300; color: #ffffff">
<font face="'Roboto', Arial, sans-serif">
Stay in the know about the stories behind the numbers.</font></td>
</tr>
<!--Call to Action-->
<tr>
<td align="center">
<table border="0" cellspacing="0" cellpadding="0">
<tbody><tr>
<td align="center" style="border-radius: 5px;" bgcolor="#182E4E" class="bg-navy">
<a href="https://public.govdelivery.com/accounts/USCENSUS/signup/19707" target="_blank" style="font-size: 16px; color: #ffffff; text-decoration: none; text-decoration: none;border-radius: 5px;
padding: 12px 18px; border: 2px solid #182E4E; display: inline-block;">
<font face="'Roboto', Arial, sans-serif">Subscribe Here</font></a>
</td>
</tr>
</tbody></table>
</td>
</tr>
<tr><td> </td></tr>
</tbody>
</table>
</div>
<!--Navy background, orange button-->
<div style="background: #182E4E">
<table width="100%" border="0" cellspacing="0" cellpadding="5" bgcolor="#182E4E">
<tbody>
<tr><td> </td></tr>
<!--Title-->
<tr>
<td align="center" style="font-size:24px; font-weight:700; color: #ffffff;">
<font face="'Roboto', Arial, sans-serif">
Don't miss an America Counts story!</font></td>
</tr>
<!--Description-->
<tr>
<td align="center" style="font-size:16px; font-weight:300; color: #ffffff">
<font face="'Roboto', Arial, sans-serif">
Stay in the know about the stories behind the numbers.</font></td>
</tr>
<!--Call to Action-->
<tr>
<td align="center">
<table border="0" cellspacing="0" cellpadding="0">
<tbody><tr>
<td align="center" style="border-radius: 5px;" bgcolor="#e9703e" class="bg-orange">
<a href="https://public.govdelivery.com/accounts/USCENSUS/subscriber/new" target="_blank" style="font-size: 16px; color: #ffffff; text-decoration: none; text-decoration: none;border-radius: 5px;
padding: 12px 18px; border: 2px solid #e9703e; display: inline-block;">
<font face="'Roboto', Arial, sans-serif">Subscribe Here</font></a>
</td>
</tr>
</tbody></table>
</td>
</tr>
<tr><td> </td></tr>
</tbody>
</table>
</div>
<!--Grey background, navy button-->
<div style="background: #EEEEEE">
<table width="100%" border="0" cellspacing="0" cellpadding="5" bgcolor="#EEEEEE">
<tbody>
<tr><td> </td></tr>
<!--Title-->
<tr>
<td align="center" style="font-size:24px; font-weight:700">
<font face="'Roboto', Arial, sans-serif">
Don't miss an America Counts story!</font></td>
</tr>
<!--Description-->
<tr>
<td align="center" style="font-size:16px; font-weight:300">
<font face="'Roboto', Arial, sans-serif">
Stay in the know about the stories behind the numbers.</font></td>
</tr>
<!--Call to Action-->
<tr>
<td align="center">
<table border="0" cellspacing="0" cellpadding="0">
<tbody><tr>
<td align="center" style="border-radius: 5px;" bgcolor="#182E4E" class="bg-navy">
<a href="https://public.govdelivery.com/accounts/USCENSUS/subscriber/new" target="_blank" style="font-size: 16px; color: #ffffff; text-decoration: none; text-decoration: none;border-radius: 5px;
padding: 12px 18px; border: 2px solid #182E4E; display: inline-block;">
<font face="'Roboto', Arial, sans-serif">Subscribe Here</font></a>
</td>
</tr>
</tbody></table>
</td>
</tr>
<tr><td> </td></tr>
</tbody>
</table>
</div>
</div>
</section>
<!--INTERACTIVE-->
<section id="interactive">
<h2 style="font-family: 'Roboto', sans-serif;font-size: 1.75rem;letter-spacing: 0;font-weight: 400;text-align: center;color: #13243E;padding: 10px;">Interactive</h2>
<h3 style="font-weight: 200;font-family: Roboto', sans-serif;">Responsive, collapsible icons</h3>
<p>Icons on the left will disappear on mobile devices to provide more space for the readers.</p>
<div style="width: 600px; margin:auto; background:white;">
<div>
<table cellspacing="10" cellpadding="10">
<tr>
<td class="hidden">
<img width="60px" src="https://www.census.gov/content/census/en/data/academy/jcr:content/root/responsivegrid/featureicons.featureicon.1.png/1595368108771.png">
</td>
<td style="text-align: left; font-family: sans-serif;">
<a href="https://www.census.gov/programs-surveys/acs/about.html">The American Community Survey</a> is the premier source for annual socioeconomic data and information about America's changing population, housing, and workforce.
</td>
</tr>
<tr>
<td class="hidden">
<img width="60px" src="https://www.census.gov/content/census/en/data/academy/jcr:content/root/responsivegrid/featureicons.featureicon.3.png/1568054372395.png">
</td>
<td style="text-align: left; font-family: sans-serif;">
<a href="https://www.census.gov/programs-surveys/acs/about.html">The Economic Census</a> measures the nation's economy every 5 years providing vital statistics for every industry and geographic area.
</td>
</tr>
<tr>
<td class="hidden">
<img width="60px" src="https://www.census.gov/content/census/en/data/academy/jcr:content/root/responsivegrid/featureicons.featureicon.2.png/1568054372362.png">
</td>
<td style="text-align: left; font-family: sans-serif;">
<a href="https://www.census.gov/programs-surveys/acs/about.html">National and State Population Estimates</a> utilize current data on births, deaths, and migration to calculate population change and produce time series of estimates of population, demographic components of change, and housing units.
</td>
</tr>
<tr>
<td class="hidden">
<img width="60px" src="https://www.census.gov/content/census/en/data/academy/jcr:content/root/responsivegrid/featureicons_1684181223.featureicon.1.png/1568054372476.png">
</td>
<td style="text-align: left; font-family: sans-serif;">
<a href="https://www.census.gov/programs-surveys/acs/about.html">Income, Poverty, and Health Insurance Coverage</a> are increasingly important in measuring the nation's overall well-being.
</td>
</tr>
</table>
</div>
</div>
</section>
</main>
<!--SCRIPTS-->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.0/umd/popper.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script>
</body>
</html>