|
1 | | -<!doctype html> |
| 1 | +<!DOCTYPE html> |
2 | 2 | <html> |
3 | 3 | <head> |
4 | 4 | <meta name="viewport" content="width=device-width"> |
5 | 5 | <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
6 | 6 | <title>Simple Transactional Email</title> |
7 | | - <style media="all" type="text/css"> |
8 | | - @media all { |
9 | | - .btn-primary table td:hover { |
10 | | - background-color: #34495e !important; |
11 | | - } |
12 | | - .btn-primary a:hover { |
13 | | - background-color: #34495e !important; |
14 | | - border-color: #34495e !important; |
15 | | - } |
16 | | - } |
17 | | - |
18 | | - @media all { |
19 | | - .btn-secondary a:hover { |
20 | | - border-color: #34495e !important; |
21 | | - color: #34495e !important; |
22 | | - } |
23 | | - } |
24 | | - |
| 7 | + <style type="text/css"> |
| 8 | + /* ------------------------------------- |
| 9 | + INLINED WITH https://putsmail.com/inliner |
| 10 | + ------------------------------------- */ |
| 11 | + /* ------------------------------------- |
| 12 | + RESPONSIVE AND MOBILE FRIENDLY STYLES |
| 13 | + ------------------------------------- */ |
25 | 14 | @media only screen and (max-width: 620px) { |
26 | 15 | table[class=body] h1 { |
27 | 16 | font-size: 28px !important; |
28 | | - margin-bottom: 10px !important; |
29 | | - } |
30 | | - table[class=body] h2 { |
31 | | - font-size: 22px !important; |
32 | | - margin-bottom: 10px !important; |
33 | | - } |
34 | | - table[class=body] h3 { |
35 | | - font-size: 16px !important; |
36 | | - margin-bottom: 10px !important; |
37 | | - } |
| 17 | + margin-bottom: 10px !important; } |
38 | 18 | table[class=body] p, |
39 | 19 | table[class=body] ul, |
40 | 20 | table[class=body] ol, |
41 | 21 | table[class=body] td, |
42 | 22 | table[class=body] span, |
43 | 23 | table[class=body] a { |
44 | | - font-size: 16px !important; |
45 | | - } |
| 24 | + font-size: 16px !important; } |
46 | 25 | table[class=body] .wrapper, |
47 | 26 | table[class=body] .article { |
48 | | - padding: 10px !important; |
49 | | - } |
| 27 | + padding: 10px !important; } |
50 | 28 | table[class=body] .content { |
51 | | - padding: 0 !important; |
52 | | - } |
| 29 | + padding: 0 !important; } |
53 | 30 | table[class=body] .container { |
54 | 31 | padding: 0 !important; |
55 | | - width: 100% !important; |
56 | | - } |
57 | | - table[class=body] .header { |
58 | | - margin-bottom: 10px !important; |
59 | | - } |
| 32 | + width: 100% !important; } |
60 | 33 | table[class=body] .main { |
61 | 34 | border-left-width: 0 !important; |
62 | 35 | border-radius: 0 !important; |
63 | | - border-right-width: 0 !important; |
64 | | - } |
| 36 | + border-right-width: 0 !important; } |
65 | 37 | table[class=body] .btn table { |
66 | | - width: 100% !important; |
67 | | - } |
| 38 | + width: 100% !important; } |
68 | 39 | table[class=body] .btn a { |
69 | | - width: 100% !important; |
70 | | - } |
| 40 | + width: 100% !important; } |
71 | 41 | table[class=body] .img-responsive { |
72 | 42 | height: auto !important; |
73 | 43 | max-width: 100% !important; |
74 | | - width: auto !important; |
75 | | - } |
76 | | - table[class=body] .alert td { |
77 | | - border-radius: 0 !important; |
78 | | - padding: 10px !important; |
79 | | - } |
80 | | - table[class=body] .span-2, |
81 | | - table[class=body] .span-3 { |
82 | | - max-width: none !important; |
83 | | - width: 100% !important; |
84 | | - } |
85 | | - table[class=body] .receipt { |
86 | | - width: 100% !important; |
87 | | - } |
88 | | - } |
89 | | - |
| 44 | + width: auto !important; }} |
| 45 | + /* ------------------------------------- |
| 46 | + PRESERVE THESE STYLES IN THE HEAD |
| 47 | + ------------------------------------- */ |
90 | 48 | @media all { |
91 | 49 | .ExternalClass { |
92 | | - width: 100%; |
93 | | - } |
| 50 | + width: 100%; } |
94 | 51 | .ExternalClass, |
95 | 52 | .ExternalClass p, |
96 | 53 | .ExternalClass span, |
97 | 54 | .ExternalClass font, |
98 | 55 | .ExternalClass td, |
99 | 56 | .ExternalClass div { |
100 | | - line-height: 100%; |
101 | | - } |
| 57 | + line-height: 100%; } |
102 | 58 | .apple-link a { |
103 | 59 | color: inherit !important; |
104 | 60 | font-family: inherit !important; |
105 | 61 | font-size: inherit !important; |
106 | 62 | font-weight: inherit !important; |
107 | 63 | line-height: inherit !important; |
108 | | - text-decoration: none !important; |
109 | | - } |
110 | | - } |
| 64 | + text-decoration: none !important; } |
| 65 | + .btn-primary table td:hover { |
| 66 | + background-color: #34495e !important; } |
| 67 | + .btn-primary a:hover { |
| 68 | + background-color: #34495e !important; |
| 69 | + border-color: #34495e !important; } } |
111 | 70 | </style> |
112 | 71 | </head> |
113 | | - <body class="" style="font-family: sans-serif; -webkit-font-smoothing: antialiased; font-size: 14px; line-height: 1.4; -ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%; background-color: #f6f6f6; margin: 0; padding: 0;"> |
114 | | - <table border="0" cellpadding="0" cellspacing="0" class="body" style="border-collapse: separate; mso-table-lspace: 0pt; mso-table-rspace: 0pt; width: 100%; background-color: #f6f6f6;" width="100%" bgcolor="#f6f6f6"> |
| 72 | + <body class="" style="background-color:#f6f6f6;font-family:sans-serif;-webkit-font-smoothing:antialiased;font-size:14px;line-height:1.4;margin:0;padding:0;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;"> |
| 73 | + <table border="0" cellpadding="0" cellspacing="0" class="body" style="border-collapse:separate;mso-table-lspace:0pt;mso-table-rspace:0pt;background-color:#f6f6f6;width:100%;"> |
115 | 74 | <tr> |
116 | | - <td style="font-family: sans-serif; font-size: 14px; vertical-align: top;" valign="top"> </td> |
117 | | - <td class="container" style="font-family: sans-serif; font-size: 14px; vertical-align: top; display: block; Margin: 0 auto !important; max-width: 580px; padding: 10px; width: 580px;" width="580" valign="top"> |
118 | | - <div class="content" style="box-sizing: border-box; display: block; Margin: 0 auto; max-width: 580px; padding: 10px;"> |
119 | | - |
| 75 | + <td style="font-family:sans-serif;font-size:14px;vertical-align:top;"> </td> |
| 76 | + <td class="container" style="font-family:sans-serif;font-size:14px;vertical-align:top;display:block;max-width:580px;padding:10px;width:580px;Margin:0 auto !important;"> |
| 77 | + <div class="content" style="box-sizing:border-box;display:block;Margin:0 auto;max-width:580px;padding:10px;"> |
120 | 78 | <!-- START CENTERED WHITE CONTAINER --> |
121 | | - <span class="preheader" style="color: transparent; display: none; height: 0; max-height: 0; max-width: 0; opacity: 0; overflow: hidden; mso-hide: all; visibility: hidden; width: 0;">This is preheader text. Some clients will show this text as a preview.</span> |
122 | | - <table class="main" style="border-collapse: separate; mso-table-lspace: 0pt; mso-table-rspace: 0pt; width: 100%; background: #fff; border-radius: 3px;" width="100%"> |
123 | | - |
| 79 | + <span class="preheader" style="color:transparent;display:none;height:0;max-height:0;max-width:0;opacity:0;overflow:hidden;mso-hide:all;visibility:hidden;width:0;">This is preheader text. Some clients will show this text as a preview.</span> |
| 80 | + <table class="main" style="border-collapse:separate;mso-table-lspace:0pt;mso-table-rspace:0pt;background:#fff;border-radius:3px;width:100%;"> |
124 | 81 | <!-- START MAIN CONTENT AREA --> |
125 | 82 | <tr> |
126 | | - <td class="wrapper" style="font-family: sans-serif; font-size: 14px; vertical-align: top; box-sizing: border-box; padding: 20px;" valign="top"> |
127 | | - <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: separate; mso-table-lspace: 0pt; mso-table-rspace: 0pt; width: 100%;" width="100%"> |
| 83 | + <td class="wrapper" style="font-family:sans-serif;font-size:14px;vertical-align:top;box-sizing:border-box;padding:20px;"> |
| 84 | + <table border="0" cellpadding="0" cellspacing="0" style="border-collapse:separate;mso-table-lspace:0pt;mso-table-rspace:0pt;width:100%;"> |
128 | 85 | <tr> |
129 | | - <td style="font-family: sans-serif; font-size: 14px; vertical-align: top;" valign="top"> |
130 | | - <p style="font-family: sans-serif; font-size: 14px; font-weight: normal; margin: 0; Margin-bottom: 15px;">Hi there,</p> |
131 | | - <p style="font-family: sans-serif; font-size: 14px; font-weight: normal; margin: 0; Margin-bottom: 15px;">Sometimes you just want to send a simple HTML email with a simple design and clear call to action. This is it.</p> |
132 | | - <table border="0" cellpadding="0" cellspacing="0" class="btn btn-primary" style="border-collapse: separate; mso-table-lspace: 0pt; mso-table-rspace: 0pt; width: 100%; box-sizing: border-box;" width="100%"> |
| 86 | + <td style="font-family:sans-serif;font-size:14px;vertical-align:top;"> |
| 87 | + <p style="font-family:sans-serif;font-size:14px;font-weight:normal;margin:0;Margin-bottom:15px;">Hi there,</p> |
| 88 | + <p style="font-family:sans-serif;font-size:14px;font-weight:normal;margin:0;Margin-bottom:15px;">Sometimes you just want to send a simple HTML email with a simple design and clear call to action. This is it.</p> |
| 89 | + <table border="0" cellpadding="0" cellspacing="0" class="btn btn-primary" style="border-collapse:separate;mso-table-lspace:0pt;mso-table-rspace:0pt;box-sizing:border-box;width:100%;"> |
133 | 90 | <tbody> |
134 | 91 | <tr> |
135 | | - <td align="left" style="font-family: sans-serif; font-size: 14px; vertical-align: top; padding-bottom: 15px;" valign="top"> |
136 | | - <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: separate; mso-table-lspace: 0pt; mso-table-rspace: 0pt; width: auto;"> |
| 92 | + <td align="left" style="font-family:sans-serif;font-size:14px;vertical-align:top;padding-bottom:15px;"> |
| 93 | + <table border="0" cellpadding="0" cellspacing="0" style="border-collapse:separate;mso-table-lspace:0pt;mso-table-rspace:0pt;width:100%;width:auto;"> |
137 | 94 | <tbody> |
138 | 95 | <tr> |
139 | | - <td style="font-family: sans-serif; font-size: 14px; vertical-align: top; background-color: #3498db; border-radius: 5px; text-align: center;" valign="top" bgcolor="#3498db" align="center"> <a href="http://htmlemail.io" target="_blank" style="display: inline-block; color: #ffffff; background-color: #3498db; border: solid 1px #3498db; border-radius: 5px; box-sizing: border-box; cursor: pointer; text-decoration: none; font-size: 14px; font-weight: bold; margin: 0; padding: 12px 25px; text-transform: capitalize; border-color: #3498db;">Call To Action</a> </td> |
| 96 | + <td style="font-family:sans-serif;font-size:14px;vertical-align:top;background-color:#ffffff;border-radius:5px;text-align:center;background-color:#3498db;"> <a href="http://htmlemail.io" target="_blank" style="text-decoration:underline;background-color:#ffffff;border:solid 1px #3498db;border-radius:5px;box-sizing:border-box;color:#3498db;cursor:pointer;display:inline-block;font-size:14px;font-weight:bold;margin:0;padding:12px 25px;text-decoration:none;text-transform:capitalize;background-color:#3498db;border-color:#3498db;color:#ffffff;">Call To Action</a> </td> |
140 | 97 | </tr> |
141 | 98 | </tbody> |
142 | 99 | </table> |
143 | 100 | </td> |
144 | 101 | </tr> |
145 | 102 | </tbody> |
146 | 103 | </table> |
147 | | - <p style="font-family: sans-serif; font-size: 14px; font-weight: normal; margin: 0; Margin-bottom: 15px;">This is a really simple email template. It's sole purpose is to get the recipient to click the button with no distractions.</p> |
148 | | - <p style="font-family: sans-serif; font-size: 14px; font-weight: normal; margin: 0; Margin-bottom: 15px;">Good luck! Hope it works.</p> |
| 104 | + <p style="font-family:sans-serif;font-size:14px;font-weight:normal;margin:0;Margin-bottom:15px;">This is a really simple email template. Its sole purpose is to get the recipient to click the button with no distractions.</p> |
| 105 | + <p style="font-family:sans-serif;font-size:14px;font-weight:normal;margin:0;Margin-bottom:15px;">Good luck! Hope it works.</p> |
149 | 106 | </td> |
150 | 107 | </tr> |
151 | 108 | </table> |
152 | 109 | </td> |
153 | 110 | </tr> |
154 | | - |
155 | 111 | <!-- END MAIN CONTENT AREA --> |
156 | | - </table> |
157 | | - |
| 112 | + </table> |
158 | 113 | <!-- START FOOTER --> |
159 | | - <div class="footer" style="clear: both; padding-top: 10px; text-align: center; width: 100%;"> |
160 | | - <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: separate; mso-table-lspace: 0pt; mso-table-rspace: 0pt; width: 100%;" width="100%"> |
| 114 | + <div class="footer" style="clear:both;padding-top:10px;text-align:center;width:100%;"> |
| 115 | + <table border="0" cellpadding="0" cellspacing="0" style="border-collapse:separate;mso-table-lspace:0pt;mso-table-rspace:0pt;width:100%;"> |
161 | 116 | <tr> |
162 | | - <td class="content-block" style="font-family: sans-serif; vertical-align: top; padding-top: 10px; padding-bottom: 10px; font-size: 12px; color: #999999; text-align: center;" valign="top" align="center"> |
163 | | - <span class="apple-link" style="color: #999999; font-size: 12px; text-align: center;">Company Inc, 3 Abbey Road, San Francisco CA 94102</span> |
164 | | - <br> Don't like these emails? <a href="http://i.imgur.com/CScmqnj.gif" style="text-decoration: underline; color: #999999; font-size: 12px; text-align: center;">Unsubscribe</a>. |
| 117 | + <td class="content-block" style="font-family:sans-serif;font-size:14px;vertical-align:top;color:#999999;font-size:12px;text-align:center;"> |
| 118 | + <span class="apple-link" style="color:#999999;font-size:12px;text-align:center;">Company Inc, 3 Abbey Road, San Francisco CA 94102</span> |
| 119 | + <br> |
| 120 | + Don't like these emails? <a href="http://i.imgur.com/CScmqnj.gif" style="color:#3498db;text-decoration:underline;color:#999999;font-size:12px;text-align:center;">Unsubscribe</a>. |
165 | 121 | </td> |
166 | 122 | </tr> |
167 | 123 | <tr> |
168 | | - <td class="content-block powered-by" style="font-family: sans-serif; vertical-align: top; padding-top: 10px; padding-bottom: 10px; font-size: 12px; color: #999999; text-align: center;" valign="top" align="center"> |
169 | | - Powered by <a href="http://htmlemail.io" style="color: #999999; font-size: 12px; text-align: center; text-decoration: none;">HTMLemail</a>. |
| 124 | + <td class="content-block powered-by" style="font-family:sans-serif;font-size:14px;vertical-align:top;color:#999999;font-size:12px;text-align:center;"> |
| 125 | + Powered by <a href="http://htmlemail.io" style="color:#3498db;text-decoration:underline;color:#999999;font-size:12px;text-align:center;text-decoration:none;">HTMLemail</a>. |
170 | 126 | </td> |
171 | 127 | </tr> |
172 | 128 | </table> |
173 | 129 | </div> |
174 | | - |
175 | 130 | <!-- END FOOTER --> |
176 | | - |
177 | | -<!-- END CENTERED WHITE CONTAINER --></div> |
| 131 | + <!-- END CENTERED WHITE CONTAINER --> |
| 132 | + </div> |
178 | 133 | </td> |
179 | | - <td style="font-family: sans-serif; font-size: 14px; vertical-align: top;" valign="top"> </td> |
| 134 | + <td style="font-family:sans-serif;font-size:14px;vertical-align:top;"> </td> |
180 | 135 | </tr> |
181 | 136 | </table> |
182 | 137 | </body> |
|
0 commit comments