|
73 | 73 | -ms-interpolation-mode:bicubic; |
74 | 74 | } |
75 | 75 |
|
| 76 | + /* What it does: Prevents Windows 10 Mail from underlining links despite inline CSS. Styles for underlined links should be inline. */ |
| 77 | + a { |
| 78 | + text-decoration: none; |
| 79 | + } |
| 80 | + |
76 | 81 | /* What it does: A work-around for email clients meddling in triggered links. */ |
77 | 82 | *[x-apple-data-detectors], /* iOS */ |
78 | 83 | .unstyle-auto-detected-links *, |
|
97 | 102 | display: none !important; |
98 | 103 | } |
99 | 104 |
|
100 | | - /* What it does: Prevents underlining the button text in Windows 10 */ |
101 | | - .button-link { |
102 | | - text-decoration: none !important; |
103 | | - } |
104 | | - |
105 | 105 | /* What it does: Removes right gutter in Gmail iOS app: https://github.com/TedGoas/Cerberus/issues/89 */ |
106 | 106 | /* Create one of these media queries for each additional viewport size you'd like to fix */ |
107 | 107 |
|
@@ -295,7 +295,7 @@ <h1 style="margin: 0 0 10px; font-size: 25px; line-height: 30px; color: #333333; |
295 | 295 | <table align="center" role="presentation" cellspacing="0" cellpadding="0" border="0" style="margin: auto;"> |
296 | 296 | <tr> |
297 | 297 | <td class="button-td button-td-primary" style="border-radius: 4px; background: #222222;"> |
298 | | - <a class="button-a button-a-primary" href="https://google.com/" style="background: #222222; border: 1px solid #000000; font-family: sans-serif; font-size: 15px; line-height: 15px; text-decoration: none; padding: 13px 17px; display: block; border-radius: 4px;"><span class="button-link" style="color:#ffffff">Centered Primary Button</span></a> |
| 298 | + <a class="button-a button-a-primary" href="https://google.com/" style="background: #222222; border: 1px solid #000000; font-family: sans-serif; font-size: 15px; line-height: 15px; text-decoration: none; padding: 13px 17px; color: #ffffff; display: block; border-radius: 4px;">Centered Primary Button</a> |
299 | 299 | </td> |
300 | 300 | </tr> |
301 | 301 | </table> |
@@ -563,7 +563,7 @@ <h2 style="margin: 0 0 10px 0; font-family: sans-serif; font-size: 18px; line-he |
563 | 563 | <table role="presentation" cellspacing="0" cellpadding="0" border="0" class="center-on-narrow" style="float:left;"> |
564 | 564 | <tr> |
565 | 565 | <td class="button-td button-td-primary" style="border-radius: 4px; background: #222222;"> |
566 | | - <a class="button-a button-a-primary" href="https://google.com/" style="background: #222222; border: 1px solid #000000; font-family: sans-serif; font-size: 15px; line-height: 15px; text-decoration: none; padding: 13px 17px; display: block; border-radius: 4px;"><span class="button-link" style="color:#ffffff">Primary Button</span></a> |
| 566 | + <a class="button-a button-a-primary" href="https://google.com/" style="background: #222222; border: 1px solid #000000; font-family: sans-serif; font-size: 15px; line-height: 15px; text-decoration: none; padding: 13px 17px; color: #ffffff; display: block; border-radius: 4px;">Primary Button</a> |
567 | 567 | </td> |
568 | 568 | </tr> |
569 | 569 | </table> |
@@ -629,7 +629,7 @@ <h2 style="margin: 0 0 10px 0; font-family: sans-serif; font-size: 18px; line-he |
629 | 629 | <table role="presentation" cellspacing="0" cellpadding="0" border="0" class="center-on-narrow" style="float:left;"> |
630 | 630 | <tr> |
631 | 631 | <td class="button-td button-td-primary" style="border-radius: 4px; background: #222222;"> |
632 | | - <a class="button-a button-a-primary" href="https://google.com/" style="background: #222222; border: 1px solid #000000; font-family: sans-serif; font-size: 15px; line-height: 15px; text-decoration: none; padding: 13px 17px; display: block; border-radius: 4px;"><span class="button-link" style="color:#ffffff">Primary Button</span></a> |
| 632 | + <a class="button-a button-a-primary" href="https://google.com/" style="background: #222222; border: 1px solid #000000; font-family: sans-serif; font-size: 15px; line-height: 15px; text-decoration: none; padding: 13px 17px; color: #ffffff; display: block; border-radius: 4px;">Primary Button</a> |
633 | 633 | </td> |
634 | 634 | </tr> |
635 | 635 | </table> |
|
0 commit comments