MediaWiki:Common.css: Difference between revisions

360 bytes added ,  17:18, 14 December 2020
fix ambox / infobox interaction issues
(additional tooltip adjustment)
(fix ambox / infobox interaction issues)
Line 697: Line 697:
font-size: 95%;
font-size: 95%;
margin: 0 auto 2px;
margin: 0 auto 2px;
width: 80%;
    /* fit ambox to 100% minus infobox width - this prevents the amboxes
    from unintentionally pushing content down below the float:right infoboxes */
    width: calc(100% - 276px - 1em);
}
@media screen and (max-width: 511px) {
/* at 511px, mediawiki expands the infobox to full width, so we do the
same with the ambox */
    table.ambox {
        width: auto;
    }
}
}