MediaWiki:Common.css: Difference between revisions
Appearance
Tags: Undo Reverted |
No edit summary Tag: Reverted |
||
| Line 7: | Line 7: | ||
margin: 1em 0 !important; | margin: 1em 0 !important; | ||
box-sizing: border-box; | box-sizing: border-box; | ||
} | |||
.infobox { | |||
display: table !important; | |||
} | |||
.infobox th, | |||
.infobox td { | |||
text-align: center !important; | |||
width: 50% !important; | |||
} | } | ||
} | } | ||
Revision as of 09:23, 7 August 2026
/* CSS placed here will be applied to all skins */
@media (max-width: 600px) {
.infobox {
float: none !important;
width: 100% !important;
max-width: 100% !important;
margin: 1em 0 !important;
box-sizing: border-box;
}
.infobox {
display: table !important;
}
.infobox th,
.infobox td {
text-align: center !important;
width: 50% !important;
}
}