Tweak PM's WhatsApp

This commit is contained in:
Sophist 2023-07-14 15:29:53 +01:00 committed by GitHub
parent cb2f3f224c
commit 7cb2e21733
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -191,6 +191,7 @@ class PrivateEyeRecipe(BasicNewsRecipe):
'#content #story > div[align=right] > img:first-child {float: none; width: 15px;}', '#content #story > div[align=right] > img:first-child {float: none; width: 15px;}',
'#content #story > img:first-child {float: none; height: 100px; width: none; minimum-width: none;}', '#content #story > img:first-child {float: none; height: 100px; width: none; minimum-width: none;}',
'#content #block-sections img {float: none; width: none;}', '#content #block-sections img {float: none; width: none;}',
'#content #block-sections img.lookalike {float: none; width: 100%;}',
'#content #block-sections img.photo-right {float: right; width: 25%; min-width:120px; margin-left: 15px;}', '#content #block-sections img.photo-right {float: right; width: 25%; min-width:120px; margin-left: 15px;}',
'#content #block-sections > p:last-child > img:first-child {float: none; width: 120px;}', '#content #block-sections > p:last-child > img:first-child {float: none; width: 120px;}',
'#content #block-sections > p:last-child > img:nth-child(2) {float: none; width: 120px;}', '#content #block-sections > p:last-child > img:nth-child(2) {float: none; width: 120px;}',
@ -200,10 +201,10 @@ class PrivateEyeRecipe(BasicNewsRecipe):
'#caption-box {color: #ffffff; text-align: center; padding: 5px 20px 15px 20px;}', '#caption-box {color: #ffffff; text-align: center; padding: 5px 20px 15px 20px;}',
'#whatsapp {border-left: 5px #8aba60 solid; border-right: 5px #8aba60 solid; border-bottom: 5px #8aba60 solid; padding: 0 20px 20px 20px;}', '#whatsapp {border-left: 5px #8aba60 solid; border-right: 5px #8aba60 solid; border-bottom: 5px #8aba60 solid; padding: 0 20px 20px 20px;}',
'#whatsapp::after {clear:both;}', '#whatsapp::after {clear:both;}',
'.whatsapp-left, .whatsapp-right {margin: 20px 0px 0px 0px; padding: 15px; border-radius: 10px;}', '#whatsapp .whatsapp-left, .whatsapp-right {margin: 0 0 20px 0; padding: 15px; border-radius: 10px;}',
'.whatsapp-left, .whatsapp-right {font-family: Helvetica, Arial, "sans-serif"; font-weight: 300; font-size: 18px; line-height: 24px;}', '#whatsapp .whatsapp-left, .whatsapp-right {font-family: Helvetica, Arial, "sans-serif"; font-weight: 300; font-size: 18px; line-height: 24px;}',
'.whatsapp-left {text-align: left; margin-right: 30%; background-color: #eeeeee;}', '#whatsapp .whatsapp-left {text-align: left; margin-right: 30%; background-color: #eeeeee;}',
'.whatsapp-right {text-align: right; margin-left: 30%; background-color: #dce5ae;}', '#whatsapp .whatsapp-right {text-align: right; margin-left: 30%; background-color: #dce5ae;}',
'#whatsapp .whatsapp-left img, #whatsapp .whatsapp-right img {width: 35px; margin: 0 10px; vertical-align: middle;}', '#whatsapp .whatsapp-left img, #whatsapp .whatsapp-right img {width: 35px; margin: 0 10px; vertical-align: middle;}',
'#whatsapp .whatsapp-left img.emoji, #whatsapp .whatsapp-right img.emoji {max-width: 35px; margin: 0 5px; vertical-align: middle;}', '#whatsapp .whatsapp-left img.emoji, #whatsapp .whatsapp-right img.emoji {max-width: 35px; margin: 0 5px; vertical-align: middle;}',
]) ])