RPGs3_card_insanity/templates/all.html.j2

43 lines
578 B
Plaintext
Raw Normal View History

<style>
@page
{
size: auto;
margin: 0.5cm;
}
body {
background-color: white;
margin: 0;
padding: 0;
-webkit-print-color-adjust: exact;
}
.card_wrapper {
width: 2.5in;
height: 3.5in;
float: left;
border: 1px solid transparent;
page-break-inside: avoid;
}
iframe {
margin: 0px;
padding: none;
border: none;
width:2.5in;
height:3.5in;
overflow: hidden;
page-break-inside: avoid;
}
</style>
<div>
{% for cardname in cards %}
<div class="card_wrapper">
<iframe src="{{ cardname }}" scrolling=no></iframe>
</div>
{% endfor %}
</div>