page wrappings

This commit is contained in:
Sanj 2012-01-31 05:09:51 +05:30
parent 2af29592d5
commit 4d469a54a5
3 changed files with 1632 additions and 1260 deletions

View File

@ -17,6 +17,10 @@ body {
page-break-inside: avoid;
}
.subs {
page-break-before: avoid;
}
.subText {
overflow: hidden;
@ -53,3 +57,7 @@ body {
margin-bottom: 32px;
}
.headerWrapper {
page-break-after: avoid;
page-break-inside: avoid;
}

File diff suppressed because it is too large Load Diff

View File

@ -6,6 +6,7 @@
<body>
{% for f in files %}
<div class="fileWrapper">
<div class="headerWrapper">
<h3 class="title"><span class="counter">{{ f.serial }}. </span>{{ f.title }}</h3>
{% for person in f.bios %}
<div class="people"><span class="personName">{{ person.name }}</span>: {{ person.bio }}</div>
@ -14,6 +15,7 @@
<div class="date">Date: {{ f.dateStr }}</div>
<div class="time">Time: {{ f.time }}</div>
</div>
</div>
<div class="subs">
{% for s in f.subs %}
<div class="sub">