Update newsletter HTML layout in index.php and wiki.php. Replaced text with logo image, adjusted padding, and modified font sizes for improved readability and aesthetics.

This commit is contained in:
smueller
2026-07-07 10:38:28 +02:00
parent b62ef7a1d7
commit 1c4baed125
3 changed files with 59 additions and 8 deletions

View File

@@ -449,8 +449,8 @@ function buildNewsletterHtml(array $config, array $articles, string $periodLabel
</td>
</tr>
<tr>
<td align="center" style="padding:5px 26px 12px 26px;font-family:Arial,Helvetica,sans-serif;font-size:52px;line-height:46px;font-weight:700;color:#4c5461;letter-spacing:0.6px;">
THOMAS<br>KRENN
<td align="center" style="padding:8px 26px 14px 26px;">
<img src="https://www.thomas-krenn.com/res/pics/tk_logo_340px.png" width="170" alt="Thomas-Krenn Logo" style="display:block;margin:0 auto;border:0;outline:none;text-decoration:none;height:auto;">
</td>
</tr>
<tr>
@@ -458,8 +458,8 @@ function buildNewsletterHtml(array $config, array $articles, string $periodLabel
<table role="presentation" width="100%" border="0" cellspacing="0" cellpadding="0" style="width:100%;background:#10233a;">
<tr>
<td style="padding:18px 18px 20px 18px;font-family:Arial,Helvetica,sans-serif;">
<div style="font-size:30px;line-height:16px;font-weight:700;color:#ef7d00;letter-spacing:0.7px;">NEWSLETTER</div>
<div style="font-size:45px;line-height:30px;font-weight:700;color:#ffffff;margin-top:6px;">' . h($periodLabel) . '</div>
<div style="font-size:13px;line-height:18px;font-weight:700;color:#ef7d00;letter-spacing:0.7px;">NEWSLETTER</div>
<div style="font-size:20px;line-height:26px;font-weight:700;color:#ffffff;margin-top:2px;">' . h($periodLabel) . '</div>
</td>
</tr>
</table>