* { box-sizing: border-box; } html, body { margin: 0; font-size: 24px; font-family: serif; } header { display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 64px; } .last-update { text-transform: lowercase; font-family: sans-serif; font-size: 0.75rem; margin: 1em; color: #aaa; } .chapter { max-width: 80ch; margin-inline: auto; padding-inline: 32px; } .chapter img { max-width: 100%; object-fit: contain; } .chapter + .chapter { margin-top: 256px; } h1, h2, h3 { font-family: sans-serif; margin: 2em auto; } h2 { color: white; background-color: black; width: fit-content; margin: 128px auto; text-align: center; } a { color: tomato; text-decoration: none; } pre, code { white-space: pre-wrap; } .language-note, .language-todo { margin: 32px auto; font-family: sans-serif; display: inline-block; width: auto; padding: 1ch; color: #aaa; border: 1px solid #aaa; position: relative; white-space: pre-wrap; } .language-note:before, .language-todo:before { padding: 0.1ch; position: absolute; top: 0; translate: calc(-1ch + -1px) -100%; display: inline-block; background-color: #aaa; color: white; } .language-note:before { content: "Note"; } .language-todo:before { content: "TO DO"; } .language-placeholder { position: relative; margin: 48px auto; display: flex; flex-direction: column; border: 1px dashed currentColor; justify-content: center; align-items: center; padding: 32px 32px; border-radius: 50%; font-family: sans-serif; text-align: center; } .language-placeholder:before { content: "placeholder"; text-transform: uppercase; font-size: 0.8rem; color: #aaa; } @media print { body { font-size: 14px; } img { max-width: 10cm; max-height: 10cm; object-fit: contain; } h1, h2, h3 { margin-top: 0; margin: 0; } .chapter { max-width: 100%; } .chapter + .chapter { margin-top: 32px; } }