/** BASE **/ /* Márgenes */ body { font-family: sans-serif; margin: 0; padding: 0 20px; } body * { line-height: 1.5; } /* Control partición silábica */ #titlepage p, #dedication p, h1, h2, h3, h4 { page-break-after: avoid; hyphens: none; adobe-hyphenate: none; -moz-hyphens: none; -webkit-hyphens: none; } p, li, td, dt, dd { -webkit-hyphenate-limit-before: 3; -webkit-hyphenate-limit-after: 1; -webkit-hyphenate-limit-lines: 2; orphans: 2; widows: 2; } /** FRONTMATTER **/ /* Cubierta */ .cover { margin: 0; padding: 0; text-align: center; text-indent: 0; } img.cover { height: 100%; } /* Contracubierta */ .backcover { margin: 0; padding: 0; text-align: center; text-indent: 0; } img.backcover { max-height: 100%; } /* Portadilla */ #titlepage { break-inside: avoid; page-break-inside: avoid; text-align: center; text-indent: 0; } #titlepage p { font-family: inherit; text-align: center; text-indent: 0; } #titlepage p.author { font-size: .7em; margin: 0 auto; padding: 0; text-align: left; } #titlepage p.title { clear: both; font-size: 2.5em; line-height: 1.2; margin: 1em auto; padding: 0; text-align: left; text-decoration: none; } span.small { display: block; font-size: .5em; } #titlepage p.title span.big { display: block; font-size: 2em; } #titlepage p.subtitle { font-size: 1.5em; font-weight: bold; margin-bottom: 1.5em; text-align: left; } #titlepage p.publisher { margin: 12em auto 0; text-align: center; width: 5em; } /* Créditos */ #copyright-page { margin: 4em 2em 0 0; } #copyright-page div + div { margin: 1em 0 0 0; } #copyright-page p { font-family: serif; font-size: .8em; margin: 0; text-align: left; text-indent: 0; } /* Sinopsis */ #summary * { color: #000; font-family: sans-serif; } #summary h1 { font-size: 1.2em; font-weight: bold; text-align: center; text-decoration: none; } #summary li { margin: 0; } #summary p { margin: 0; } #summary p + p { text-indent: 1em; } /* Índice */ #toc { display: none; } #toc ol { list-style-type: none !important; margin: 1em 0; padding: 0; } #toc li { font-size: 1em; margin: .75em 0; padding: 0; text-align: left; } #toc li ol { margin: 0 0 0 1em; } #toc li li { margin: 0; } #toc li span.label { display: block; } #toc li span.title { font-weight: bold; } #toc a { color: #000; font-weight: normal; page-break-inside: avoid; text-decoration: none !important; } /* Subcapítulos */ div.subchapter { break-before: always; page-break-before: always; } /* BODYMATTER */ /* Estilos generales */ h1 { font-size: 2.5em; font-style: normal; font-weight: bold; margin: 2em 0 1em 0; padding: 0; text-align: left; text-indent: 0; text-decoration: underline; } h2 { font-size: 2em; font-style: normal; font-weight: bold; margin: 2em 0 .4em 0; padding: 0; text-align: center; text-indent: 0; } h3 { font-size: 1.5em; font-style: normal; font-weight: bold; margin: 1em 0; padding: 0; text-align: left; text-indent: 0; text-decoration: underline; } p.bridgehead { font-size: 1.2em; font-style: normal; font-weight: bold; margin: 1em 0; padding: 0; text-align: left; text-indent: 0; text-decoration: underline; } p { font-size: 1em; margin: 1em 0; padding: 0; line-height: 1.5; text-align: left; text-indent: 0; } a { color: #00F; font-family: monospace; font-weight: bold; text-decoration: none; } abbr { border: 0; text-decoration: none; white-space: nowrap; } i cite, cite i { font-style: normal; } cite { display: inline; font-style: italic; } hr { border: none !important; height: 1em; margin: .25em 0; } hr + p { text-indent: 0 !important; } img { margin: 0; max-width: 100%; padding: 0; } q { font-style: italic; } q i { font-style: normal; } q:before { content: ""; } q:after { content: ""; } sub, sup { font-size: .7em; } /* Listas */ ol { margin: 1em 0 1em 0; padding: 0 0 0 1.25em; } ul { list-style: disc; margin: 1em 0 1em 0; padding: 0 0 0 1.25em; } ol ul { margin: 0 0 0 0; } li { font-size: 1em; margin: 0; padding: 0; text-align: left; text-indent: 0; } li p { font-size: 1em; text-indent: 0; } .lower-alpha { list-style: lower-alpha; margin-left: 1em; } .upper-alpha { list-style: upper-alpha; } ol.indent { margin-left: 1em; } ul.none { list-style: none; margin: 1em 0 1em 1em; padding: 0; } /* Páginas */ span.page-ref { display: none; } /* Figuras y captions */ div.figure { margin: 1em auto; break-inside: avoid; page-break-inside: avoid; text-align: center; width: 100%; } div.w50, div.figure-50 { margin: 1em auto; break-inside: avoid; page-break-inside: avoid; text-align: center; width: 50%; } div.figure-75 { margin: 1em auto; break-inside: avoid; page-break-inside: avoid; text-align: center; width: 75%; } img { box-sizing: border-box; object-fit: contain; max-height: 98%; text-align: center; } span.inline-image img { height: 1em; padding-right: .1em; vertical-align: middle; } div.figcaption p { font-size: .8em; text-indent: 0; } div.separator { margin: 0; page-break-before: always; page-break-inside: avoid; page-break-after: always; text-align: center; } div.separator img { object-fit: contain; height: 100%; max-height: 100%; max-width: 100%; page-break-inside: avoid; text-align: center; } div.icon { break-after: avoid; page-break-after: avoid; margin: 1em 0; text-align: left; width: 100%; } div.icon img { max-height: 80%; page-break-inside: avoid; text-align: left; max-width: 30%; width: 4.5em; } /* Seudoversalitas */ span.sc { font-size: .8em; } /* Citas de bloque */ blockquote { margin: 1em 0 1em 1em; } blockquote p { font-size: 1em; text-indent: 0; } /* Firmas */ div.signature { break-before: avoid; page-break-before: avoid; break-inside: avoid; page-break-inside: avoid; margin-top: 1.5em; } div.signature p { font-style: italic; text-align: right; } /* Menús */ p.tipo-plato { break-after: avoid; page-break-after: avoid; font-weight: bold; margin: 1em 0 0 0; } p.plato { font-weight: normal; margin: 0 0 0 0; } div.section p.lead, p.leader { break-after: avoid; page-break-after: avoid; font-weight: bold; margin: 1em 0; text-decoration: underline; } div.section p.time { margin: 1em 0; } div.section p.time span.label { font-weight: bold; text-decoration: underline; } div.section p.time span.value { font-weight: normal; text-decoration: none; } div.section p.next { font-weight: bold; text-decoration: underline; } div.section p { margin: 0; } div.section p.bridgehead { margin: 1em 0; } div.section p.step { margin: 1em 0; } div.section p.tipo-plato { margin-top: 1em; } div.section p.plato { margin-top: 1em; } div.section p.tipo-plato + p.plato { margin-top: 0; } div.section div.notice { border: 1px solid currentColor; margin: 1em 0; padding: .5em; } div.section ul { margin-top: 0; } div.menu { break-before: always; page-break-before: always; } p.title { break-after: avoid; page-break-after: avoid; font-size: 1.4em; font-weight: bold; margin-bottom: 1em; text-decoration: underline; } /* Recetas */ div.recipe p { text-indent: 0; } div.recipe p.title { font-weight: bold; font-size: 1.5em; text-align: center; } div.recipe span.subtitle { display: block; font-size: .85em; } div.recipe div.meta { margin: 1em 0; } div.recipe div.meta p { font-family: monospace; } div.recipe div.meta span.label { font-weight: bold; } div.recipe div.ingredients { margin: 1.5em 0; } div.recipe div.ingredients ul { list-style: none; margin: 0; padding: 0; } div.recipe div.ingredients p.bridgehead { font-family: monospace; margin-top: 1em; margin-bottom: .5em; text-decoration: dotted underline; } div.recipe div.ingredients li { font-family: monospace; margin: 0 0 0 1em; text-indent: -1em; } div.recipe div.ingredients p { font-family: monospace; margin: 0 0 0 0; text-indent: 0; } div.recipe div.tips { border: 1px dashed currentColor; margin: 1em 0; padding: 1em; } div.recipe div.tips p.bridgehead { font-family: sans-serif; font-style: italic; font-weight: bold; } div.recipe div.tips p { font-family: monospace; } /* Otros */ .underline { text-decoration: underline; } /* Agradecimientos */ #acknowledgments * { text-align: center; } #acknowledgments h1 { font-size: 1.2em; text-decoration: none; }