mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Change Font Size
From 12 to 10 for better experience in ereader
This commit is contained in:
parent
f1088f4f53
commit
0baff37fd0
@ -36,6 +36,8 @@ class AppleDaily(BasicNewsRecipe):
|
|||||||
category = 'Chinese, News, Hong Kong'
|
category = 'Chinese, News, Hong Kong'
|
||||||
masthead_url = 'https://upload.wikimedia.org/wikipedia/commons/8/86/Apple_Daily_Title.svg'
|
masthead_url = 'https://upload.wikimedia.org/wikipedia/commons/8/86/Apple_Daily_Title.svg'
|
||||||
|
|
||||||
|
conversion_options = { 'base_font_size' : 10 }
|
||||||
|
|
||||||
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:200%; text-align:left; font-weight:bold;} p[class=video-caption] {font-size:50%; margin-left:auto; margin-right:auto;}' # noqa
|
||||||
keep_only_tags = [dict(name='div', attrs={'id': 'content-article'})]
|
keep_only_tags = [dict(name='div', attrs={'id': 'content-article'})]
|
||||||
remove_tags = [dict(name='div', attrs={'class': 'prev-next-btn'}),
|
remove_tags = [dict(name='div', attrs={'class': 'prev-next-btn'}),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user