Update newsletter HTML styles in index.php by modifying color schemes for text and backgrounds, enhancing visual appeal and consistency. Adjusted padding and font colors to improve readability and overall aesthetics.
This commit is contained in:
32
index.php
32
index.php
@@ -380,8 +380,8 @@ function buildNewsletterHtml(array $config, array $articles, string $periodLabel
|
|||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="mobile-card-title" style="padding:0 22px 8px 22px;font-family:Arial,Helvetica,sans-serif;font-size:23px;line-height:31px;font-weight:700;color:#003b6f;">
|
<td class="mobile-card-title" style="padding:0 22px 8px 22px;font-family:Arial,Helvetica,sans-serif;font-size:23px;line-height:31px;font-weight:700;color:#2f3237;">
|
||||||
<a href="' . h($article['url']) . '" target="_blank" style="color:#003b6f;text-decoration:none;">' . h($article['title']) . '</a>
|
<a href="' . h($article['url']) . '" target="_blank" style="color:#2f3237;text-decoration:none;">' . h($article['title']) . '</a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
@@ -393,7 +393,7 @@ function buildNewsletterHtml(array $config, array $articles, string $periodLabel
|
|||||||
<td style="padding:0 22px 20px 22px;">
|
<td style="padding:0 22px 20px 22px;">
|
||||||
<table role="presentation" border="0" cellspacing="0" cellpadding="0">
|
<table role="presentation" border="0" cellspacing="0" cellpadding="0">
|
||||||
<tr>
|
<tr>
|
||||||
<td bgcolor="#f39200" style="background:#f39200;">
|
<td bgcolor="#ff7d00" style="background:#ff7d00;">
|
||||||
<a href="' . h($article['url']) . '" target="_blank" style="display:inline-block;padding:11px 18px;font-family:Arial,Helvetica,sans-serif;font-size:13px;line-height:16px;font-weight:700;color:#ffffff;text-decoration:none;">Artikel lesen</a>
|
<a href="' . h($article['url']) . '" target="_blank" style="display:inline-block;padding:11px 18px;font-family:Arial,Helvetica,sans-serif;font-size:13px;line-height:16px;font-weight:700;color:#ffffff;text-decoration:none;">Artikel lesen</a>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
@@ -434,7 +434,7 @@ function buildNewsletterHtml(array $config, array $articles, string $periodLabel
|
|||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
<title>Thomas-Krenn Wiki Newsletter</title>
|
<title>Thomas-Krenn Wiki Newsletter</title>
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
html, body { margin:0 !important; padding:0 !important; width:100% !important; background:#edf1f5; }
|
html, body { margin:0 !important; padding:0 !important; width:100% !important; background:#eceef1; }
|
||||||
table, td { border-collapse:collapse; mso-table-lspace:0pt; mso-table-rspace:0pt; }
|
table, td { border-collapse:collapse; mso-table-lspace:0pt; mso-table-rspace:0pt; }
|
||||||
img { border:0; outline:none; text-decoration:none; -ms-interpolation-mode:bicubic; display:block; }
|
img { border:0; outline:none; text-decoration:none; -ms-interpolation-mode:bicubic; display:block; }
|
||||||
a { text-decoration:none; }
|
a { text-decoration:none; }
|
||||||
@@ -449,26 +449,26 @@ function buildNewsletterHtml(array $config, array $articles, string $periodLabel
|
|||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body style="margin:0;padding:0;background:#edf1f5;">
|
<body style="margin:0;padding:0;background:#eceef1;">
|
||||||
<div class="preheader">' . h($preheader) . ' ‌ ‌ ‌</div>
|
<div class="preheader">' . h($preheader) . ' ‌ ‌ ‌</div>
|
||||||
<center role="article" aria-roledescription="email" lang="de" style="width:100%;background:#edf1f5;">
|
<center role="article" aria-roledescription="email" lang="de" style="width:100%;background:#eceef1;">
|
||||||
<table role="presentation" width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#edf1f5" style="width:100%;background:#edf1f5;">
|
<table role="presentation" width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#eceef1" style="width:100%;background:#eceef1;">
|
||||||
<tr>
|
<tr>
|
||||||
<td align="center" style="padding:22px 10px;">
|
<td align="center" style="padding:22px 10px;">
|
||||||
<table role="presentation" width="700" border="0" cellspacing="0" cellpadding="0" class="email-container" style="width:100%;max-width:700px;background:#ffffff;border-top:4px solid #f39200;">
|
<table role="presentation" width="700" border="0" cellspacing="0" cellpadding="0" class="email-container" style="width:100%;max-width:700px;background:#ffffff;border-top:4px solid #ff7d00;">
|
||||||
<tr>
|
<tr>
|
||||||
<td align="center" style="padding:24px 32px 18px 32px;background:#003b6f;" class="mobile-padding">
|
<td align="center" style="padding:24px 32px 18px 32px;background:#5f6064;" class="mobile-padding">
|
||||||
<img src="https://www.thomas-krenn.com/res/pics/tk_logo_340px.png" width="190" alt="Thomas-Krenn Logo" style="display:block;margin:0 auto;border:0;outline:none;text-decoration:none;height:auto;">
|
<img src="https://www.thomas-krenn.com/res/pics/tk_logo_340px.png" width="190" alt="Thomas-Krenn Logo" style="display:block;margin:0 auto;border:0;outline:none;text-decoration:none;height:auto;">
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td style="padding:0 32px;" class="mobile-padding">
|
<td style="padding:0 32px;" class="mobile-padding">
|
||||||
<table role="presentation" width="100%" border="0" cellspacing="0" cellpadding="0" style="width:100%;background:#003b6f;">
|
<table role="presentation" width="100%" border="0" cellspacing="0" cellpadding="0" style="width:100%;background:#5f6064;">
|
||||||
<tr>
|
<tr>
|
||||||
<td style="padding:30px 26px;font-family:Arial,Helvetica,sans-serif;">
|
<td style="padding:30px 26px;font-family:Arial,Helvetica,sans-serif;">
|
||||||
<div style="font-size:12px;line-height:16px;font-weight:700;color:#f39200;letter-spacing:1px;text-transform:uppercase;">Thomas-Krenn Wiki Update</div>
|
<div style="font-size:12px;line-height:16px;font-weight:700;color:#ff7d00;letter-spacing:1px;text-transform:uppercase;">Thomas-Krenn Wiki Update</div>
|
||||||
<div class="mobile-headline" style="font-size:36px;line-height:42px;font-weight:700;color:#ffffff;margin-top:10px;">' . h($periodLabel) . '</div>
|
<div class="mobile-headline" style="font-size:36px;line-height:42px;font-weight:700;color:#ffffff;margin-top:10px;">' . h($periodLabel) . '</div>
|
||||||
<div style="font-size:16px;line-height:24px;color:#d8e4f0;margin-top:10px;">' . h($summaryText) . '</div>
|
<div style="font-size:16px;line-height:24px;color:#eef0f2;margin-top:10px;">' . h($summaryText) . '</div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
@@ -495,7 +495,7 @@ function buildNewsletterHtml(array $config, array $articles, string $periodLabel
|
|||||||
<tr>
|
<tr>
|
||||||
<td style="font-family:Arial,Helvetica,sans-serif;font-size:15px;line-height:24px;color:#2a3950;">
|
<td style="font-family:Arial,Helvetica,sans-serif;font-size:15px;line-height:24px;color:#2a3950;">
|
||||||
Haben Sie Fragen oder einen Themenwunsch?
|
Haben Sie Fragen oder einen Themenwunsch?
|
||||||
<a href="' . h($replyHref) . '" style="color:#f39200;text-decoration:underline;">Schreiben Sie uns gerne direkt.</a><br><br>
|
<a href="' . h($replyHref) . '" style="color:#ff7d00;text-decoration:underline;">Schreiben Sie uns gerne direkt.</a><br><br>
|
||||||
Viele Gruesse<br>
|
Viele Gruesse<br>
|
||||||
Ihr Thomas-Krenn Team
|
Ihr Thomas-Krenn Team
|
||||||
</td>
|
</td>
|
||||||
@@ -504,10 +504,10 @@ function buildNewsletterHtml(array $config, array $articles, string $periodLabel
|
|||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td style="background:#003b6f;padding:26px 26px;text-align:center;font-family:Arial,Helvetica,sans-serif;">
|
<td style="background:#5f6064;padding:26px 26px;text-align:center;font-family:Arial,Helvetica,sans-serif;">
|
||||||
<div style="font-size:12px;line-height:20px;color:#b8c5d4;">
|
<div style="font-size:12px;line-height:20px;color:#eef0f2;">
|
||||||
Tel.: +49 8551 9150 0 | Fax: +49 8551 9150 55<br>
|
Tel.: +49 8551 9150 0 | Fax: +49 8551 9150 55<br>
|
||||||
<a href="https://www.thomas-krenn.com/de/wiki/Hauptseite" target="_blank" style="color:#f39200;text-decoration:underline;">thomas-krenn.com</a><br><br>
|
<a href="https://www.thomas-krenn.com/de/wiki/Hauptseite" target="_blank" style="color:#ff7d00;text-decoration:underline;">thomas-krenn.com</a><br><br>
|
||||||
Thomas-Krenn.AG | Speltenbach-Steinaecker 1 | D-94078 Freyung
|
Thomas-Krenn.AG | Speltenbach-Steinaecker 1 | D-94078 Freyung
|
||||||
' . $unsubscribeFooter . '
|
' . $unsubscribeFooter . '
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user