-
Notifications
You must be signed in to change notification settings - Fork 2
/
layout-notification.html
220 lines (201 loc) · 8.41 KB
/
layout-notification.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
<!DOCTYPE html>
<html lang="en" dir="ltr" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office">
<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>Notification email layout - Starter email components</title>
<!--[if mso]>
<noscript>
<xml>
<o:OfficeDocumentSettings>
<o:PixelsPerInch>96</o:PixelsPerInch>
</o:OfficeDocumentSettings>
</xml>
</noscript>
<![endif]-->
<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;
}
/* Responsive adjustments */
@media screen and (max-width: 480px) {
.column {
display: block !important;
width: 100% !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;
}
.column img.fill {
width: 100% !important;
height: auto !important;
}
.mobile-left {
text-align: left !important;
}
.mobile-center {
text-align: center !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 {
background: #a6a6a6 !important;
}
.btn a {
color: #404040 !important;
}
}
</style>
</head>
<body style="background: #efefef;">
<div class="block-preview" style="display: none;">An example of a notification email.</div>
<div role="article" lang="en" dir="ltr" class="wrapper" style="background: #efefef; font-size: 16px; font-family: Helvetica Neue, Helvetica, Arial, sans-serif;">
<!-- Container -->
<!--[if true]>
<table role="presentation" style="width: 600px;" align="center"><tr><td>
<![endif]-->
<div class="main" style="max-width: 600px; margin: 0 auto;">
<!-- Header -->
<div class="content" style="margin: 0; font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 18px; line-height: 24px; color: #444444; text-align: left; font-weight: 300;">
<div style="width: 100%; height: 50px"> </div>
<div>
<!--[if true]>
<table border="0" cellpadding="0" cellspacing="0" role="presentation" width="100%" style="all: unset; opacity: 0;">
<tr>
<![endif]-->
<div style="display: table; width: 100%;">
<!--[if true]><td width="33.3%"><![endif]-->
<!--[if !true]><!-->
<div class="column" style="display: table-cell; width: 33.3%;">
<!--<![endif]-->
<a href="#"><img height="auto" src="https://blocksedit.com/starter/img/logo.png" width="75" alt="" style="display: inline-block; float: left; width: 75px; height: auto;"></a>
<!--[if !true]><!-->
</div>
<!--<![endif]-->
<!--[if true]>
</td>
<td width="66.6%">
<![endif]-->
<!--[if !true]><!-->
<div class="column" style="display: table-cell; width: 66.6%; vertical-align: middle; text-align: right;">
<!--<![endif]-->
<p style="margin: 0; padding: 0; font-size: 16px; color: #444444; line-height: 1.3em; text-decoration: none; font-weight: 300;">Message Board<!--[if !true]><!--></p></div>
<!--<![endif]-->
<!--[if true]></td><![endif]-->
</div>
<!--[if true]>
</tr>
</table>
<![endif]-->
</div>
<!-- Content -->
<div style="width: 100%; height: 30px;"><p style="float: left; margin: 0; margin-bottom: 30px; width: 100%; line-height: 0;"> </p></div>
<!-- Standard content section -->
<div class="column">
<h1 style="margin: 0; margin-bottom: 10px; font-size: 36px; line-height: 40px; color: #444444; text-align: left; font-weight: 600;">New response to thread</h1><div style="display: block;">
<h2 style="margin: 0; margin-bottom: 20px; font-size: 28px; line-height: 30px; color: #444444; font-weight: 600;">How do you prioritize what you do each day?</h2>
</div>
</div><div style="width: 100%; height: 30px;"><p style="float: left; margin: 0; margin-bottom: 30px; width: 100%; line-height: 0;"> </p></div><table role="presentation" width="100%" cellspacing="0" cellpadding="0">
<tbody><tr>
<td class="column alt" style="border-radius: 10px; background-color: #ffffff; padding: 20px; text-align: left;">
<!--[if true]>
<table border="0" cellpadding="0" cellspacing="0" role="presentation" width="100%" style="all: unset; opacity: 0;">
<tr>
<![endif]-->
<div style="display: table; width: 100%;">
<!--[if true]><td width="20%" style="padding-right: 15px; vertical-align: top;"><![endif]-->
<!--[if !true]><!-->
<div style="display: table-cell; width: 20%; padding-right: 15px; vertical-align: top;">
<!--<![endif]-->
<a href="#"><img height="auto" src="https://blocksedit.com/starter/img/profile-3.jpg" width="95" alt="" class="fill" style="display: inline-block; border-radius: 100%; width: 95px; height: auto;"></a>
<!--[if !true]><!-->
</div>
<!--<![endif]-->
<!--[if true]>
</td>
<td width="80%">
<![endif]-->
<!--[if !true]><!-->
<div style="display: table-cell; width: 80%;">
<!--<![endif]-->
<p style="margin: 0; font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 24px; color: #444444; font-weight: 300;"><strong>Mariah Perica</strong><br>CEO, Our Organization</p>
<p style="float: left; margin: 0; margin-bottom: 20px; width: 100%; line-height: 0;"> </p>
<p style="margin: 0; font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 24px; color: #444444; font-weight: 300;"><strong>Today at 3:07pm:</strong><br>I either go to bed, or wake up the next morning, and look at a running list of 10-20 items that I keep on my calendar under an all-day event titled 'Today'. I pick at least two items I would like to get done for the day and move the rest to the following day.</p>
<p style="float: left; margin: 0; margin-bottom: 20px; width: 100%; line-height: 0;"> </p>
<span class="btn" style="display: inline-block; border-radius: 50px; background: #3c97db; mso-padding-alt: 0;"><!--[if mso]><i style="letter-spacing: 20px; mso-font-width: -100%; mso-text-raise: 30pt;"> </i><![endif]--><a href="#" style="display: inline-block; padding: 12px 25px; font-family: Helvetica, Arial, sans-serif; font-size: 18px; font-weight: 600; line-height: 1; text-decoration: none; text-align: center; color: #ffffff; mso-text-raise: 15pt;" target="_blank">Reply</a><!--[if mso]><i style="letter-spacing: 20px; mso-font-width: -100%; mso-text-raise: 30pt;"> </i><![endif]--></span>
<!--[if !true]><!-->
</div>
<!--<![endif]-->
<!--[if true]></td><![endif]-->
</div>
<!--[if true]>
</tr>
</table>
<![endif]-->
</td>
</tr></tbody>
</table>
<div style="width: 100%; height: 50px;"><p style="float: left; margin: 0; margin-bottom: 50px; width: 100%; line-height: 0;"> </p></div>
</div>
</div>
<!--[if true]>
</td></tr></table>
<![endif]-->
<!-- Footer -->
<!--[if true]>
<table role="presentation" style="width: 100%;" align="center"><tr><td>
<![endif]-->
<div class="main" style="max-width: 100%; margin: 0 auto; padding-bottom: 20px;">
<p style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 18px; color: #444444; text-align: center; font-weight: 300;">Built and edited using Blocks Edit.<br>
<br>
© Our Organization, 123 Fake Street, Phoenix, AZ 85281<br>
<br>
<a href="#" target="_blank" style="color: #444444; text-decoration: none; font-weight: 400;">Unsubscribe</a></p>
</div>
<!--[if true]>
</td></tr></table>
<![endif]-->
</div>
</body>
</html>