From 0baff37fd0c20a75a7768983e930c57dc18f9cff Mon Sep 17 00:00:00 2001 From: Kennyl Date: Mon, 23 Jan 2017 23:43:37 +0800 Subject: [PATCH] Change Font Size From 12 to 10 for better experience in ereader --- recipes/apple_daily.recipe | 2 ++ 1 file changed, 2 insertions(+) diff --git a/recipes/apple_daily.recipe b/recipes/apple_daily.recipe index be0f3b6196..0586d2ebc2 100644 --- a/recipes/apple_daily.recipe +++ b/recipes/apple_daily.recipe @@ -36,6 +36,8 @@ class AppleDaily(BasicNewsRecipe): category = 'Chinese, News, Hong Kong' 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 keep_only_tags = [dict(name='div', attrs={'id': 'content-article'})] remove_tags = [dict(name='div', attrs={'class': 'prev-next-btn'}),