/* @font-face { font-family: "Quattrocento"; font-style: normal; src: url("Quattrocento-Regular.ttf"); } @font-face { font-family: "Quattrocento"; font-weight: bold; src: url("Quattrocento-Bold.ttf"); } @font-face { font-family: "Open Sans"; font-style: normal; src: url("OpenSans-VariableFont_wdth,wght.ttf"); } @font-face { font-family: "Open Sans"; font-style: italic; src: url("OpenSans-Italic-VariableFont_wdth,wght.ttf"); } */ @font-face { font-family: "EB Garamond"; font-style: normal; src: url("../fonts/EBGaramond12-Regular.otf"); } @font-face { font-family: "EB Garamond"; font-style: italic; src: url("../fonts/EBGaramond12-Italic.otf"); } /* @font-face { font-family: "EB Garamond"; font-style: normal; font-weight: normal; src: url("../fonts/EBGaramond-Regular.otf") format("opentype"); } @font-face { font-family: "EB Garamond"; font-style:italic; font-weight: normal; src: url("../fonts/EBGaramond-Italic.otf") format("opentype"); } */ /* @font-face { font-family: "EB Garamond"; font-style: normal; font-weight: bold; src: url("../fonts/EBGaramond-Bold.otf") format("opentype"); } @font-face { font-family: "EB Garamond"; font-style: italic; font-weight: bold; src: url("../fonts/EBGaramond-BoldItalic.otf") format("opentype"); } */ html { font-family: 'EB Garamond', sans-serif; /* font-kerning: normal; */ /* font-variant-ligatures: common-ligatures historical-ligatures; */ /* font-variant-numeric: oldstyle-nums; */ font-feature-settings: 'kern' on, 'liga' on, 'onum' on, 'dlig' on, 'clig' on, 'calt' on, 'hlig' off, 'swsh' on, 'locl' off; -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; } body { overflow: hidden; background-image: url('../images/brown-wooden-flooring.jpg'); background-position: center center; background-size: cover; background-repeat: no-repeat; } body.switched { transition: color 0.6s, background-color 0.6s; } :root { font-size: calc(var(--book-height)/(34 * 1.5)); --img-aspect-ratio: 1.613; --aspect-ratio: min(var(--viewport-aspect-ratio), var(--img-aspect-ratio)); } h1 { font-size: 2rem; margin-bottom: 0.8rem; text-align: center; text-transform:uppercase; font-weight: normal; } 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-feature-settings: "smcp"; } .subtitle { font-feature-settings: "scmp" off; } .separator { text-align: center; } /* Enables