html { font-family: monospace; font-size: large; background: linear-gradient(to bottom right, turquoise, teal); min-height: 100%; } body { display: grid; place-content: center; } dd-header { width: 100%; } dd-footer { width: 100%; } header { margin: 5px; height: 110px; display: flex; align-items: center; box-shadow: 5px 5px 5px; } footer { border: 3px black solid; background: turquoise; margin: 5px; text-align: center; box-shadow: 5px 5px 5px; } footer ul { padding: 0; } footer ul li { display: inline; } footer ul li + li::before { content: " | "; } #headerimg { border: 3px black solid; border-right: 0; max-height: 100%; object-fit: cover; flex: 1; } #headermain { background: turquoise; border: 3px black solid; text-align: center; height: 100%; flex: 4; } #headermain a { color: blue; text-decoration: none; text-transform: uppercase; text-align: center; } #headermain a:hover { text-decoration: underline; } #homelink { font-size: xx-large; font-weight: bold; text-decoration: none; } #usbimg { width: 256px; } nav { font-size: x-large; } nav ul { padding: 0; } nav ul li { display: inline; } nav ul li + li::before { content: " | "; } aside { background: turquoise; border: 3px black solid; margin: 5px; padding: 10px; box-shadow: 5px 5px 5px; } article { background: turquoise; border: 3px black solid; margin: 5px; padding: 20px; text-align: justify; hyphens: auto; box-shadow: 5px 5px 5px; } h1, h2, h3, h4, h5, h6 { text-align: left; } ul { padding-left: 2ch; } ol { padding-left: 3ch; } ol ol { list-style: lower-alpha } ol ol ol { list-style: lower-roman } @media screen and (min-width: 80ch) { main { min-width: 100%; display: flex; align-items: start; } aside { width: 30ch; flex: auto; position: sticky; top: 10px; } article { width: 80ch; flex: auto; } }