MediaWiki:Common.css: Difference between revisions

no edit summary
m (Protected "MediaWiki:Common.css" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
No edit summary
Tag: Reverted
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/* CSS placed here will be applied to all skins */
/* Infobox responsive */
.infobox-wrapper {
    float: right;
    clear: right;
    margin: 0 0 1em 1em;
    width: 250px;
}
@media screen and (max-width: 768px) {
    .infobox-wrapper {
        float: none !important;
        clear: both !important;
        width: 100% !important;
        margin: 1em 0 !important;
        box-sizing: border-box;
    }
   
    .infobox-wrapper table {
        width: 100% !important;
    }
   
    .infobox-wrapper img {
        max-width: 100% !important;
        height: auto !important;
    }
}