recipes: lwn_weekly: distinguish quotes by font style

Quotes and block quotes are widely used in LWN articles and
distinguished from other text by quotation marks and color.
Grayscale displays of ebook readers can't highlight them with
color, so change text style to italic for better reading experience.

Signed-off-by: Sergiy Kibrik <sakib@meta.ua>
This commit is contained in:
Sergiy Kibrik 2014-10-21 12:07:25 +03:00 committed by Kovid Goyal
parent 2d244339ee
commit a51338f8f6

View File

@ -17,9 +17,9 @@ class WeeklyLWN(BasicNewsRecipe):
language = 'en' language = 'en'
site_url = u'http://lwn.net' site_url = u'http://lwn.net'
extra_css = 'pre,code,samp,kbd,tt { font-size: 80% }\nblockquote {margin-left:0 }\n* { color: black }\n'
no_stylesheets = True no_stylesheets = True
remove_javascript = 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'
cover_url = site_url + '/images/lcorner.png' cover_url = site_url + '/images/lcorner.png'
# masthead_url = 'http://lwn.net/images/lcorner.png' # masthead_url = 'http://lwn.net/images/lcorner.png'