#hostmeminfo, #hostnetinfo { width: 256px; height: 160px; image-rendering: pixelated; border: 1px solid var(--text); } .stat { h2 { margin: 0; } p:first-of-type { margin-top: 0; } } #stats { display: grid; grid-template-columns: 1fr 1fr; column-gap: 0.5rem; } /* too-narrow. "mobile" style */ @media (max-width: 50rem) { #stats { display: flex; flex-direction: column; row-gap: 0.5rem; } }