From 4e9f97d72cd3cf536f257d27ff61ca5786173091 Mon Sep 17 00:00:00 2001 From: "ilker m. sitki" Date: Wed, 4 Sep 2024 13:46:57 +0200 Subject: [PATCH] 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 --- recipes/salzburger_nachrichten.recipe | 3 +++ 1 file changed, 3 insertions(+) diff --git a/recipes/salzburger_nachrichten.recipe b/recipes/salzburger_nachrichten.recipe index 1b2ceb72f7..f5302d41e1 100644 --- a/recipes/salzburger_nachrichten.recipe +++ b/recipes/salzburger_nachrichten.recipe @@ -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'}),