devfund-website/templates/pdf_layout.html
Anna Sirota 9b5b03870c Remove gulp and pug D10407
* Removes pug templates, replacing them with HTML;
 * Sets up `pypugjs` for the remaining external pug templates coming from BWA;
 * Removes all of the `gulp` boilerplate, replacing it with `libsasscompiler` and `django-pipeline`;
 * Moves around static files to make it easier to setup `django-pipeline`.
2021-02-15 12:42:44 +01:00

57 lines
1.6 KiB
HTML

{% load static %}<!DOCTYPE html>
<html>
<head>
<title>{% block title %}{{ title }}{% endblock %}</title>
<style>
html, body {
background-color: white;
color: black;
font-family: 'Roboto', 'Noto Sans', sans-serif;
font-size: 8pt;
}
p {
line-height: 150%;
}
th {
width: 200px;
text-align: right;
}
th, td {
padding: 3px 6px;
vertical-align: top;
}
h4 {
border-bottom: 1px solid black;
padding-top: 3em;
}
@page {
size: a4 portrait;
@frame header_frame { /* Static Frame */
-pdf-frame-content: header_content;
left: 50pt; width: 512pt; top: 20pt; height: 40pt;
}
@frame content_frame { /* Content Frame */
left: 50pt; width: 512pt; top: 60pt; height: 632pt;
}
@frame footer_frame { /* Another static Frame */
-pdf-frame-content: footer_content;
left: 50pt; width: 512pt; bottom: 30pt; height: 50pt;
}
}
</style>
</head>
<body>
<div id="header_content">{% block header_content %}<img class="header" src="{% static 'blender_fund_main/images/bf-logo-text.png' %}" align="right" width="200" style="float: right">{% endblock %}</div>
<div id="footer_content">{% block footer_content %}
<p><strong>Stichting Blender Foundation</strong><br>
Buikslotermeerplein 161<br>
1025 ET Amsterdam, the Netherlands<br>
Tax number NL 8111.66.223
</p>{% endblock %}
</div>{% block main_content %}{% endblock %}
</body>
</html>