diff options
author | Bernhard Posselt <Raydiation@users.noreply.github.com> | 2015-03-31 15:50:52 +0200 |
---|---|---|
committer | Bernhard Posselt <Raydiation@users.noreply.github.com> | 2015-03-31 15:50:52 +0200 |
commit | 53feecd0d175a12035d9fb3cba7eeb806ce307a3 (patch) | |
tree | 75d54f21764b4349723bc740d19a6f48850f9a17 | |
parent | 36f5199ba1d176fddb1ca78357209f05f0fbcf19 (diff) | |
parent | 2410729d1b4313ac163189faa0b0f42d06b6cdfe (diff) |
Merge pull request #759 from kgraefe/articleenhancer-sueddeutsche-de
Improve article enhancer for sueddeutsche.de
-rw-r--r-- | articleenhancer/xpathenhancers.json | 2 | ||||
-rw-r--r-- | css/custom.css | 9 |
2 files changed, 3 insertions, 8 deletions
diff --git a/articleenhancer/xpathenhancers.json b/articleenhancer/xpathenhancers.json index 00047ea96..7e1306d48 100644 --- a/articleenhancer/xpathenhancers.json +++ b/articleenhancer/xpathenhancers.json @@ -163,7 +163,7 @@ "%smashingmagazine.com%": "//article[contains(@class,'post')]/p" }, "sueddeutsche.de": { - "%sz.de%": "//article[@id='sitecontent']/section[@class='body']/*[not(contains(@class, 'ad'))]" + "%sz.de%": "//article[@id='sitecontent']/section[@class='topenrichment']//img | //article[@id='sitecontent']/section[@class='body']/section[@class='authors']/preceding-sibling::*[not(contains(@class, 'ad'))]" }, "lifehacker.com": { "%lifehacker.com%": "//div[contains(@class,'entry-content')]" diff --git a/css/custom.css b/css/custom.css index d019265dc..585e17212 100644 --- a/css/custom.css +++ b/css/custom.css @@ -15,11 +15,6 @@ padding: 0 0 0 15px; } -#app-content .custom-sueddeutsche-de img + span { - display: block; +#app-content .custom-sueddeutsche-de .body img { + float: none !important; } - - -#app-content .custom-sueddeutsche-de a + a { - display: block; -}
\ No newline at end of file |