Files
EagleCast/static/email-templates/base.html
T
2026-07-09 15:44:33 -04:00

123 lines
3.4 KiB
HTML

{{ define "header" }}
<!doctype html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1" />
<base target="_blank">
<style>
body {
background-color: #f5f1e8;
font-family: Georgia, 'Iowan Old Style', 'Times New Roman', Times, serif;
font-size: 17px;
line-height: 1.65;
margin: 0;
color: #1c1a16;
}
.wrap {
background-color: #fbf8f1;
padding: 30px;
max-width: 525px;
margin: 0 auto;
border: 2px solid #1c1a16;
border-radius: 0;
}
.header {
border-bottom: 3px double #1c1a16;
padding-bottom: 15px;
margin-bottom: 15px;
}
h1, h2, h3 {
font-family: Georgia, 'Iowan Old Style', 'Times New Roman', Times, serif;
color: #1c1a16;
line-height: 1.2;
}
ul li {
font-weight: bold;
color: #1c1a16;
}
.footer {
text-align: center;
font-family: 'Cascadia Mono', Consolas, Menlo, 'Courier New', monospace;
font-size: 12px;
letter-spacing: 0.08em;
text-transform: uppercase;
color: #837d72;
border-top: 3px double #1c1a16;
margin-top: 24px;
padding-top: 14px;
}
.footer a {
color: #4a463f;
}
.gutter {
padding: 30px;
}
.button {
background: #b23a2c;
color: #fdfaf3 !important;
display: inline-block;
border: 2px solid #b23a2c;
border-radius: 0;
padding: 12px 30px;
text-align: center;
text-decoration: none;
font-family: 'Cascadia Mono', Consolas, Menlo, 'Courier New', monospace;
font-size: 14px;
font-weight: bold;
letter-spacing: 0.08em;
text-transform: uppercase;
}
.button:hover {
background: #8e2c21;
border-color: #8e2c21;
color: #fdfaf3;
}
img {
max-width: 100%;
}
a {
color: #8e2c21;
}
a:hover {
color: #b23a2c;
}
@media screen and (max-width: 600px) {
.wrap {
max-width: auto;
}
.gutter {
padding: 10px;
}
}
</style>
</head>
<body style="background-color: #f5f1e8;">
<div class="gutter">&nbsp;</div>
<div class="wrap">
<div class="header">
{{ if ne LogoURL "" }}
<img src="{{ LogoURL }}" alt="eaglecast" />
{{ end }}
</div>
{{ end }}
{{ define "footer" }}
</div>
<div class="footer">
<p>{{ L.T "public.poweredBy" }} EagleCast</p>
</div>
<div class="gutter">&nbsp;</div>
</body>
</html>
{{ end }}