From 543fb023cc260781e28488366a8bd8e5fdce85db Mon Sep 17 00:00:00 2001 From: Dan Mindru Date: Mon, 19 Oct 2015 01:40:49 +0200 Subject: [PATCH] [#1] Remove iOS blue link for the phone number (close) --- src/fadeit/base.css | 6 ++++++ tasks/build.js | 5 +++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/src/fadeit/base.css b/src/fadeit/base.css index 8fefddf..ecd232f 100644 --- a/src/fadeit/base.css +++ b/src/fadeit/base.css @@ -119,6 +119,12 @@ a{ align:left; } +.footer__main a > span{ + /* Revert apple blue-link style. */ + color: #888!important; + text-decoration:none!important; +} + .footer__main__col2{ /* @todo gulp-inline-css can't use width in percentages */ width:20%; diff --git a/tasks/build.js b/tasks/build.js index 3392bc0..f29fa67 100644 --- a/tasks/build.js +++ b/tasks/build.js @@ -15,7 +15,7 @@ function buildTask(options){ name: 'Lars Normark Holmgaard', welcome: 'Hi there,', introParagraph: 'Thanks for writing up this email.
We are delighted to reply with a custom footer template.', - contactMain: 'Call 81100200 or email us at', + contactMain: 'Call 81100200 or email us at', // Wrap phone numbers like this to prevent iOS mail from making them blue. contactMail: 'info@fadeit.dk', contactSecondary: 'Anelystparken 31D  ●  DK-8381 Tilst  ●  Aarhus
', logoUrl: 'http://fadeit.dk/!email/fadeit-logo.png', @@ -26,7 +26,8 @@ function buildTask(options){ .pipe(inlineCss({ applyTableAttributes: true, applyWidthAttributes: true, - preserveMediaQueries: true + preserveMediaQueries: true, + removeStyleTags: false })) .pipe(minifyHTML({quotes: true})) .pipe(gulp.dest('./dist/'))