@font-face { font-family: "EB Garamond 12"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/EBGaramond12/webfonts/EBGaramond-Regular.woff2") format("woff2"), url("../fonts/EBGaramond12/otf/EBGaramond-Regular.otf") format("opentype"); } @font-face { font-family: "EB Garamond 12"; font-style: italic; font-weight: 400; font-display: swap; src: url("../fonts/EBGaramond12/webfonts/EBGaramond-Italic.woff2") format("woff2"), url("../fonts/EBGaramond12/otf/EBGaramond-Italic.otf") format("opentype"); } @font-face { font-family: "EB Garamond 12"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/EBGaramond12/webfonts/EBGaramond-Bold.woff2") format("woff2"), url("../fonts/EBGaramond12/otf/EBGaramond-Bold.otf") format("opentype"); } @font-face { font-family: "EB Garamond 12"; font-style: italic; font-weight: 700; font-display: swap; src: url("../fonts/EBGaramond12/webfonts/EBGaramond-BoldItalic.woff2") format("woff2"), url("../fonts/EBGaramond12/otf/EBGaramond-BoldItalic.otf") format("opentype"); } @font-face { font-family: "EB Garamond Initials"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/EB-Garamond-Initials/EBGaramond-0.016/otf/EBGaramond-Initials.otf") format("opentype"), url("../fonts/EB-Garamond-Initials/EBGaramond-0.016/ttf/EBGaramond-Initials.ttf") format("truetype"); } html { font-family: 'EB Garamond 12', serif; font-synthesis: none; font-kerning: normal; font-variant-ligatures: common-ligatures contextual discretionary-ligatures; font-variant-numeric: oldstyle-nums proportional-nums; font-feature-settings: 'kern' on, 'liga' on, 'onum' on, 'pnum' on, 'dlig' on, 'clig' on, 'calt' on, 'hlig' off, 'swsh' on; -webkit-font-smoothing: antialiased; } sup { font-feature-settings: "sup" on; /* vertical-align: inherit; */ font-size: inherit; } /* sub { font-feature-settings: "subs" on; } */ double { font-size: 2rem; vertical-align: -10%; opacity: 0.8; } double.separator { display: block; margin: 2rem auto 3rem auto; } html, body { height: 100%; margin: 0; display: flex; align-items: center; justify-content: center; cursor: var(--default-cursor, default); } body { overflow: hidden; background-image: url('../images/mat.png'); background-position: center center; background-size: cover; background-repeat: no-repeat; } body.switched { transition: color 0.6s, background-color 0.6s; } :root { --book-font: 'EB Garamond 12'; --book-width: 1421px; --book-height: 799px; --book-scale: 1; --page-line-count: 25; --book-page-top: 4.00%; --book-page-bottom: 19%; --book-page-height: calc(100% - var(--book-page-top) - var(--book-page-bottom)); --book-left-page-left: 14%; --book-left-page-width: 34.9%; --book-right-page-right: 14%; --book-right-page-width: 34%; --book-page-perspective: 3200px; --book-left-page-transform: none; --book-right-page-transform: none; --story-line-height: calc((var(--book-height) * 0.77) / var(--page-line-count)); --story-font-size: calc(var(--story-line-height) / 1.45); --img-aspect-ratio: 1.779; --aspect-ratio: min(var(--viewport-aspect-ratio), var(--img-aspect-ratio)); --ink-text: rgba(36, 25, 15, 0.94); --ink-strong: rgba(30, 20, 12, 0.98); --ink-muted: rgba(82, 62, 39, 0.82); --ink-disabled: rgba(74, 54, 33, 0.78); --rule-brown: rgba(105, 75, 42, 0.34); --panel-paper: rgba(228, 202, 149, 0.97); --panel-paper-soft: rgba(255, 246, 220, 0.24); --panel-border: rgba(62, 42, 24, 0.46); --control-radius: 0.22rem; --ui-menu-font-size: 0.82rem; --ui-modal-font-size: calc(var(--story-line-height) * 0.85); font-size: calc(var(--book-height)/(34 * 1.5)); } h1 { font-size: 2rem; margin-bottom: 0.8rem; text-align: center; text-transform:uppercase; font-weight: normal; font-variant-caps: all-small-caps; font-feature-settings: 'smcp' on, 'c2sc' on, 'kern' on, 'liga' on; } h2 { font-size: 1.2rem; text-align: center; font-weight: normal; } h2.chapter-heading { font-style: italic; margin: 2rem auto 3rem auto; } h3 { font-size: 1.2rem; text-align: center; font-weight: normal; } .header { padding-top: 3rem; padding-bottom: 3rem; } /* Built-in class: # author: Name */ .byline { font-variant-caps: all-small-caps; font-feature-settings: "smcp" on, "c2sc" on, "kern" on, "liga" on; } .subtitle { font-feature-settings: "scmp" off; } .separator { text-align: center; } /* Enables