MediaWiki:Common.css: Difference between revisions

No edit summary
Tag: Manual revert
No edit summary
Line 340: Line 340:
.mw-parser-output > .infobox + p {
.mw-parser-output > .infobox + p {
     margin-top: 0 !important;
     margin-top: 0 !important;
}
/* Compact infobox rows */
.infobox th,
.infobox td {
  padding: 2px 6px !important;
  line-height: 1.1em !important;
  vertical-align: middle;
}
/* Make background alternating cleaner and not add extra height */
.infobox tr:nth-child(even) td {
  background-color: #f9f9f9;
}
/* Prevent the whole infobox from forcing extra internal spacing */
.infobox {
  border-collapse: collapse !important;
  width: 300px;
  font-size: 90%;
}
}