mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Improve layout
Change Fonts Size
This commit is contained in:
parent
fa0279ec41
commit
14b4fca6f7
@ -35,7 +35,7 @@ class AppleDaily(BasicNewsRecipe):
|
||||
category = 'Chinese, News, Hong Kong'
|
||||
masthead_url = 'https://upload.wikimedia.org/wikipedia/commons/8/86/Apple_Daily_Title.svg'
|
||||
|
||||
extra_css = 'img {display: block; margin-left: auto; margin-right: auto; margin-top: 10px; margin-bottom: 10px; max-height:90%;} h1 {font-size:200%; text-align:left; font-weight:bold;} p[class=video-caption] {font-size:50%; margin-left:auto; margin-right:auto;}' # noqa
|
||||
extra_css = 'img {display: block; margin-left: auto; margin-right: auto; margin-top: 10px; margin-bottom: 10px; max-height:90%;} h1 {font-size:125%; text-align:left; font-weight:bold;} p{font-size:90%;} p[class=video-caption] {font-size:50%; margin-left:auto; margin-right:auto;}' # noqa
|
||||
keep_only_tags = [dict(name='div', attrs={'id': 'content-article'})]
|
||||
remove_tags = [dict(name='div', attrs={'class': 'prev-next-btn'}),
|
||||
dict(name='p', attrs={'class': 'next'})]
|
||||
|
Loading…
x
Reference in New Issue
Block a user