body { font-variant-numeric: oldstyle-nums; orphans: 3; widows: 3; } body * { font-variant-numeric: inherit; orphans: inherit; widows: inherit; } p { text-indent: 1.5rem; hyphens: auto; -epub-hyphens: auto; margin: 0; } h1, h2, h3, h4, h5, h6 { font-variant-numeric: lining-nums; text-align: left; page-break-after: avoid; break-after: avoid; page-break-inside: avoid; break-inside: avoid; } h1 + *, h2 + *, h3 + *, h4 + *, h5 + *, h6 + * { page-break-before: avoid; break-before: avoid; page-break-inside: avoid; break-inside: avoid; } h1 + p, h2 + p, h3 + p, h4 + p, h5 + p, h6 + p, table + p, ol + p, ul + p, br + p, hr + p, blockquote + p, p:first-child { text-indent: 0; } sup, sub { line-height: 1.2; } .title-page { font-variant: small-caps; page-break-inside: avoid; break-inside: avoid; margin-top: 7.5rem; } .title { font-size: 2rem; font-variant-numeric: lining-nums; font-weight: bold; text-align: center; text-indent: 0; margin: 0; margin-top: 0.75rem; } .author { font-size: 1.35rem; text-align: center; text-indent: 0; margin: 0; margin-top: 2.5rem; } .chapter { font-size: 1.4rem; font-variant: small-caps; font-variant-numeric: lining-nums; text-align: center; text-indent: 0; margin: 0; } .chapter + p { text-indent: 0; margin-top: 1rem; } .space { text-indent: 0; margin-top: 1rem; margin-bottom: 1rem; }