Module:Infobox/styles.css: Difference between revisions

Limit the !important's to inline style override
Use display table-caption for captions
Line 66: Line 66:
   body.skin--responsive .infobox-table {
   body.skin--responsive .infobox-table {
     display: table !important;
     display: table !important;
  }
  body.skin--responsive .infobox-table > caption {
    display: table-caption !important;
   }
   }
   body.skin--responsive .infobox-table > tbody,
   body.skin--responsive .infobox-table > tbody,
  body.skin--responsive .infobox-table > caption,
   body.skin--responsive .infobox-table tr {
   body.skin--responsive .infobox-table tr {
     display: table-row !important;
     display: table-row !important;