/** BASE **/ /* Márgenes */ @page { margin: .5em; } body { font-family: "GoudySans", serif; margin: 0; padding: 0; } /* Fuentes integradas */ @font-face { font-family: "AmericanTypewriter"; font-style: normal; font-weight: normal; src: url(../fonts/AmericanTypewriter.ttf); } @font-face { font-family: "Copperplate"; font-style: normal; font-weight: normal; src: url(../fonts/Copperplate.ttf); } @font-face { font-family: "Exo-Regular"; font-style: normal; font-weight: normal; src: url(../fonts/Exo-Regular.otf); } @font-face { font-family: "GoudySans"; font-style: normal; font-weight: normal; src: url(../fonts/GoudySans.ttf); } @font-face { font-family: "DejaVuSerif"; font-style: normal; font-weight: normal; src: url(../fonts/DejaVuSerif.ttf); } @font-face { font-family: "DejaVuSans"; font-style: normal; font-weight: normal; src: url(../fonts/DejaVuSans.ttf); } /* Control partición silábica */ #titlepage p, #copyright-page 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%; } /* Portada */ #titlepage { page-break-inside: avoid; } #titlepage p.title { font-family: "Exo-Regular"; font-size: 1.75em; font-style: normal; font-weight: 500; line-height: 1; margin: 0 0 0 0; padding: 0 0 0 0; text-align: center; text-indent: 0; } #titlepage div.icons { margin: 3em 0 0 0; text-align: center; } #titlepage div.icons img { height: 1.4em; padding-bottom: .2em; text-align: center; } #titlepage p.subtitle { font-size: .95em; line-height: 1; text-align: center; } #titlepage p.author { margin: 8em 0 5em 0; text-align: center; font-size: 1.1em; } #titlepage p.ebook { text-align: center; } #titlepage p.ebook img { width: 3em; } #titlepage p.publisher { text-align: center; } #titlepage p.publisher img { width: 8em; } /* Acerca de */ #about-work p { margin: 0; } #about-work p.title { font-size: 1.5em; font-weight: bold; text-align: left; } #about-work p.subtitle { color: #7a797a; font-size: 1.25em; font-weight: normal; text-align: left; } #about-work p.author { font-size: 1.25em; font-weight: normal; text-align: left; } #about-work p.desc { font-size: .8em; margin: 2em 0 3em 0; } #about-work div.authorship, #about-work div.work, #about-work div.author + div.author { margin: 1em 0; } #about-work p.bridgehead { font-family: sans-serif; font-weight: bold; margin: 0; page-break-after: avoid; } #about-work b { font-family: sans-serif; font-weight: bold; } #about-work blockquote { margin: 0; } #about-work blockquote p { font-size: 1em; text-indent: 0; } #about-work blockquote p + p { text-indent: 1em; } #about-work div.work p.attrib { text-indent: 0; } /* Créditos */ #copyright-page { margin: 4em 2em 0 0; } #copyright-page div + div { margin: 1em 0 0 0; } #copyright-page p { font-family: Georgia, serif; font-size: .8em; margin: 0; text-align: left; text-indent: 0; } #copyright-page div.legal-notice p { font-size: .7em; } #copyright-page div.support p.image { width: 7em; } /* Índice */ #toc ol { list-style-type: none !important; margin: 1em 0; padding: 0; } #toc li { font-size: 1em; line-height: 1; margin: 1em 0 0 0; padding: 0; text-align: left; } #toc a { color: #000; font-weight: normal; page-break-inside: avoid; text-decoration: none !important; } #toc span.subtitle, #toc span.label { display: block; margin-bottom: .6em; page-break-after: avoid; } #toc span.title { display: block; page-break-before: avoid; } /* Agradecimientos */ #acknowledgments h1 { border-bottom: 0; font-size: 1em; text-align: left; } /* Introducción */ div.aside { background: #fffbf8; border-top: 1px dotted #d2232a; margin-top: 2em; padding: .5em; } /* About */ #how-to-read h1 { color: #d2232a; border-bottom: 1px dotted #000; } /* BODYMATTER */ /* Estilos generales */ h1 { font-family: "GoudySans"; font-size: 2.5em; font-style: normal; font-weight: bold; line-height: 1.2; margin: 1em 0 2em 0; padding: 0 0 0 0; text-align: center; text-indent: 0; } .frontmatter h1 { border-bottom: 1px dotted currentColor; font-size: 1.5em; padding-bottom: .5em; } .chapter h1 { font-family: "Exo-Regular"; } h2 { background: #d2232a; color: #fff; font-family: "GoudySans"; font-size: 1.25em; font-style: normal; font-weight: normal; margin: 0; padding: 0; text-align: center; text-indent: 0; } p { font-size: 1em; line-height: 1.5; margin: 1em 0; padding: 0 0 0 0; text-align: justify; text-indent: 0; } a { color: #00F; font-style: normal; font-weight: bolder; text-decoration: none; } abbr { border: 0; text-decoration: none; white-space: nowrap; } i cite { font-style: normal; } cite { display: inline; font-style: italic; } hr { border: none !important; height: .2em; margin: .4em 0; } 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; padding: 0 0 0 1.5em; } ul { margin: 1em 0; padding: 0 0 0 .75em; } li { font-size: 1em; line-height: 1.5; margin: 0; padding: 0; text-align: left; text-indent: 0; } li p { font-size: 1em; } .lower-alpha { list-style: lower-alpha; } .upper-alpha { list-style: upper-alpha; } .none { list-style: none; } /* Figuras y captions */ div.figure { margin: 1em 0; text-align: center; width: 100%; } div.figure img { max-height: 100%; max-width: 100%; text-align: center; } div.figure p.figcaption { font-family: sans-serif; font-size: .7em; font-style: italic; hyphens: none; adobe-hyphenate: none; -moz-hyphens: none; -webkit-hyphens: none; margin-top: 1em; page-break-before: avoid; text-align: center; text-indent: 0; } /* Tablas */ table, th, td { border: 0; border-collapse: collapse; } table th { padding-top: 1em; } table p { font-size: .8em; margin: 0; } /* Seudoversalitas */ abbr.acronym, span.sc { font-size: 80%; } span.red { color: #d2232a; } span.unicode { font-family: "DejaVuSerif"; } span.star { font-family: "DejaVuSans"; } p.bridgehead { page-break-before: avoid; } /* Recetas */ div.recipe { page-break-before: always; } div.recipe h2 { background: transparent; color: #000; font-family: "AmericanTypewriter"; font-size: 2em; font-weight: normal; margin: 1em 0 0 0; text-align: center; } div.recipe span.subtitle { display: block; font-size: .65em; } div.recipe p.bridgehead { color: #d2232a; font-family: "GoudySans"; font-weight: bold; margin: 0; } div.recipe div.ingredients { margin: 2em 0; } div.recipe div.ingredients p.plus { color: #d2232a; margin: 0; } div.recipe div.ingredients ul { list-style: disc; margin: 0 0 0 1.5em; padding: 0; } div.recipe div.ingredients li { color: #d2232a; margin: 0; text-align: left; } div.recipe div.ingredients li p { color: #000; margin: 0; } div.recipe div.info { margin-left: .25em; } div.recipe div.info img { height: 2em; padding-right: .3em; vertical-align: bottom; } div.recipe div.info p { font-size: .9em; font-weight: bold; } div.recipe div.info span.label, div.recipe div.info span.type { font-weight: normal; } div.recipe div.info span.star { color: #b37667; } div.recipe div.steps { margin: 2em 0; } div.recipe div.steps span.unicode { color: #d2232a; } div.recipe div.aside p.serie { color: #d2232a; font-family: "Copperplate"; font-size: 1.5em; font-weight: bold; margin: 0; } div.recipe div.aside p.episode { font-size: 1em; margin: 0 0 1em 0; } div.recipe div.aside p.bridgehead { color: #b67360; margin-bottom: 0; } div.recipe div.aside p.bridgehead + p { margin-top: 0; } div.recipe div.advice div.ornato { float: left; width: 6.5em; } /* Apéndices */ p.recipe-name { color: #d2232a; margin: 1em 0 0 0; } p.serie-name { margin: 0; } p.episode-number { margin: 0 0 1em 0; } p.reason { font-family: "Exo-Regular"; color: #d2232a; } p.trick { font-family: "AmericanTypewriter"; font-size: 2em; margin-bottom: 0; text-align: left; } /* Sobre autor */ div.contact p { margin: 0; }