html, body { height: 100%; } .pseudo-pre { font-family: monospace; white-space: pre-line; margin: 1em 0; } .page-center { display: flex; justify-content: center; align-items: center; height: 100%; }