MediaWiki:Minerva.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary Tags: Manual revert Mobile edit Mobile web edit |
No edit summary |
||
| (One intermediate revision 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; | |||
} | } | ||
Latest revision as of 17:42, 10 February 2026
/* 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: center;
font-size: 0.9em;
padding: 0.4em;
}
.infobox th,
.infobox td {
padding: 0.5em 0.6em;
}
/* Mobile-only full width infobox */
table.infobox {
width: 100% !important;
max-width: 100% !important;
float: none !important;
}