Created
January 27, 2021 09:39
-
-
Save L3viathan/92c34f6b05c7af6e44940857bbdd7dde to your computer and use it in GitHub Desktop.
Undo some of the mayhem caused by the recent tagesschau.de redesign.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @-moz-document domain("tagesschau.de") { | |
| .teasergroup { | |
| display: flex; | |
| flex-wrap: wrap; | |
| } | |
| .teaser:not(.teaser--top) { | |
| flex-basis: 50%; | |
| } | |
| .teaser:not(.teaser--top) > .teaser__link > .columns.twelve.m-six:first-child, | |
| .teaser:not(.teaser--top) > .columns.twelve.m-six:first-child { | |
| display: none; | |
| } | |
| .teaser:not(.teaser--top) > .teaser__link > .columns.twelve.m-six:last-child, | |
| .teaser:not(.teaser--top) > .columns.twelve.m-six:not(:first-child) { | |
| width: 100%; | |
| } | |
| .teaser:not(.teaser--top) .teaser__label > .label { | |
| font-size: 1.2rem; | |
| } | |
| .teaser:not(.teaser--top) .teaser__topline { | |
| font-size: 1.4rem; | |
| margin-bottom: .6rem; | |
| } | |
| .teaser:not(.teaser--top) .teaser__headline { | |
| font-size: 2.2rem; | |
| margin-bottom: 1rem; | |
| } | |
| .teaser:not(.teaser--top) .teaser__shorttext { | |
| font-size: 1.7rem; | |
| padding-bottom: 3rem; | |
| } | |
| .teaser:not(.teaser--top) .mubu-container__infotext { | |
| font-size: 1.4rem; | |
| } | |
| .teaser__media { | |
| display: none; | |
| } | |
| body { | |
| background: url(resources/framework/img/tagesschau/background/base.jpg) fixed; | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment