base.html.twig 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194
  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" />
  5. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  6. <title>Really Simple HTML Email Template</title>
  7. <style>
  8. /* -------------------------------------
  9. GLOBAL
  10. ------------------------------------- */
  11. * {
  12. margin: 0;
  13. padding: 0;
  14. font-family: "Helvetica Neue", "Helvetica", Helvetica, Arial, sans-serif;
  15. font-size: 100%;
  16. line-height: 1.6;
  17. }
  18. img {
  19. max-width: 100%;
  20. }
  21. body {
  22. -webkit-font-smoothing: antialiased;
  23. -webkit-text-size-adjust: none;
  24. width: 100%!important;
  25. height: 100%;
  26. }
  27. /* -------------------------------------
  28. ELEMENTS
  29. ------------------------------------- */
  30. a {
  31. color: #348eda;
  32. }
  33. .btn-primary {
  34. text-decoration: none;
  35. color: #FFF;
  36. background-color: #348eda;
  37. border: solid #348eda;
  38. border-width: 10px 20px;
  39. line-height: 2;
  40. font-weight: bold;
  41. margin-right: 10px;
  42. text-align: center;
  43. cursor: pointer;
  44. display: inline-block;
  45. border-radius: 25px;
  46. }
  47. .btn-secondary {
  48. text-decoration: none;
  49. color: #FFF;
  50. background-color: #aaa;
  51. border: solid #aaa;
  52. border-width: 10px 20px;
  53. line-height: 2;
  54. font-weight: bold;
  55. margin-right: 10px;
  56. text-align: center;
  57. cursor: pointer;
  58. display: inline-block;
  59. border-radius: 25px;
  60. }
  61. .last {
  62. margin-bottom: 0;
  63. }
  64. .first {
  65. margin-top: 0;
  66. }
  67. .padding {
  68. padding: 10px 0;
  69. }
  70. /* -------------------------------------
  71. BODY
  72. ------------------------------------- */
  73. table.body-wrap {
  74. width: 100%;
  75. padding: 20px;
  76. }
  77. table.body-wrap .container {
  78. border: 1px solid #f0f0f0;
  79. }
  80. /* -------------------------------------
  81. FOOTER
  82. ------------------------------------- */
  83. table.footer-wrap {
  84. width: 100%;
  85. clear: both!important;
  86. }
  87. .footer-wrap .container p {
  88. font-size: 12px;
  89. color: #666;
  90. }
  91. table.footer-wrap a {
  92. color: #999;
  93. }
  94. /* -------------------------------------
  95. TYPOGRAPHY
  96. ------------------------------------- */
  97. h1, h2, h3 {
  98. font-family: "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
  99. color: #000;
  100. margin: 40px 0 10px;
  101. line-height: 1.2;
  102. font-weight: 200;
  103. }
  104. h1 {
  105. font-size: 36px;
  106. }
  107. h2 {
  108. font-size: 28px;
  109. }
  110. h3 {
  111. font-size: 22px;
  112. }
  113. p, ul, ol {
  114. margin-bottom: 10px;
  115. font-weight: normal;
  116. font-size: 14px;
  117. }
  118. ul li, ol li {
  119. margin-left: 5px;
  120. list-style-position: inside;
  121. }
  122. /* ---------------------------------------------------
  123. RESPONSIVENESS
  124. Nuke it from orbit. It's the only way to be sure.
  125. ------------------------------------------------------ */
  126. /* Set a max-width, and make it display as block so it will automatically stretch to that width, but will also shrink down on a phone or something */
  127. .container {
  128. display: block!important;
  129. max-width: 600px!important;
  130. margin: 0 auto!important; /* makes it centered */
  131. clear: both!important;
  132. }
  133. /* Set the padding on the td rather than the div for Outlook compatibility */
  134. .body-wrap .container {
  135. padding: 20px;
  136. }
  137. /* This should also be a block element, so that it will fill 100% of the .container */
  138. .content {
  139. max-width: 600px;
  140. margin: 0 auto;
  141. display: block;
  142. }
  143. /* Let's make sure tables in the content area are 100% wide */
  144. .content table {
  145. width: 100%;
  146. }
  147. </style>
  148. </head>
  149. <body bgcolor="#f6f6f6">
  150. <!-- body -->
  151. <table class="body-wrap" bgcolor="#f6f6f6">
  152. <tr>
  153. <td></td>
  154. <td class="container" bgcolor="#FFFFFF">
  155. <div class="content">
  156. <table>
  157. <tr>
  158. <td>
  159. {{ content }}
  160. </td>
  161. </tr>
  162. </table>
  163. </div>
  164. </td>
  165. <td></td>
  166. </tr>
  167. </table>
  168. <!-- /body -->
  169. <!-- footer -->
  170. <table class="footer-wrap">
  171. <tr>
  172. <td></td>
  173. <td class="container">
  174. <div class="content">
  175. <table>
  176. <tr>
  177. <td align="center">
  178. {{ 'PLUGIN_ADMIN.EMAIL_FOOTER'|tu }}
  179. </td>
  180. </tr>
  181. </table>
  182. </div>
  183. </td>
  184. <td></td>
  185. </tr>
  186. </table>
  187. <!-- /footer -->
  188. </body>
  189. </html>