application_wrapper.html.erb 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. <!DOCTYPE html>
  2. <html dir="auto">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
  6. <style type="text/css">
  7. body {
  8. ###html_email_css_font###
  9. }
  10. img {
  11. outline: none;
  12. text-decoration: none;
  13. -ms-interpolation-mode: bicubic;
  14. }
  15. a img {
  16. border: none;
  17. }
  18. table td {
  19. border-collapse: collapse;
  20. }
  21. table {
  22. border-collapse: collapse;
  23. mso-table-lspace: 0pt;
  24. mso-table-rspace: 0pt;
  25. border: none;
  26. table-layout: auto;
  27. display: block;
  28. width: 100%;
  29. overflow: auto;
  30. word-break: keep-all;
  31. }
  32. table,
  33. pre,
  34. blockquote {
  35. margin: 0 0 16px;
  36. }
  37. td, th {
  38. padding: 7px 12px;
  39. }
  40. th {
  41. font-weight: bold;
  42. text-align: center;
  43. }
  44. col {
  45. width: auto;
  46. }
  47. p {
  48. margin: 0;
  49. }
  50. code {
  51. border: none;
  52. background: hsl(0,0%,97%);
  53. white-space: pre-wrap;
  54. }
  55. blockquote {
  56. padding: 8px 12px;
  57. border-left: 5px solid #eee;
  58. }
  59. pre {
  60. padding: 12px 15px;
  61. font-size: 13px;
  62. line-height: 1.45;
  63. background: hsl(0,0%,97%);
  64. white-space: pre-wrap;
  65. border-radius: 3px;
  66. border: none;
  67. overflow: auto;
  68. }
  69. </style>
  70. </head>
  71. <body style="###html_email_css_font###;">###html###</body>
  72. </html>