MediaWiki:Common.css: Difference between revisions
Appearance
No edit summary Tags: Manual revert Reverted |
Tag: Undo |
||
| Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* 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; | |||
} | |||
} | |||
Revision as of 07:37, 8 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;
}
}