cleaning up news template

workspace
Brendan Howell 5 years ago
parent 356e98884d
commit 1d7b99b52f

@ -7,7 +7,7 @@
@media print {
@page {
size: A4;
margin: 1cm;
margin: 0.5cm 1cm 1cm 1cm;
}
}
html {
@ -43,8 +43,8 @@
}
#edition {
font-family: "Cormorant SC";
border-top: 2px solid black;
border-bottom: 2px solid black;
border-top: 1px solid black;
border-bottom: 1px solid black;
padding: 5px;
clear: both;
font-weight: 400;
@ -100,7 +100,6 @@
}
.mail .mailsender {
width: 25%;
word-break: break-all;
}
.mail .mailsubject {
width: 50%;
@ -143,15 +142,15 @@
<div id="columnspacer"> </div>
<div id="columns">
% for entry in news:
<div class="entry">
% if entry.img != " ":
<img src="${entry.img}" alt="img" />
% endif
<div class="title">${entry.title}</div>
<div class="source">${entry.source}</div>
<div class="summary">${entry.summary}</div>
<div class="barcode">${entry.svg}</div>
</div>
<div class="entry">
% if entry.img != " ":
<img src="${entry.img}" alt="img" />
% endif
<div class="title">${entry.title}</div>
<div class="source">${entry.source}</div>
<div class="summary">${entry.summary}</div>
<div class="barcode">${entry.svg}</div>
</div>
% endfor
</div>
% if len(inbox) > 0:

Loading…
Cancel
Save