8,290
edits
(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: | /* 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; | |||
} | |||
} | } | ||