aboutsummaryrefslogtreecommitdiffstats
path: root/printing_templates/Custom.html
blob: 52fdb4b497071e82118d2bba509692bf4e01d690 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<html>
<head>
	<style>
		body {
			background-color: white;
			padding: 0;
			margin: 0;
			font-size: {{ template_options.font_size }}vw;
			line-height: {{ template_options.line_spacing }};
			font-family: {{ template_options.font }};
		}

		h1 {
			float: left;
			font-size: {{ template_options.font_size }}vw;
		}

		.mainContainer {
			width: 96%;
			height: 100%;
			margin-left: 2%;
			margin-right: 2%;
			margin-top: 0%;
			margin-bottom: 0%;
			overflow: hidden;
			border-width: 0;
			page-break-inside: avoid;
		}

		.innerContainer {
			width: 98%;
			height: 98%;
			padding: 1%;
			overflow: hidden;
		}
	</style>
</head>
<body data-numberofdives = 1>
{% block main_rows %}
	{% for dive in dives %}
		<div class="mainContainer">
			<div class="innerContainer">
				<h1>This template is empty</h1>
				<!-- Template must be filled -->
			</div>
		</div>
	{% endfor %}
{% endblock %}
</body>
</html>