MediaWiki:Common.css: Difference between revisions

No edit summary
Tag: Reverted
No edit summary
Tag: Manual revert
 
(3 intermediate revisions by the same user not shown)
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;
    }
}

Latest revision as of 11:16, 25 May 2025

/* CSS placed here will be applied to all skins */