date-poll-api/templates/email-base.html.twig

68 lines
1.2 KiB
Twig
Raw Normal View History

2020-04-16 16:07:48 +02:00
<!doctype html>
<html lang="en">
<head>
</head>
2020-04-14 17:36:04 +02:00
<body>
2020-04-10 17:19:18 +02:00
<div class="email">
2020-04-16 16:07:48 +02:00
2020-04-10 17:19:18 +02:00
<header>
{% block title %}
{% if title is defined %}
2021-05-21 09:33:31 +02:00
<h1 class="text-center">{{ title }} - {{ WEBSITE_NAME }}</h1>
2020-04-10 17:19:18 +02:00
{% else %}
2021-05-21 09:33:31 +02:00
<h1 class="text-center">{{ WEBSITE_NAME }}</h1>
2020-04-10 17:19:18 +02:00
{% endif %}
<hr>
{% endblock %}
2020-04-12 17:50:25 +02:00
{% block stylesheets %}{% endblock %}
2020-04-10 17:19:18 +02:00
</header>
<main>
{% block content %}
{% endblock %}
</main>
<footer>
{% block footer %}
{% include 'emails/footer.html.twig' %}
{% endblock %}
</footer>
</div>
2020-04-16 16:07:48 +02:00
<style type="text/css">
2021-05-18 23:38:13 +02:00
.text-center{
text-align:center;
}
2020-04-16 16:07:48 +02:00
html, body, main, header, footer, div {
font-family: "Open Sans", "Helvetica Neue", sans-serif;
}
.email {
padding: 1em;
}
.footer-content {
margin-top: 1em;
background: #f2dff2;
}
ul {
border-left: 3px solid #f2dff2;
}
a {
padding: 1em;
border-radius: 3px;
background: #ceb4f5;
color: #201b27;
margin: 0.5rem 0;
display: inline-block;
}
2020-04-14 17:36:04 +02:00
2020-04-16 16:07:48 +02:00
h1, h2, h3 {
color: #3c334a;
}
</style>
2020-04-14 17:36:04 +02:00
</body>
</html>