You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

304 lines
12 KiB

  1. <!DOCTYPE html>
  2. <html lang="en" xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office">
  3. <head>
  4. <meta charset="utf-8"> <!-- utf-8 works for most cases -->
  5. <meta name="viewport" content="width=device-width"> <!-- Forcing initial-scale shouldn't be necessary -->
  6. <meta http-equiv="X-UA-Compatible" content="IE=edge"> <!-- Use the latest (edge) version of IE rendering engine -->
  7. <meta name="x-apple-disable-message-reformatting"> <!-- Disable auto-scale in iOS 10 Mail entirely -->
  8. <title></title> <!-- The title tag shows in email notifications, like Android 4.4. -->
  9. <!-- Web Font / @font-face : BEGIN -->
  10. <!-- NOTE: If web fonts are not required, lines 10 - 27 can be safely removed. -->
  11. <!-- Desktop Outlook chokes on web font references and defaults to Times New Roman, so we force a safe fallback font. -->
  12. <!--[if mso]>
  13. <style>
  14. * {
  15. font-family: sans-serif !important;
  16. }
  17. </style>
  18. <![endif]-->
  19. <!-- All other clients get the webfont reference; some will render the font and others will silently fail to the fallbacks. More on that here: http://stylecampaign.com/blog/2015/02/webfont-support-in-email/ -->
  20. <!--[if !mso]><!-->
  21. <!-- insert web font reference, eg: <link href='https://fonts.googleapis.com/css?family=Roboto:400,700' rel='stylesheet' type='text/css'> -->
  22. <!--<![endif]-->
  23. <!-- Web Font / @font-face : END -->
  24. <!-- CSS Reset : BEGIN -->
  25. <style>
  26. /* What it does: Remove spaces around the email design added by some email clients. */
  27. /* Beware: It can remove the padding / margin and add a background color to the compose a reply window. */
  28. html,
  29. body {
  30. margin: 0 auto !important;
  31. padding: 0 !important;
  32. height: 100% !important;
  33. width: 100% !important;
  34. }
  35. /* What it does: Stops email clients resizing small text. */
  36. * {
  37. -ms-text-size-adjust: 100%;
  38. -webkit-text-size-adjust: 100%;
  39. }
  40. /* What it does: Centers email on Android 4.4 */
  41. div[style*="margin: 16px 0"] {
  42. margin: 0 !important;
  43. }
  44. /* What it does: Stops Outlook from adding extra spacing to tables. */
  45. table,
  46. td {
  47. mso-table-lspace: 0pt !important;
  48. mso-table-rspace: 0pt !important;
  49. }
  50. /* What it does: Fixes webkit padding issue. Fix for Yahoo mail table alignment bug. Applies table-layout to the first 2 tables then removes for anything nested deeper. */
  51. table {
  52. border-spacing: 0 !important;
  53. border-collapse: collapse !important;
  54. table-layout: fixed !important;
  55. margin: 0 auto !important;
  56. }
  57. table table table {
  58. table-layout: auto;
  59. }
  60. /* What it does: Uses a better rendering method when resizing images in IE. */
  61. img {
  62. -ms-interpolation-mode:bicubic;
  63. }
  64. /* What it does: Prevents Windows 10 Mail from underlining links despite inline CSS. Styles for underlined links should be inline. */
  65. a {
  66. text-decoration: none;
  67. }
  68. /* What it does: A work-around for email clients meddling in triggered links. */
  69. *[x-apple-data-detectors], /* iOS */
  70. .unstyle-auto-detected-links *,
  71. .aBn {
  72. border-bottom: 0 !important;
  73. cursor: default !important;
  74. color: inherit !important;
  75. text-decoration: none !important;
  76. font-size: inherit !important;
  77. font-family: inherit !important;
  78. font-weight: inherit !important;
  79. line-height: inherit !important;
  80. }
  81. /* What it does: Prevents Gmail from displaying a download button on large, non-linked images. */
  82. .a6S {
  83. display: none !important;
  84. opacity: 0.01 !important;
  85. }
  86. /* What it does: Prevents Gmail from changing the text color in conversation threads. */
  87. .im {
  88. color: inherit !important;
  89. }
  90. /* If the above doesn't work, add a .g-img class to any image in question. */
  91. img.g-img + div {
  92. display: none !important;
  93. }
  94. /* What it does: Removes right gutter in Gmail iOS app: https://github.com/TedGoas/Cerberus/issues/89 */
  95. /* Create one of these media queries for each additional viewport size you'd like to fix */
  96. /* iPhone 4, 4S, 5, 5S, 5C, and 5SE */
  97. @media only screen and (min-device-width: 320px) and (max-device-width: 374px) {
  98. u ~ div .email-container {
  99. min-width: 320px !important;
  100. }
  101. }
  102. /* iPhone 6, 6S, 7, 8, and X */
  103. @media only screen and (min-device-width: 375px) and (max-device-width: 413px) {
  104. u ~ div .email-container {
  105. min-width: 375px !important;
  106. }
  107. }
  108. /* iPhone 6+, 7+, and 8+ */
  109. @media only screen and (min-device-width: 414px) {
  110. u ~ div .email-container {
  111. min-width: 414px !important;
  112. }
  113. }
  114. </style>
  115. <!-- CSS Reset : END -->
  116. <!-- Reset list spacing because Outlook ignores much of our inline CSS. -->
  117. <!--[if mso]>
  118. <style type="text/css">
  119. ul,
  120. ol {
  121. margin: 0 !important;
  122. }
  123. li {
  124. margin-left: 30px !important;
  125. }
  126. li.list-item-first {
  127. margin-top: 0 !important;
  128. }
  129. li.list-item-last {
  130. margin-bottom: 10px !important;
  131. }
  132. </style>
  133. <![endif]-->
  134. <!-- Progressive Enhancements : BEGIN -->
  135. <style>
  136. /* What it does: Hover styles for buttons */
  137. .button-td,
  138. .button-a {
  139. transition: all 100ms ease-in;
  140. }
  141. .button-td-primary:hover,
  142. .button-a-primary:hover {
  143. background: #1976d2 !important;
  144. border-color: #1976d2 !important;
  145. }
  146. /* Media Queries */
  147. @media screen and (max-width: 600px) {
  148. /* What it does: Adjust typography on small screens to improve readability */
  149. .email-container p {
  150. font-size: 17px !important;
  151. }
  152. }
  153. </style>
  154. <!-- Progressive Enhancements : END -->
  155. <!-- What it does: Makes background images in 72ppi Outlook render at correct size. -->
  156. <!--[if gte mso 9]>
  157. <xml>
  158. <o:OfficeDocumentSettings>
  159. <o:AllowPNG/>
  160. <o:PixelsPerInch>96</o:PixelsPerInch>
  161. </o:OfficeDocumentSettings>
  162. </xml>
  163. <![endif]-->
  164. </head>
  165. <!--
  166. The email background color (#222222) is defined in three places:
  167. 1. body tag: for most email clients
  168. 2. center tag: for Gmail and Inbox mobile apps and web versions of Gmail, GSuite, Inbox, Yahoo, AOL, Libero, Comcast, freenet, Mail.ru, Orange.fr
  169. 3. mso conditional: For Windows 10 Mail
  170. -->
  171. <body width="100%" style="margin: 0; padding: 0 !important; mso-line-height-rule: exactly; background-color: #EEE;">
  172. <center style="width: 100%; background-color: #EEE;">
  173. <!--[if mso | IE]>
  174. <table role="presentation" border="0" cellpadding="0" cellspacing="0" width="100%" style="background-color: #222222;">
  175. <tr>
  176. <td>
  177. <![endif]-->
  178. <!-- Visually Hidden Preheader Text : BEGIN -->
  179. <div style="display: none; font-size: 1px; line-height: 1px; max-height: 0px; max-width: 0px; opacity: 0; overflow: hidden; mso-hide: all; font-family: sans-serif;">
  180. <%= preheadertext %>
  181. </div>
  182. <!-- Visually Hidden Preheader Text : END -->
  183. <!-- Create white space after the desired preview text so email clients don’t pull other distracting text into the inbox preview. Extend as necessary. -->
  184. <!-- Preview Text Spacing Hack : BEGIN -->
  185. <div style="display: none; font-size: 1px; line-height: 1px; max-height: 0px; max-width: 0px; opacity: 0; overflow: hidden; mso-hide: all; font-family: sans-serif;">
  186. &zwnj;&nbsp;&zwnj;&nbsp;&zwnj;&nbsp;&zwnj;&nbsp;&zwnj;&nbsp;&zwnj;&nbsp;&zwnj;&nbsp;&zwnj;&nbsp;&zwnj;&nbsp;&zwnj;&nbsp;&zwnj;&nbsp;&zwnj;&nbsp;&zwnj;&nbsp;&zwnj;&nbsp;&zwnj;&nbsp;&zwnj;&nbsp;&zwnj;&nbsp;&zwnj;&nbsp;
  187. </div>
  188. <!-- Preview Text Spacing Hack : END -->
  189. <!--
  190. Set the email width. Defined in two places:
  191. 1. max-width for all clients except Desktop Windows Outlook, allowing the email to squish on narrow but never go wider than 600px.
  192. 2. MSO tags for Desktop Windows Outlook enforce a 600px width.
  193. -->
  194. <div style="max-width: 600px; margin: 0 auto;" class="email-container">
  195. <!--[if mso]>
  196. <table align="center" role="presentation" cellspacing="0" cellpadding="0" border="0" width="600">
  197. <tr>
  198. <td>
  199. <![endif]-->
  200. <!-- Email Body : BEGIN -->
  201. <table align="center" role="presentation" cellspacing="0" cellpadding="0" border="0" width="100%" style="margin: 0 auto;">
  202. <!-- Email Header : BEGIN -->
  203. <tr>
  204. <td style="padding: 20px 0; text-align: center">
  205. <img src="<%= logo %>" height="50" alt="<%= siteTitle %>" border="0" style="width: auto; background: #dddddd; font-family: sans-serif; font-size: 15px; line-height: 15px; color: #555555;">
  206. </td>
  207. </tr>
  208. <!-- Email Header : END -->
  209. <!-- Hero Image, Flush : BEGIN -->
  210. <tr>
  211. <td style="background-color: #ffffff;">
  212. <img src="https://static.requarks.io/email/email-cover-book.jpg" width="600" height="" alt="<%= title %>" border="0" style="width: 100%; max-width: 600px; height: auto; background: #dddddd; font-family: sans-serif; font-size: 15px; line-height: 15px; color: #555555; margin: auto;" class="g-img">
  213. </td>
  214. </tr>
  215. <!-- Hero Image, Flush : END -->
  216. <!-- 1 Column Text + Button : BEGIN -->
  217. <tr>
  218. <td style="background-color: #ffffff;">
  219. <table role="presentation" cellspacing="0" cellpadding="0" border="0" width="100%">
  220. <tr>
  221. <td style="padding: 20px; font-family: sans-serif; font-size: 15px; line-height: 20px; color: #555555;">
  222. <h1 style="margin: 0 0 10px 0; font-family: sans-serif; font-size: 25px; line-height: 30px; color: #333333; font-weight: normal;"><%= title %></h1>
  223. <p style="margin: 0;"><%= content %></p>
  224. </td>
  225. </tr>
  226. <tr>
  227. <td style="padding: 0 20px 20px 20px;">
  228. <!-- Button : BEGIN -->
  229. <table align="center" role="presentation" cellspacing="0" cellpadding="0" border="0" style="margin: auto;">
  230. <tr>
  231. <td class="button-td button-td-primary" style="border-radius: 4px; background: #1976d2;">
  232. <a class="button-a button-a-primary" href="<%= buttonLink %>" style="background: #1976d2; border: 1px solid #1976d2; font-family: sans-serif; font-size: 15px; line-height: 15px; text-decoration: none; padding: 13px 17px; color: #ffffff; display: block; border-radius: 4px;"><%= buttonText %></a>
  233. </td>
  234. </tr>
  235. </table>
  236. <!-- Button : END -->
  237. </td>
  238. </tr>
  239. </table>
  240. </td>
  241. </tr>
  242. <!-- 1 Column Text + Button : END -->
  243. </table>
  244. <!-- Email Body : END -->
  245. <!-- Email Footer : BEGIN -->
  246. <table align="center" role="presentation" cellspacing="0" cellpadding="0" border="0" width="100%" style="margin: 0 auto;">
  247. <tr>
  248. <td style="padding: 20px; font-family: sans-serif; font-size: 12px; line-height: 15px; text-align: center; color: #888888;">
  249. <%= copyright %>
  250. </td>
  251. </tr>
  252. </table>
  253. <!-- Email Footer : END -->
  254. <!--[if mso]>
  255. </td>
  256. </tr>
  257. </table>
  258. <![endif]-->
  259. </div>
  260. <!--[if mso | IE]>
  261. </td>
  262. </tr>
  263. </table>
  264. <![endif]-->
  265. </center>
  266. </body>
  267. </html>