|
| 1 | +<!doctype html> |
| 2 | +<html lang="en"> |
| 3 | + |
| 4 | +<head> |
| 5 | + <meta name="viewport" content="width=device-width, initial-scale=1.0"> |
| 6 | + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| 7 | + <title>{{ title }}</title> |
| 8 | + <style media="all" type="text/css"> |
| 9 | + @media all { |
| 10 | + .btn-primary table td:hover { |
| 11 | + background-color: #ec0867 !important; |
| 12 | + } |
| 13 | + |
| 14 | + .btn-primary a:hover { |
| 15 | + background-color: #ec0867 !important; |
| 16 | + border-color: #ec0867 !important; |
| 17 | + } |
| 18 | + } |
| 19 | + |
| 20 | + @media only screen and (max-width: 640px) { |
| 21 | + |
| 22 | + .main p, |
| 23 | + .main td, |
| 24 | + .main span { |
| 25 | + font-size: 16px !important; |
| 26 | + } |
| 27 | + |
| 28 | + .wrapper { |
| 29 | + padding: 8px !important; |
| 30 | + } |
| 31 | + |
| 32 | + .content { |
| 33 | + padding: 0 !important; |
| 34 | + } |
| 35 | + |
| 36 | + .container { |
| 37 | + padding: 0 !important; |
| 38 | + padding-top: 8px !important; |
| 39 | + width: 100% !important; |
| 40 | + } |
| 41 | + |
| 42 | + .main { |
| 43 | + border-left-width: 0 !important; |
| 44 | + border-radius: 0 !important; |
| 45 | + border-right-width: 0 !important; |
| 46 | + } |
| 47 | + |
| 48 | + .btn table { |
| 49 | + max-width: 100% !important; |
| 50 | + width: 100% !important; |
| 51 | + } |
| 52 | + |
| 53 | + .btn a { |
| 54 | + font-size: 16px !important; |
| 55 | + max-width: 100% !important; |
| 56 | + width: 100% !important; |
| 57 | + } |
| 58 | + } |
| 59 | + |
| 60 | + @media all { |
| 61 | + .ExternalClass { |
| 62 | + width: 100%; |
| 63 | + } |
| 64 | + |
| 65 | + .ExternalClass, |
| 66 | + .ExternalClass p, |
| 67 | + .ExternalClass span, |
| 68 | + .ExternalClass font, |
| 69 | + .ExternalClass td, |
| 70 | + .ExternalClass div { |
| 71 | + line-height: 100%; |
| 72 | + } |
| 73 | + |
| 74 | + .apple-link a { |
| 75 | + color: inherit !important; |
| 76 | + font-family: inherit !important; |
| 77 | + font-size: inherit !important; |
| 78 | + font-weight: inherit !important; |
| 79 | + line-height: inherit !important; |
| 80 | + text-decoration: none !important; |
| 81 | + } |
| 82 | + |
| 83 | + #MessageViewBody a { |
| 84 | + color: inherit; |
| 85 | + text-decoration: none; |
| 86 | + font-size: inherit; |
| 87 | + font-family: inherit; |
| 88 | + font-weight: inherit; |
| 89 | + line-height: inherit; |
| 90 | + } |
| 91 | + } |
| 92 | + |
| 93 | + p { |
| 94 | + font-family: Helvetica, sans-serif; |
| 95 | + font-size: 16px; |
| 96 | + font-weight: normal; |
| 97 | + margin: 0; |
| 98 | + margin-bottom: 16px; |
| 99 | + } |
| 100 | + </style> |
| 101 | +</head> |
| 102 | + |
| 103 | +<body |
| 104 | + style="font-family: Helvetica, sans-serif; -webkit-font-smoothing: antialiased; font-size: 16px; line-height: 1.3; -ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%; background-color: #f4f5f6; margin: 0; padding: 0;"> |
| 105 | + <table role="presentation" border="0" cellpadding="0" cellspacing="0" class="body" |
| 106 | + style="border-collapse: separate; mso-table-lspace: 0pt; mso-table-rspace: 0pt; background-color: #f4f5f6; width: 100%;" |
| 107 | + width="100%" bgcolor="#f4f5f6"> |
| 108 | + <tr> |
| 109 | + <td style="font-family: Helvetica, sans-serif; font-size: 16px; vertical-align: top;" valign="top"> |
| 110 | + </td> |
| 111 | + <td class="container" |
| 112 | + style="font-family: Helvetica, sans-serif; font-size: 16px; vertical-align: top; max-width: 600px; padding: 0; padding-top: 24px; width: 600px; margin: 0 auto;" |
| 113 | + width="600" valign="top"> |
| 114 | + <div class="content" |
| 115 | + style="box-sizing: border-box; display: block; margin: 0 auto; max-width: 600px; padding: 0;"> |
| 116 | + |
| 117 | + <!-- START CENTERED WHITE CONTAINER --> |
| 118 | + <!--span class="preheader" |
| 119 | + style="color: transparent; display: none; height: 0; max-height: 0; max-width: 0; opacity: 0; overflow: hidden; mso-hide: all; visibility: hidden; width: 0;">{{ |
| 120 | + text_preview }}</span--> |
| 121 | + <table role="presentation" border="0" cellpadding="0" cellspacing="0" class="main" |
| 122 | + style="border-collapse: separate; mso-table-lspace: 0pt; mso-table-rspace: 0pt; background: #ffffff; border: 1px solid #eaebed; border-radius: 16px; width: 100%;" |
| 123 | + width="100%"> |
| 124 | + |
| 125 | + <!-- START MAIN CONTENT AREA --> |
| 126 | + <tr> |
| 127 | + <td class="wrapper" |
| 128 | + style="font-family: Helvetica, sans-serif; font-size: 16px; vertical-align: top; box-sizing: border-box; padding: 24px;" |
| 129 | + valign="top"> |
| 130 | + {% block content %}{% endblock content %} |
| 131 | + </td> |
| 132 | + </tr> |
| 133 | + |
| 134 | + <!-- END MAIN CONTENT AREA --> |
| 135 | + </table> |
| 136 | + |
| 137 | + <!-- START FOOTER --> |
| 138 | + <!--div class="footer" style="clear: both; padding-top: 24px; text-align: center; width: 100%;"> |
| 139 | + <table role="presentation" border="0" cellpadding="0" cellspacing="0" style="border-collapse: separate; mso-table-lspace: 0pt; mso-table-rspace: 0pt; width: 100%;" width="100%"> |
| 140 | + <tr> |
| 141 | + <td class="content-block" style="font-family: Helvetica, sans-serif; vertical-align: top; color: #9a9ea6; font-size: 16px; text-align: center;" valign="top" align="center"> |
| 142 | + <span class="apple-link" style="color: #9a9ea6; font-size: 16px; text-align: center;">Company Inc, 7-11 Commercial Ct, Belfast BT1 2NB</span> |
| 143 | + <br> Don't like these emails? <a href="http://htmlemail.io/blog" style="text-decoration: underline; color: #9a9ea6; font-size: 16px; text-align: center;">Unsubscribe</a>. |
| 144 | + </td> |
| 145 | + </tr> |
| 146 | + <tr> |
| 147 | + <td class="content-block powered-by" style="font-family: Helvetica, sans-serif; vertical-align: top; color: #9a9ea6; font-size: 16px; text-align: center;" valign="top" align="center"> |
| 148 | + Powered by <a href="http://htmlemail.io" style="color: #9a9ea6; font-size: 16px; text-align: center; text-decoration: none;">HTMLemail.io</a> |
| 149 | + </td> |
| 150 | + </tr> |
| 151 | + </table> |
| 152 | + </div--> |
| 153 | + |
| 154 | + <!-- END FOOTER --> |
| 155 | + |
| 156 | + <!-- END CENTERED WHITE CONTAINER --> |
| 157 | + </div> |
| 158 | + </td> |
| 159 | + <td style="font-family: Helvetica, sans-serif; font-size: 16px; vertical-align: top;" valign="top"> |
| 160 | + </td> |
| 161 | + </tr> |
| 162 | + </table> |
| 163 | +</body> |
| 164 | + |
| 165 | +</html> |
0 commit comments