mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
add extra_css
it is added to make the color of the h1 and h2 tags convenient to sn's color Changes to be committed: modified: salzburger_nachrichten.recipe
This commit is contained in:
parent
1dd220e709
commit
4e9f97d72c
@ -15,6 +15,9 @@ class SalzburgerNachrichten(BasicNewsRecipe):
|
||||
ignore_duplicate_articles = {'url'}
|
||||
cover_url = 'https://front.e-pages.dk/data/teasers/salzburgernachrichten/308/vector/ts1.jpg'
|
||||
|
||||
extra_css = '''.article-title {font-size: 1.5em; color: #0358a9;}
|
||||
h2 {font-size: 1.2em; color: #0358a9;}'''
|
||||
|
||||
keep_only_tags = [
|
||||
dict(name='h1', attrs={'class': 'article-title'}),
|
||||
dict(name='div', attrs={'class': 'article-author'}),
|
||||
|
Loading…
x
Reference in New Issue
Block a user