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.

220 lines
5.2 KiB

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