From 265c9c516e8fd2766351968107e698914d9d10ff Mon Sep 17 00:00:00 2001 From: Brendan Howell Date: Wed, 5 Aug 2020 09:26:34 +0200 Subject: [PATCH] remove news header border. fix Post title wrapping. --- screenless/bureau/publications/news.html | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/screenless/bureau/publications/news.html b/screenless/bureau/publications/news.html index 7b5976f..55cc7f1 100644 --- a/screenless/bureau/publications/news.html +++ b/screenless/bureau/publications/news.html @@ -12,22 +12,16 @@ content: counter(page); font-size: 11px; font-family: "Cormorant SC"; - border-top: 1px solid black; - border-bottom: 1px solid black; } @top-center { content: "Yesterday's Tomorrows"; font-size: 11px; font-family: "Cormorant SC"; - border-top: 1px solid black; - border-bottom: 1px solid black; } @top-right { content: '${date}'; font-size: 11px; font-family: "Cormorant SC"; - border-top: 1px solid black; - border-bottom: 1px solid black; } } @page :first { @@ -201,7 +195,7 @@
Today
% for period in forecast: - % if (daycount <= 4) and (period["day"] != curr_day): + % if (daycount <= 3) and (period["day"] != curr_day): <% daycount += 1 curr_day = period["day"] @@ -210,7 +204,7 @@
${period["day"]}
% endif - % if daycount <= 3: + % if daycount <= 4:

${period["period"]}

@@ -221,7 +215,7 @@
% if len(inbox) > 0: -
+

Post

% for msg in inbox: