您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

standard.html 4.2 KiB

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