provisioning-outreach/presentations/rust-laspalmas-250926/auroraframe/framework/templates/markdown/email.html

251 lines
7.7 KiB
HTML
Raw Permalink Normal View History

<!DOCTYPE html>
<html lang="{{ page.lang | default(value="en") }}">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{{ page.title }}</title>
<!-- Email-optimized meta tags -->
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="format-detection" content="telephone=no">
<meta name="format-detection" content="date=no">
<meta name="format-detection" content="address=no">
<meta name="format-detection" content="email=no">
<!-- CSS will be fully inlined by the build system -->
<style>
/* Reset styles for email clients */
body, table, td, p, a, li, blockquote {
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
}
table, td {
mso-table-lspace: 0pt;
mso-table-rspace: 0pt;
}
img {
-ms-interpolation-mode: bicubic;
border: 0;
display: block;
outline: none;
text-decoration: none;
}
/* Base email styles */
body {
background-color: #f4f4f4;
margin: 0 !important;
padding: 0 !important;
font-family: Arial, sans-serif;
line-height: 1.6;
color: #333333;
}
.email-container {
max-width: 600px;
margin: 0 auto;
background-color: #ffffff;
}
.email-header {
background-color: #0066cc;
padding: 20px;
text-align: center;
}
.email-header h1 {
color: #ffffff;
margin: 0;
font-size: 24px;
font-weight: bold;
}
.email-content {
padding: 30px 20px;
}
.email-content h2 {
color: #0066cc;
font-size: 20px;
margin-top: 30px;
margin-bottom: 15px;
}
.email-content h3 {
color: #333333;
font-size: 18px;
margin-top: 25px;
margin-bottom: 10px;
}
.email-content p {
margin-bottom: 16px;
line-height: 1.6;
}
.email-content a {
color: #0066cc;
text-decoration: underline;
}
.email-content ul, .email-content ol {
margin-bottom: 16px;
padding-left: 20px;
}
.email-content li {
margin-bottom: 8px;
}
.email-content blockquote {
border-left: 4px solid #0066cc;
margin: 20px 0;
padding-left: 16px;
font-style: italic;
color: #666666;
}
.email-content code {
background-color: #f5f5f5;
padding: 2px 4px;
border-radius: 3px;
font-family: Consolas, Monaco, 'Courier New', monospace;
font-size: 14px;
}
.email-content pre {
background-color: #f5f5f5;
border: 1px solid #ddd;
border-radius: 4px;
padding: 12px;
overflow-x: auto;
font-family: Consolas, Monaco, 'Courier New', monospace;
font-size: 14px;
line-height: 1.4;
}
.email-footer {
background-color: #f8f9fa;
padding: 20px;
text-align: center;
border-top: 1px solid #dee2e6;
}
.email-footer p {
margin: 0;
font-size: 14px;
color: #666666;
}
.email-footer a {
color: #0066cc;
text-decoration: none;
}
.button {
display: inline-block;
padding: 12px 24px;
background-color: #0066cc;
color: #ffffff !important;
text-decoration: none;
border-radius: 4px;
font-weight: bold;
margin: 10px 0;
}
.button:hover {
background-color: #0052a3;
}
/* Outlook specific styles */
.outlook-fallback {
mso-hide: all;
}
/* Mobile styles */
@media only screen and (max-width: 600px) {
.email-container {
max-width: 100% !important;
margin: 0 !important;
}
.email-content {
padding: 20px 15px !important;
}
.email-header {
padding: 15px !important;
}
.email-header h1 {
font-size: 20px !important;
}
}
</style>
</head>
<body>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td align="center" style="padding: 20px 0;">
<table class="email-container" border="0" cellpadding="0" cellspacing="0" width="600">
<!-- Email Header -->
<tr>
<td class="email-header">
{% if page.title %}
<h1>{{ page.title }}</h1>
{% endif %}
{% if page.subtitle %}
<p style="color: #ffffff; margin: 10px 0 0 0; font-size: 16px;">{{ page.subtitle }}</p>
{% endif %}
</td>
</tr>
<!-- Email Content -->
<tr>
<td class="email-content">
{% if page.preheader %}
<div style="display: none; font-size: 1px; color: #fefefe; line-height: 1px; max-height: 0px; max-width: 0px; opacity: 0; overflow: hidden;">
{{ page.preheader }}
</div>
{% endif %}
{{ content | safe }}
{% if page.cta_text and page.cta_url %}
<table border="0" cellspacing="0" cellpadding="0" style="margin: 30px 0;">
<tr>
<td style="text-align: center;">
<a href="{{ page.cta_url }}" class="button" style="display: inline-block; padding: 12px 24px; background-color: #0066cc; color: #ffffff; text-decoration: none; border-radius: 4px; font-weight: bold;">
{{ page.cta_text }}
</a>
</td>
</tr>
</table>
{% endif %}
</td>
</tr>
<!-- Email Footer -->
<tr>
<td class="email-footer">
{% if page.unsubscribe_url %}
<p>
<a href="{{ page.unsubscribe_url }}">Unsubscribe</a>
{% if page.sender_address %} | {{ page.sender_address }}{% endif %}
</p>
{% endif %}
{% if page.show_footer | default(value=true) %}
<p>
{% if site.title %}{{ site.title }}{% else %}Web Builder Framework{% endif %}
{% if page.sent_date %} | {{ page.sent_date | date(format="%B %d, %Y") }}{% endif %}
</p>
{% endif %}
</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>