oldking139

Untitled

Apr 20th, 2022
1,459
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 5 11.21 KB | None | 0 0
  1. <!DOCTYPE html>
  2. <html lang="en" xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office">
  3. <head>
  4.     <meta charset="utf-8"> <!-- utf-8 works for most cases -->
  5.     <meta name="viewport" content="width=device-width"> <!-- Forcing initial-scale shouldn't be necessary -->
  6.     <meta http-equiv="X-UA-Compatible" content="IE=edge"> <!-- Use the latest (edge) version of IE rendering engine -->
  7.     <meta name="x-apple-disable-message-reformatting">  <!-- Disable auto-scale in iOS 10 Mail entirely -->
  8.     <title></title> <!-- The title tag shows in email notifications, like Android 4.4. -->
  9.  
  10.     <!-- Web Font / @font-face : BEGIN -->
  11.     <!-- NOTE: If web fonts are not required, lines 10 - 27 can be safely removed. -->
  12.  
  13.     <!-- Desktop Outlook chokes on web font references and defaults to Times New Roman, so we force a safe fallback font. -->
  14.     <!--[if mso]>
  15.        <style>
  16.            * {
  17.                font-family: sans-serif !important;
  18.            }
  19.        </style>
  20.    <![endif]-->
  21.  
  22.     <!-- All other clients get the webfont reference; some will render the font and others will silently fail to the fallbacks. More on that here: http://stylecampaign.com/blog/2015/02/webfont-support-in-email/ -->
  23.     <!--[if !mso]><!-->
  24.         <!-- insert web font reference, eg: <link href='https://fonts.googleapis.com/css?family=Roboto:400,700' rel='stylesheet' type='text/css'> -->
  25.     <!--<![endif]-->
  26.  
  27.     <!-- Web Font / @font-face : END -->
  28.  
  29.     <!-- CSS Reset -->
  30.     <style>
  31.  
  32.         /* What it does: Remove spaces around the email design added by some email clients. */
  33.         /* Beware: It can remove the padding / margin and add a background color to the compose a reply window. */
  34.         html,
  35.         body {
  36.             margin: 0 auto !important;
  37.             padding: 0 !important;
  38.             height: 100% !important;
  39.             width: 100% !important;
  40.         }
  41.  
  42.         /* What it does: Stops email clients resizing small text. */
  43.         * {
  44.             -ms-text-size-adjust: 100%;
  45.             -webkit-text-size-adjust: 100%;
  46.         }
  47.  
  48.         /* What it does: Centers email on Android 4.4 */
  49.         div[style*="margin: 16px 0"] {
  50.             margin:0 !important;
  51.         }
  52.  
  53.         /* What it does: Stops Outlook from adding extra spacing to tables. */
  54.         table,
  55.         td {
  56.             mso-table-lspace: 0pt !important;
  57.             mso-table-rspace: 0pt !important;
  58.         }
  59.  
  60.         /* What it does: Fixes webkit padding issue. Fix for Yahoo mail table alignment bug. Applies table-layout to the first 2 tables then removes for anything nested deeper. */
  61.         table {
  62.             border-spacing: 0 !important;
  63.             border-collapse: collapse !important;
  64.             table-layout: fixed !important;
  65.             margin: 0 auto !important;
  66.         }
  67.         table table table {
  68.             table-layout: auto;
  69.         }
  70.  
  71.         /* What it does: Uses a better rendering method when resizing images in IE. */
  72.         img {
  73.             -ms-interpolation-mode:bicubic;
  74.         }
  75.  
  76.         /* What it does: A work-around for email clients meddling in triggered links. */
  77.         *[x-apple-data-detectors],  /* iOS */
  78.         .x-gmail-data-detectors,    /* Gmail */
  79.         .x-gmail-data-detectors *,
  80.         .aBn {
  81.             border-bottom: 0 !important;
  82.             cursor: default !important;
  83.             color: inherit !important;
  84.             text-decoration: none !important;
  85.             font-size: inherit !important;
  86.             font-family: inherit !important;
  87.             font-weight: inherit !important;
  88.             line-height: inherit !important;
  89.         }
  90.  
  91.         /* What it does: Prevents Gmail from displaying an download button on large, non-linked images. */
  92.         .a6S {
  93.             display: none !important;
  94.             opacity: 0.01 !important;
  95.         }
  96.         /* If the above doesn't work, add a .g-img class to any image in question. */
  97.         img.g-img + div {
  98.             display:none !important;
  99.         }
  100.  
  101.         /* What it does: Prevents underlining the button text in Windows 10 */
  102.         .button-link {
  103.             text-decoration: none !important;
  104.         }
  105.  
  106.         /* What it does: Removes right gutter in Gmail iOS app: https://github.com/TedGoas/Cerberus/issues/89  */
  107.         /* Create one of these media queries for each additional viewport size you'd like to fix */
  108.         /* Thanks to Eric Lepetit (@ericlepetitsf) for help troubleshooting */
  109.         @media only screen and (min-device-width: 375px) and (max-device-width: 413px) { /* iPhone 6 and 6+ */
  110.             .email-container {
  111.                 min-width: 375px !important;
  112.             }
  113.         }
  114.  
  115.     </style>
  116.  
  117.     <!-- Progressive Enhancements -->
  118.     <style>
  119.  
  120.         /* What it does: Hover styles for buttons */
  121.         .button-td,
  122.         .button-a {
  123.             transition: all 100ms ease-in;
  124.         }
  125.         .button-td:hover,
  126.         .button-a:hover {
  127.             background: #555555 !important;
  128.             border-color: #555555 !important;
  129.         }
  130.  
  131.         /* Media Queries */
  132.         @media screen and (max-width: 600px) {
  133.  
  134.             /* What it does: Adjust typography on small screens to improve readability */
  135.             .email-container p {
  136.                 font-size: 17px !important;
  137.                 line-height: 26px !important;
  138.             }
  139.  
  140.         }
  141.  
  142.         .notification-body img {
  143.             max-width: 100%;
  144.         }
  145.     </style>
  146.  
  147.     <!-- What it does: Makes background images in 72ppi Outlook render at correct size. -->
  148.     <!--[if gte mso 9]>
  149.     <xml>
  150.         <o:OfficeDocumentSettings>
  151.             <o:AllowPNG/>
  152.             <o:PixelsPerInch>96</o:PixelsPerInch>
  153.         </o:OfficeDocumentSettings>
  154.     </xml>
  155.     <![endif]-->
  156.  
  157. </head>
  158.  
  159. <body width="100%" bgcolor="#f6f6f6" style="margin: 0; mso-line-height-rule: exactly;">
  160.     <center style="width: 100%; background: #f6f6f6; text-align: left;">
  161.  
  162.         <!--
  163.             Set the email width. Defined in two places:
  164.             1. max-width for all clients except Desktop Windows Outlook, allowing the email to squish on narrow but never go wider than 600px.
  165.             2. MSO tags for Desktop Windows Outlook enforce a 600px width.
  166.         -->
  167.         <div style="max-width: 600px; margin: auto;<!-- IF rtl --> text-align: right; direction: rtl;<!-- END -->" class="email-container">
  168.             <!--[if mso]>
  169.             <table role="presentation" cellspacing="0" cellpadding="0" border="0" width="600" align="center">
  170.             <tr>
  171.             <td>
  172.             <![endif]-->
  173.  
  174.             <!-- Email Header : BEGIN -->
  175.             <table role="presentation" cellspacing="0" cellpadding="0" border="0" align="center" width="100%" style="max-width: 600px;">
  176.                 <tr>
  177.                     <td style="padding: 20px 0; text-align: center">
  178.                         <!-- IF logo.src -->
  179.                         <img src="{logo.src}" height="{logo.height}" width="{logo.width}" alt="{site_title}" border="0" style="height: {logo.height}px; width: {logo.width}px; background: #f6f6f6; font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol; font-size: 15px; line-height: 20px; color: #333333;">
  180.                         <!-- ELSE -->
  181.                         &nbsp;
  182.                         <!-- ENDIF logo.src -->
  183.                     </td>
  184.                 </tr>
  185.             </table>
  186.             <!-- Email Header : END -->
  187.  
  188. <!-- Email Body : BEGIN -->
  189. <table role="presentation" cellspacing="0" cellpadding="0" border="0" align="center" width="100%" style="max-width: 600px;">
  190.  
  191.     <!-- 1 Column Text + Button : BEGIN -->
  192.     <tr>
  193.         <td bgcolor="#ffffff">
  194.             <table role="presentation" cellspacing="0" cellpadding="0" border="0" width="100%">
  195.                 <tr>
  196.                     <td style="padding: 40px 40px 6px 40px; font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol; font-size: 15px; line-height: 20px; color: #555555;">
  197.                         <h1 style="margin: 0; font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol; font-size: 24px; line-height: 27px; color: #333333; font-weight: normal;">[[email:greeting_with_name, {username}]]</h1>
  198.                     </td>
  199.                 </tr>
  200.                 <tr>
  201.                     <td style="padding: 0px 40px; font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol; font-size: 15px; line-height: 20px; color: #555555;">
  202.                         <h1 style="margin: 0 0 10px 0; font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol; font-size: 18px; line-height: 21px; color: #aaaaaa; font-weight: normal;">[[email:email.verify.text1]]</h1>
  203.                     </td>
  204.                 </tr>
  205.                 <tr>
  206.                     <td style="padding: 20px 40px; font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol; font-size: 15px; line-height: 20px; color: #555555;">
  207.                         <p style="margin: 0;">
  208.                             [[email:email.verify.text2]]
  209.                         </p>
  210.                     </td>
  211.                 </tr>
  212.                 <tr>
  213.                     <td style="padding: 20px 40px; font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol; font-size: 15px; line-height: 20px; color: #555555;">
  214.                         <p style="margin: 0;">
  215.                             [[email:email.verify.text3, {email}]]
  216.                         </p>
  217.                     </td>
  218.                 </tr>
  219.                 <tr>
  220.                     <td style="padding: 32px 40px; font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol; font-size: 15px; line-height: 20px; color: #555555;">
  221.                         <!-- Button : BEGIN -->
  222.                         <table role="presentation" cellspacing="0" cellpadding="0" border="0" align="center" style="margin: auto;">
  223.                             <tr>
  224.                                 <td style="border-radius: 3px; background: #222222; text-align: center;" class="button-td">
  225.                                     <a href="{confirm_link}" style="background: #222222; border: 15px solid #222222; font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol; font-size: 13px; line-height: 1.1; text-align: center; text-decoration: none; display: block; border-radius: 3px; font-weight: bold;" class="button-a">
  226.                                         <span style="color:#ffffff;" class="button-link">[[email:welcome.cta]] &rarr;</span>
  227.                                     </a>
  228.                                 </td>
  229.                             </tr>
  230.                         </table>
  231.                         <!-- Button : END -->
  232.                     </td>
  233.                 </tr>
  234.             </table>
  235.         </td>
  236.     </tr>
  237.     <!-- 1 Column Text + Button : END -->
  238.  
  239. </table>
  240. <!-- Email Body : END -->
  241.  
  242.             <!-- Email Footer : BEGIN -->
  243.             <table role="presentation" cellspacing="0" cellpadding="0" border="0" align="center" width="100%" style="max-width: 680px;">
  244.                 <tr>
  245.                     <td style="padding: 40px 10px;width: 100%;font-size: 12px; font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol; line-height:18px; text-align: center; color: #888888;">
  246.                         <br><br>
  247.                         <!-- IF showUnsubscribe -->
  248.                         [[email:notif.post.unsub.info]] <a href="{url}/uid/{uid}/settings">[[email:unsub.cta]]</a>.
  249.                         <br />[[email:notif.post.unsub.one-click]] <a href="{unsubUrl}">[[email:unsubscribe]]</a>.
  250.                         <!-- ENDIF showUnsubscribe -->
  251.                         <br><br>
  252.                     </td>
  253.                 </tr>
  254.             </table>
  255.             <!-- Email Footer : END -->
  256.  
  257.             <!--[if mso]>
  258.             </td>
  259.             </tr>
  260.             </table>
  261.             <![endif]-->
  262.         </div>
  263.  
  264.     </center>
  265. </body>
  266.  
  267. </html>
  268.  
Advertisement
Add Comment
Please, Sign In to add comment