-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnewsletter-template.html
297 lines (266 loc) · 7.67 KB
/
newsletter-template.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
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=yes">
<meta name="color-scheme" content="light dark">
<title>Indie Aisle newsletter</title>
<style>
/* Dark mode settings */
:root {
color-scheme: light dark;
}
/* Reset */
html, body {
margin: 0 auto !important;
padding: 0 !important;
height: 100% !important;
width: 100% !important;
}
.main {
box-sizing: border-box;
}
/* Content */
body {
background: #eeeeee;
font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
font-size: 18px;
line-height: 28px;
font-weight: 300;
color: #333333;
}
.preview {
display: none;
}
.wrapper {
background: #eeeeee;
}
.main {
margin: 0 auto;
max-width: 600px;
}
.content {
margin: 0;
text-align: center;
}
.column {
margin: 0 auto;
width: 100%;
}
h1, h2, h3 {
margin: 0;
margin-bottom: 10px;
color: #333333;
font-weight: 500;
}
h1 {
font-size: 20px;
line-height: 20px;
}
h2 {
font-size: 26px;
line-height: 26px;
}
a {
text-decoration: none;
color: #3082e4;
font-weight: 500;
}
p {
margin: 0;
margin-bottom: 10px;
}
ul {
margin: 0;
padding-left: 30px;
list-style: square;
}
img {
display: block;
}
img.fill {
width: 100%;
}
.btn {
margin: 0;
display: inline-block;
border-radius: 50px;
border: 1px solid #175bd2;
border-bottom: 2px solid #175bd2;
padding: 12px 20px;
background: #3082e4;
color: #ffffff;
font-size: 18px;
font-weight: 500;
line-height: 1;
text-decoration: none;
text-align: center;
}
.section .highlight {
margin: 0 auto;
border-radius: 10px;
background-color: #ffffff;
padding: 20px;
overflow: hidden;
}
.spacer-sm, .spacer-md {
width: 100%;
}
.spacer-sm {
height: 30px;
}
.spacer-md {
height: 40px;
}
.header {
text-align: center;
}
.header .avatar {
display: block;
margin: 0 auto;
margin-bottom: 10px;
border-radius: 100%;
}
.header h1 {
text-decoration: none;
color: #333333;
}
.header h1 a {
color: #333333;
}
.footer {
max-width: 100%;
margin: 0 auto;
margin-top: 30px;
background-color: #e9e9e9;
padding: 20px;
text-align: center;
}
.footer p {
font-size: 14px;
line-height: 20px;
}
.footer a {
color: #333333;
}
/* Responsive adjustments */
@media screen and (max-width: 480px) {
.column {
display: block !important;
box-sizing: border-box;
padding: 0 14px 14px 14px !important;
}
.column:last-child {
padding-bottom: 0 !important;
}
.column.alt {
padding-top: 14px !important;
padding-bottom: 0 !important;
}
.column.alt:last-child {
padding-bottom: 14px !important;
}
.icons .column {
width: 50% !important;
float: left;
}
.icons .column:nth-child(3) {
padding-bottom: 0 !important;
}
.icons .column.alt:nth-child(3) {
padding-bottom: 14px !important;
}
}
/* Dark mode adjustments */
@media (prefers-color-scheme: dark) {
body, .wrapper {
background-color: #222 !important;
}
h1, h2, h3, p, ul li, code {
color: #f1f1f1 !important;
}
.column.alt {
background-color: #1b1b1b !important;
}
.btn a {
background: #a6a6a6 !important;
color: #404040 !important;
}
}
</style>
</head>
<body>
<div class="preview block-preview"> </div>
<div role="article" lang="en" dir="ltr" class="wrapper">
<!-- Container -->
<!--[if mso]>
<p style="text-align: center;">Email may not look quite right in Outlook for Windows. <a href="#" style="text-decoration: underline; color: #1467ac;">View it in your browser.</a></p>
<![endif]-->
<div class="main">
<!-- Header -->
<div class="content">
<div class="spacer-md"> </div>
<div class="header column block-region block-remove">
<img src="https://via.placeholder.com/180x180?text=Photo" width="90" height="90" class="avatar block-edit">
<h1 class="block-edit block-remove"><a href="https://indieaisle.com/#">Your Name</a></h1>
</div>
<div class="spacer-sm"> </div>
<!-- Content -->
<div class="column block-section" data-group="content-standard" style="text-align: left;">
<p class="block-edit block-remove" data-block="content-standard-text">Text copy goes here. Sometimes it includes email provider tokens to pull in audience info, like %%first_name%%.</p>
<div class="column block-component" data-group="content-images">
<img src="https://via.placeholder.com/1200x600?text=Content+Image" width="600" height="auto" class="fill block-edit" style="height: auto;">
</div>
<div class="column block-component" data-group="content-images">
<img src="https://via.placeholder.com/900x450?text=Content+Image" width="450" height="auto" class="fill block-edit" style="margin: 0 auto; width: 75%; height: auto;">
</div>
<div class="column block-component" data-group="content-images">
<img src="https://via.placeholder.com/595x300?text=Content+Image" width="297" height="auto" class="fill block-edit" style="display: inline-block; width: 49.5%; height: auto;"> <img src="https://via.placeholder.com/595x300?text=Content+Image" width="297" height="auto" class="fill block-edit" style="display: inline-block; width: 49.5%; height: auto;">
</div>
<div class="spacer-sm block-component"> </div>
<div class="block-component">
<h2 class="block-edit">Subeadline/secondary title text</h2>
</div>
<div class="block-component">
<p class="block-edit">More text copy goes here. It could be as long as you need it to be as there is plenty of room to let it flow!</p>
</div>
<div class="block-component">
<ul>
<li class="block-edit">List item</li>
</ul>
</div>
<div class="block-component">
<p><a href="https://indieaisle.com/#" class="block-edit">Call to action →</a></p>
</div>
<div class="block-component">
<a href="https://indieaisle.com/#" class="btn block-edit" target="_blank">Call to action</a>
</div>
</div>
<div class="column block-section" data-group="content-standard" style="text-align: center;">
<p class="block-edit block-remove" data-block="content-standard-text">More text copy goes here. It could be as long as you need it to be as there is plenty of room to let it flow!</p>
</div>
<div class="section column alt block-section" data-group="content-standard" style="text-align: left;">
<div class="highlight">
<p class="block-edit block-remove" data-block="content-standard-text">More text copy goes here. It could be as long as you need it to be as there is plenty of room to let it flow!</p>
</div>
</div>
<div class="section column alt block-section" data-group="content-standard" style="text-align: center;">
<div class="highlight">
<p class="block-edit block-remove" data-block="content-standard-text">More text copy goes here. It could be as long as you need it to be as there is plenty of room to let it flow!</p>
</div>
</div>
<div class="block-section" class="spacer-sm"> </div>
</div>
</div>
<!-- Footer -->
<div class="main footer">
<p class="block-edit">
An <a href="https://indieaisle.com" target="_blank">Indie Aisle</a> template. Built and edited with <a href="https://blocksedit.com" target="_blank">Blocks Edit</a>.<br>
Mailing address goes here<br>
<br>
Reason for sending out this email <a href="https://indieaisle.com/#" target="_blank">Unsubscribe</a>
</p>
</div>
</div>
</body>
</html>