MediaWiki:Minerva.css: Difference between revisions

Created page with "→All CSS here will be loaded for users of the MinervaNeue skin: →=== Wikipedia-style full-width infobox on mobile ===: .infobox { float: none !important; width: 100% !important; max-width: 100% !important; margin: 0 0 1em 0 !important; } .infobox-above { text-align: center; font-size: 1.4em; padding: 0.6em 0.4em; } .infobox-image img { width: 100% !important; height: auto !important; display: block; } .infobox-caption { text-align: cente..."
 
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 30: Line 30:
.infobox td {
.infobox td {
   padding: 0.5em 0.6em;
   padding: 0.5em 0.6em;
}
/* Mobile-only full width infobox */
table.infobox {
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
}
}