.infobox-root { float: right; min-width: 256px; } .infobox-title { font-size: 125%; } .infobox-title, .infobox-header { font-weight: bold; text-align: center; } @media screen and (width < 640px) { .infobox-root { float: unset; } }