MediaWiki:Common.css: Difference between revisions

no edit summary
No edit summary
Tag: Reverted
No edit summary
Tag: Manual revert
Line 1,185: Line 1,185:
   border-radius: 6px;
   border-radius: 6px;
}
}
.tweet-media .mw-default-size {
  background: transparent;
  border: 0;
  padding: 0;
  margin: 0;
  display: block;
}
/* Flatten MediaWiki wrappers inside tweet media */
.tweet-media .mw-default-size,
.tweet-media a.image {
  display: contents !important;  /* removes their background/border/padding boxes */
}
/* Ensure the image itself fills the grid cell */
.tweet-media img.mw-file-element {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
}
.tweet-media p,
.tweet-media figure { margin: 0 !important; }