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.

206 lines
8.4 KiB

  1. <!DOCTYPE html>{% load humanize hc_extras %}
  2. <html>
  3. <head>
  4. <title>{% block title %}{% endblock %}</title>
  5. <meta charset="utf-8">
  6. <meta name="viewport" content="width=device-width, initial-scale=1">
  7. <meta http-equiv="X-UA-Compatible" content="IE=edge" />
  8. <style type="text/css">
  9. /* CLIENT-SPECIFIC STYLES */
  10. body, table, td, a{-webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%;} /* Prevent WebKit and Windows mobile changing default text sizes */
  11. table, td{mso-table-lspace: 0pt; mso-table-rspace: 0pt;} /* Remove spacing between tables in Outlook 2007 and up */
  12. img{-ms-interpolation-mode: bicubic;} /* Allow smoother rendering of resized image in Internet Explorer */
  13. /* RESET STYLES */
  14. img{border: 0; height: auto; line-height: 100%; outline: none; text-decoration: none;}
  15. table{border-collapse: collapse !important;}
  16. body{height: 100% !important; margin: 0 !important; padding: 0 !important; width: 100% !important;}
  17. /* iOS BLUE LINKS */
  18. a[x-apple-data-detectors] {
  19. color: inherit !important;
  20. text-decoration: none !important;
  21. font-size: inherit !important;
  22. font-family: inherit !important;
  23. font-weight: inherit !important;
  24. line-height: inherit !important;
  25. }
  26. /* MOBILE STYLES */
  27. @media screen and (max-width: 525px) {
  28. /* ALLOWS FOR FLUID TABLES */
  29. .wrapper {
  30. width: 100% !important;
  31. max-width: 100% !important;
  32. }
  33. /* ADJUSTS LAYOUT OF LOGO IMAGE */
  34. .logo img {
  35. margin: 0 auto !important;
  36. }
  37. /* USE THESE CLASSES TO HIDE CONTENT ON MOBILE */
  38. .mobile-hide {
  39. display: none !important;
  40. }
  41. .img-max {
  42. max-width: 100% !important;
  43. width: 100% !important;
  44. height: auto !important;
  45. }
  46. /* FULL-WIDTH TABLES */
  47. .responsive-table {
  48. width: 100% !important;
  49. }
  50. /* UTILITY CLASSES FOR ADJUSTING PADDING ON MOBILE */
  51. .padding {
  52. padding: 10px 5% 15px 5% !important;
  53. }
  54. .padding-meta {
  55. padding: 30px 5% 0px 5% !important;
  56. text-align: center;
  57. }
  58. .no-padding {
  59. padding: 0 !important;
  60. }
  61. .section-padding {
  62. padding: 50px 15px 50px 15px !important;
  63. }
  64. /* ADJUST BUTTONS ON MOBILE */
  65. .mobile-button-container {
  66. margin: 0 auto;
  67. width: 100% !important;
  68. }
  69. .mobile-button {
  70. padding: 15px !important;
  71. border: 0 !important;
  72. font-size: 16px !important;
  73. display: block !important;
  74. }
  75. }
  76. /* ANDROID CENTER FIX */
  77. div[style*="margin: 16px 0;"] { margin: 0 !important; }
  78. </style>
  79. </head>
  80. <body style="margin: 0 !important; padding: 0 !important;">
  81. <table border="0" cellpadding="0" cellspacing="0" width="100%">
  82. <tr>
  83. <td bgcolor="#F2F4F6" align="center">
  84. <!--[if (gte mso 9)|(IE)]>
  85. <table align="center" border="0" cellspacing="0" cellpadding="0" width="600">
  86. <tr>
  87. <td align="center" valign="top" width="600">
  88. <![endif]-->
  89. <table border="0" cellpadding="0" cellspacing="0" width="100%" style="max-width: 600px;" class="wrapper">
  90. <tr>
  91. <td align="center" valign="top" style="padding: 15px 0;" class="logo">
  92. <img alt="Logo" src="{% site_root %}/static/img/[email protected]" width="200" height="50" style="display: block; font-family: Helvetica, Arial, sans-serif; color: #ffffff; font-size: 16px;" border="0">
  93. </td>
  94. </tr>
  95. </table>
  96. <!--[if (gte mso 9)|(IE)]>
  97. </td>
  98. </tr>
  99. </table>
  100. <![endif]-->
  101. </td>
  102. </tr>
  103. <tr>
  104. <td bgcolor="#ffffff" align="center" style="padding: 50px 15px 70px 15px;" class="section-padding">
  105. <!--[if (gte mso 9)|(IE)]>
  106. <table align="center" border="0" cellspacing="0" cellpadding="0" width="600">
  107. <tr>
  108. <td align="center" valign="top" width="600">
  109. <![endif]-->
  110. <table border="0" cellpadding="0" cellspacing="0" width="100%" style="max-width: 600px;" class="responsive-table">
  111. <tr>
  112. <td>
  113. <!-- HERO IMAGE -->
  114. <table width="100%" border="0" cellspacing="0" cellpadding="0">
  115. <tr>
  116. <td>
  117. <table width="100%" border="0" cellspacing="0" cellpadding="0">
  118. <tr>
  119. <td style="padding: 0; font-size: 16px; line-height: 25px; font-family: Helvetica, Arial, sans-serif; color: #666666;" class="padding">
  120. {% block content %}{% endblock %}
  121. </td>
  122. </tr>
  123. </table>
  124. </td>
  125. </tr>
  126. {% if button_text %}
  127. <tr>
  128. <td align="center">
  129. <table width="100%" border="0" cellspacing="0" cellpadding="0">
  130. <tr>
  131. <td align="center" style="padding-top: 25px; padding-bottom: 15px;" class="padding">
  132. <table border="0" cellspacing="0" cellpadding="0" class="mobile-button-container">
  133. <tr>
  134. <td align="center" style="border-radius: 3px;" bgcolor="#22BC66"><a href="{{ button_url }}" target="_blank" style="font-size: 16px; font-family: Helvetica, Arial, sans-serif; color: #ffffff; text-decoration: none; color: #ffffff; text-decoration: none; border-radius: 3px; padding: 15px 25px; border: 1px solid #22BC66; display: inline-block;" class="mobile-button">{{ button_text }}</a></td>
  135. </tr>
  136. </table>
  137. </td>
  138. </tr>
  139. </table>
  140. </td>
  141. </tr>
  142. {% endif %}
  143. <tr>
  144. <td>
  145. <table width="100%" border="0" cellspacing="0" cellpadding="0">
  146. <tr>
  147. <td style="padding: 0; font-size: 16px; line-height: 25px; font-family: Helvetica, Arial, sans-serif; color: #666666;" class="padding">
  148. {% block content_more %}{% endblock %}
  149. </td>
  150. </tr>
  151. </table>
  152. </td>
  153. </tr>
  154. </table>
  155. </td>
  156. </tr>
  157. </table>
  158. <!--[if (gte mso 9)|(IE)]>
  159. </td>
  160. </tr>
  161. </table>
  162. <![endif]-->
  163. </td>
  164. </tr>
  165. <tr>
  166. <td bgcolor="#ffffff" align="center" style="padding: 20px 0px;">
  167. <!--[if (gte mso 9)|(IE)]>
  168. <table align="center" border="0" cellspacing="0" cellpadding="0" width="600">
  169. <tr>
  170. <td align="center" valign="top" width="600">
  171. <![endif]-->
  172. <table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" style="max-width: 600px;" class="responsive-table">
  173. <tr>
  174. <td align="center" style="font-size: 12px; line-height: 18px; font-family: Helvetica, Arial, sans-serif; color:#666666;">
  175. © 2020 {% site_name %}. All rights reserved.
  176. {% block unsub %}{% endblock %}
  177. </td>
  178. </tr>
  179. </table>
  180. <!--[if (gte mso 9)|(IE)]>
  181. </td>
  182. </tr>
  183. </table>
  184. <![endif]-->
  185. </td>
  186. </tr>
  187. </table>
  188. </body>
  189. </html>