1
0
mirror of https://framagit.org/tykayn/date-poll-api synced 2023-08-25 08:23:11 +02:00
date-poll-api/templates/email-base.html.twig

56 lines
1.2 KiB
Twig
Raw Normal View History

2020-04-14 17:36:04 +02:00
<html>
<body>
2020-04-10 17:19:18 +02:00
<div class="email">
<style>
html, body, main, header, footer, div {
font-family: "Open Sans", "Helvetica Neue", sans-serif;
}
.email{
padding: 1em;
}
.footer-content{
2020-04-12 17:50:25 +02:00
margin-top: 1em;
2020-04-12 18:09:45 +02:00
background: #f2dff2;
2020-04-10 17:19:18 +02:00
}
ul {
2020-04-12 18:09:45 +02:00
border-left: 3px solid #f2dff2;
2020-04-10 17:19:18 +02:00
}
2020-04-12 17:50:25 +02:00
a {
padding: 1em; border-radius: 3px;
2020-04-12 18:09:45 +02:00
background: #ceb4f5;
2020-04-12 17:50:25 +02:00
color: #201b27;
margin: 0.5rem 0;
display: inline-block;
}
h1,h2,h3{
color: #3c334a;
}
2020-04-10 17:19:18 +02:00
</style>
<header>
{% block title %}
{% if title is defined %}
<h1>{{ title }}</h1>
{% else %}
<h1>Framadate - email</h1>
{% 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-14 17:36:04 +02:00
</body>
</html>