/** BASE **/ /* Márgenes */ @page { margin: .5em; } body { font-family: Horley, Athelas, Times, serif; margin: 0; padding: 0; } /* Sin fuentes integradas */ /* Control partición página */ h1, h2 { page-break-after: avoid; /* Impedir partición de página a posteriori */ } /* Control partición silábica */ h1, h2, #titlepage p, #dedication p, #epigraph p { hyphens: none; /* Impedir partición de sílabas en CSS3 */ adobe-hyphenate: none; /* Impedir partición de sílabas en ADE */ -moz-hyphens: none; /* Impedir partición de sílabas en Mozilla */ -webkit-hyphens: none; /* Impedir partición de sílabas en iBooks */ } p { hyphenate-before: 3; -webkit-hyphenate-before: 3; hyphenate-after: 3; -webkit-hyphenate-after: 3; hyphenate-lines: 2; -webkit-hyphenate-lines: 2; orphans: 2; widows: 2; } /** FRONTMATTER **/ /* Cubierta */ .cover { margin: 0; padding: 0; text-align: center; text-indent: 0; } img.cover { height: 100%; } /* Portadilla */ #halftitlepage { page-break-inside: avoid; text-align: center; } #halftitlepage p { font-family: inherit; font-weight: 600; line-height: 1.5; text-align: center; text-indent: 0; } #halftitlepage p.title { font-size: 1em; margin: 2.5em 0 0 0; padding: 0; } #halftitlepage p.serie { font-size: .8em; margin: 0; padding: 0; } #halftitlepage p.serie-number { font-size: .8em; margin: 0; padding: 0; } #halftitlepage div.logo { padding-top: 12em; text-align: center; } #halftitlepage div.logo p { display: inline-block; max-width: 1.5em; text-align: center; width: 1.5em; } #halftitlepage div.logo p img { text-align: center; } /* Créditos */ #copyright-page { margin: 0 10% 0 0; } #copyright-page div + div { margin: 1em 0 0 0; } #copyright-page div.notice p { font-size: .7em; } #copyright-page div.legal-notice { margin: 2em 0 0 0; } #copyright-page p { font-family: inherit; font-size: .8em; line-height: 1.5; margin: 0; padding: 0; text-align: left; text-indent: 0; } #copyright-page div.figure p.logo { margin-left: 0; max-width: 10em; width: 10em; } #copyright-page div.logo img { width: 8em; } span.social-logo img { display: inline; height: 1em; } /* Portada */ #titlepage { page-break-inside: avoid; text-align: center; } #titlepage p { font-family: inherit; font-style: normal; line-height: 1.5; text-align: center; text-indent: 0; } #titlepage p.title { font-size: 2em; font-weight: bold; margin: 1.5em 0 0 0; padding: 0; } #titlepage p.author { font-size: 1.4em; font-weight: normal; line-height: 1.2; margin: 0; padding: 0; } #titlepage p.contrib { font-size: .9em; font-weight: normal; line-height: 1.2; margin: 0; padding: 0; } #titlepage p.publisher { display: inline-block; margin: 14em 35% 0 35%; text-align: center; } #titlepage p.publisher img { text-align: center; max-width: 8em; width: 8em; } /* Índice */ #toc h1 { page-break-after: avoid; font-style: italic; margin-bottom: 1.5em; } #toc a { color: #001; font-weight: normal; } #toc ol { list-style-type: none; margin: 0; padding: 0; } #toc li { list-style-type: none; margin: 1em 0; padding: 0; text-align: left; } #toc li ol { margin: .5em 0; } #toc ol ol { margin-left: 1.5em; } /* Warning */ #warning { margin: 5em 0 0 0; } #warning p { text-indent: 0; } /* Epígrafe */ #epigraph { margin: 5em 0 0 0; } /** BODYMATTER **/ /* Principales elementos */ h1 { font-family: inherit; font-size: 1.5em; font-style: normal; font-weight: normal; line-height: 1.5; margin: 3em 0; padding: 0; text-align: center; text-indent: 0; } h2 { font-family: inherit; font-size: 1.25em; font-style: italic; font-weight: bold; line-height: 1.5; margin: 1.5em 0 1em 0; padding: 0; text-align: left; text-indent: 0; } p { font-family: inherit; font-size: 1em; line-height: 1.5; margin: 0; padding: 0; text-align: justify; text-indent: 1em; } a { color: #00F; font-style: normal; font-weight: bolder; text-decoration: none; } abbr { border: 0; font-style: normal; text-decoration: none; } blockquote { margin: 1em 0; } blockquote p { text-align: center; text-indent: 0; } cite { display: inline; font-style: italic; } hr { border: none !important; height: .5em; margin: .25em 0; } img { margin: 0; max-width: 100%; padding: 0; } q { font-style: italic; } q:before { content: ""; } q:after { content: ""; } /* Figuras */ div.figure { margin: 1em 0; padding: 0; text-align: center; } div.figure p.image { display: inline-block; max-width: 100%; text-align: center; text-indent: 0; } div.figure p.image img { border: 0; text-align: center; width: 100%; } /* Seudoversalitas con función normativa */ abbr.acronym, span.sc { font-size: 80%; } /* Estilos consecuentes */ h1 + h2 { padding-top: 5em; } h1 + p, h2 + p, hr + p, blockquote + p { text-indent: 0; } /* Estilos particulares */ p.first { margin-top: 7em; text-indent: 0; } /** BACKMATTER **/ .backmatter h1 { font-weight: normal; font-size: 1.25em; margin: 5em 0 1em 0; page-break-after: avoid; text-align: left; } .backmatter p { text-indent: 0; } /* Rearnotes */ div.rearnotes p { margin: 1em 0 0 0; } /* Notas */ div.footnote { margin: .5em 0 0 0; } div.footnote p { text-indent: 0; } /* Colofón */ #colophon { margin: 5em; text-align: center; } #colophon p { font-family: inherit; font-size: .7em; line-height: 1.5; margin-top: .5em; padding: 0; text-align: center; text-indent: 0; } #colophon div.logo { padding-top: 1.2em; text-align: center; } #colophon div.logo img { text-align: center; width: 1.5em; } /* Colección */ #other-works { margin: 0 1em; } #other-works div.book + div.book { page-break-before: always; } #other-works p { font-family: inherit; margin: 0; padding: 0; text-align: left; text-indent: 0; } #other-works div.cover { display: inline-block; padding-top: 2em; text-align: left; max-width: 9em; width: 9em; } #other-works div.cover p { text-align: left; } #other-works div.cover p img { text-align: left; } #other-works div.awards { margin: 1em 0; } #other-works div.awards p { font-size: .85em; } #other-works p.title { font-size: 1.2em; font-weight: bold; page-break-before: avoid; } #other-works p.author { font-size: 1.2em; font-weight: normal; } #other-works p.contrib, #other-works p.serie { font-size: 1em; font-weight: normal; } #other-works div.summary { margin: 1em 0; } #other-works div.summary p + p { text-indent: 1em; } #other-works div.reviews blockquote { margin: 1em 0; } #other-works div.reviews blockquote p { font-size: .9em; margin-top: .9em; } #other-works div.reviews blockquote p.attrib { margin-top: .2em; page-break-before: avoid; }