Skip to content

Instantly share code, notes, and snippets.

@L3viathan
Created January 27, 2021 09:39
Show Gist options
  • Select an option

  • Save L3viathan/92c34f6b05c7af6e44940857bbdd7dde to your computer and use it in GitHub Desktop.

Select an option

Save L3viathan/92c34f6b05c7af6e44940857bbdd7dde to your computer and use it in GitHub Desktop.
Undo some of the mayhem caused by the recent tagesschau.de redesign.
@-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