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.

222 lines
5.2 KiB

  1. {% load hc_extras %}
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml">
  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>{% block title %}{% endblock %}</title>
  8. <style type="text/css" rel="stylesheet" media="all">
  9. /* Base ------------------------------ */
  10. *:not(br):not(tr):not(html) {
  11. font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif;
  12. -webkit-box-sizing: border-box;
  13. box-sizing: border-box;
  14. }
  15. body {
  16. width: 100% !important;
  17. height: 100%;
  18. margin: 0;
  19. line-height: 1.4;
  20. background-color: #F2F4F6;
  21. color: #74787E;
  22. -webkit-text-size-adjust: none;
  23. }
  24. a {
  25. color: #3869D4;
  26. }
  27. a.neutral {
  28. color: #74787E;
  29. }
  30. /* Layout ------------------------------ */
  31. .email-wrapper {
  32. width: 100%;
  33. margin: 0;
  34. padding: 0;
  35. background-color: #F2F4F6;
  36. }
  37. .email-content {
  38. width: 100%;
  39. margin: 0;
  40. padding: 0;
  41. }
  42. /* Masthead ----------------------- */
  43. .email-masthead {
  44. padding: 25px 0;
  45. text-align: center;
  46. }
  47. .email-masthead_logo {
  48. max-width: 400px;
  49. border: 0;
  50. }
  51. .email-masthead_name {
  52. font-size: 16px;
  53. font-weight: bold;
  54. color: #bbbfc3;
  55. text-decoration: none;
  56. text-shadow: 0 1px 0 white;
  57. }
  58. /* Body ------------------------------ */
  59. .email-body {
  60. width: 100%;
  61. margin: 0;
  62. padding: 0;
  63. border-top: 1px solid #EDEFF2;
  64. border-bottom: 1px solid #EDEFF2;
  65. background-color: #FFF;
  66. }
  67. .email-body_inner {
  68. width: 570px;
  69. margin: 0 auto;
  70. padding: 0;
  71. }
  72. .email-footer {
  73. width: 570px;
  74. margin: 0 auto;
  75. padding: 0;
  76. text-align: center;
  77. }
  78. .email-footer p {
  79. color: #74787E;
  80. }
  81. .email-footer a {
  82. color: #74787E;
  83. }
  84. .body-action {
  85. width: 100%;
  86. margin: 30px auto;
  87. padding: 0;
  88. text-align: center;
  89. }
  90. .body-sub {
  91. margin-top: 25px;
  92. padding-top: 25px;
  93. border-top: 1px solid #EDEFF2;
  94. }
  95. .content-cell {
  96. padding: 35px;
  97. }
  98. .align-right {
  99. text-align: right;
  100. }
  101. /* Type ------------------------------ */
  102. h1 {
  103. margin-top: 0;
  104. color: #2F3133;
  105. font-size: 19px;
  106. font-weight: bold;
  107. text-align: left;
  108. }
  109. h2 {
  110. margin-top: 0;
  111. color: #2F3133;
  112. font-size: 16px;
  113. font-weight: bold;
  114. text-align: left;
  115. }
  116. h3 {
  117. margin-top: 0;
  118. color: #2F3133;
  119. font-size: 14px;
  120. font-weight: bold;
  121. text-align: left;
  122. }
  123. p {
  124. margin-top: 0;
  125. color: #74787E;
  126. font-size: 16px;
  127. line-height: 1.5em;
  128. text-align: left;
  129. }
  130. p.sub {
  131. font-size: 12px;
  132. }
  133. p.center {
  134. text-align: center;
  135. }
  136. /* Buttons ------------------------------ */
  137. .button {
  138. display: inline-block;
  139. width: 200px;
  140. background-color: #3869D4;
  141. border-radius: 3px;
  142. color: #ffffff;
  143. font-size: 15px;
  144. line-height: 45px;
  145. text-align: center;
  146. text-decoration: none;
  147. -webkit-text-size-adjust: none;
  148. mso-hide: all;
  149. }
  150. .button--green {
  151. background-color: #22BC66;
  152. }
  153. .button--red {
  154. background-color: #dc4d2f;
  155. }
  156. .button--blue {
  157. background-color: #3869D4;
  158. }
  159. /*Media Queries ------------------------------ */
  160. @media only screen and (max-width: 600px) {
  161. .email-body_inner,
  162. .email-footer {
  163. width: 100% !important;
  164. }
  165. }
  166. @media only screen and (max-width: 500px) {
  167. .button {
  168. width: 100% !important;
  169. }
  170. }
  171. </style>
  172. </head>
  173. <body>
  174. <table class="email-wrapper" width="100%" cellpadding="0" cellspacing="0">
  175. <tr>
  176. <td align="center">
  177. <table class="email-content" width="100%" cellpadding="0" cellspacing="0">
  178. <!-- Logo -->
  179. <tr>
  180. <td class="email-masthead">
  181. <img src="{% site_root %}/static/img/logo-full.png" alt="" />
  182. </td>
  183. </tr>
  184. <!-- Email Body -->
  185. <tr>
  186. <td class="email-body" width="100%">
  187. <table class="email-body_inner" align="center" width="570" cellpadding="0" cellspacing="0">
  188. <!-- Body content -->
  189. <tr>
  190. <td class="content-cell">
  191. {% block content %}{% endblock %}
  192. </td>
  193. </tr>
  194. </table>
  195. </td>
  196. </tr>
  197. <tr>
  198. <td>
  199. <table class="email-footer" align="center" width="570" cellpadding="0" cellspacing="0">
  200. <tr>
  201. <td class="content-cell">
  202. <p class="sub center">&copy; 2016 healthchecks<span>.</span>io. All rights reserved.
  203. {% block unsub %}{% endblock %}
  204. </p>
  205. </td>
  206. </tr>
  207. </table>
  208. </td>
  209. </tr>
  210. </table>
  211. </td>
  212. </tr>
  213. </table>
  214. </body>
  215. </html>