From 29fd4d5b2e2327568ce72e3b316d665e0083bcdf Mon Sep 17 00:00:00 2001 From: Sergiy Kibrik Date: Fri, 7 Nov 2014 21:26:08 +0200 Subject: [PATCH] recipes: lwn_weekly: outline quize box & authors Fill authors names in articles headers with bg color to separate them from article body. The same for quiz boxes, plus outline them with border line, as they're put directly within article's text. Signed-off-by: Sergiy Kibrik --- recipes/lwn_weekly.recipe | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/recipes/lwn_weekly.recipe b/recipes/lwn_weekly.recipe index 68d010857b..407a0fea94 100644 --- a/recipes/lwn_weekly.recipe +++ b/recipes/lwn_weekly.recipe @@ -19,7 +19,12 @@ class WeeklyLWN(BasicNewsRecipe): no_stylesheets = True remove_javascript = True - extra_css = 'pre,code,samp,kbd,tt { font-size: 80% }\nblockquote {margin-left:0 }\nDIV.BigQuote,SPAN { font-style:oblique }\n* { color: black }\n' + extra_css = '''pre,code,samp,kbd,tt { font-size: 80% } + blockquote {margin-left:0 } + DIV.BigQuote,SPAN { font-style:oblique } + DIV.FeatureByline,DIV.GaByline { background-color:#EEE } + DIV.tlr { background-color:#EED; border-style:groove; } + * { color: black }''' cover_url = site_url + '/images/lcorner.png' # masthead_url = 'http://lwn.net/images/lcorner.png'