remove news header border. fix Post title wrapping.

workspace
Brendan Howell 4 years ago
parent 73a3400110
commit 265c9c516e

@ -12,22 +12,16 @@
content: counter(page); content: counter(page);
font-size: 11px; font-size: 11px;
font-family: "Cormorant SC"; font-family: "Cormorant SC";
border-top: 1px solid black;
border-bottom: 1px solid black;
} }
@top-center { @top-center {
content: "Yesterday's Tomorrows"; content: "Yesterday's Tomorrows";
font-size: 11px; font-size: 11px;
font-family: "Cormorant SC"; font-family: "Cormorant SC";
border-top: 1px solid black;
border-bottom: 1px solid black;
} }
@top-right { @top-right {
content: '${date}'; content: '${date}';
font-size: 11px; font-size: 11px;
font-family: "Cormorant SC"; font-family: "Cormorant SC";
border-top: 1px solid black;
border-bottom: 1px solid black;
} }
} }
@page :first { @page :first {
@ -201,7 +195,7 @@
<div class="weatherday"> <div class="weatherday">
<h6>Today</h6> <h6>Today</h6>
% for period in forecast: % for period in forecast:
% if (daycount <= 4) and (period["day"] != curr_day): % if (daycount <= 3) and (period["day"] != curr_day):
<% <%
daycount += 1 daycount += 1
curr_day = period["day"] curr_day = period["day"]
@ -210,7 +204,7 @@
<div class="weatherday"> <div class="weatherday">
<h6>${period["day"]}</h6> <h6>${period["day"]}</h6>
% endif % endif
% if daycount <= 3: % if daycount <= 4:
<div class="weatherperiod"> <div class="weatherperiod">
<img src="file://${period['symbol']}" /> <img src="file://${period['symbol']}" />
<p class="weathertime">${period["period"]}</p> <p class="weathertime">${period["period"]}</p>
@ -221,7 +215,7 @@
</div> </div>
</div> </div>
% if len(inbox) > 0: % if len(inbox) > 0:
<div id="email"> <div id="email" class="clearfloats">
<h2>Post</h2> <h2>Post</h2>
% for msg in inbox: % for msg in inbox:
<div class="mail"> <div class="mail">

Loading…
Cancel
Save