/* ========================================================================== EPUB Stylesheet (revision 1.d) ========================================================================== */ /* Base ========================================================================== */ body { color: #000; font-family: serif; margin-left: 1.5em; margin-right: 1.5em; padding: 0; border: 0; } blockquote { margin: 4em 0 4em 25%; display: block; } blockquote hr { clear: both; margin-top: 1em; visibility: hidden; } blockquote p { font-style: italic; text-indent: 0; } blockquote p em { font-style: normal; } blockquote p + p { margin-top:1em; } blockquote + p { clear:both; } em { font-style:italic; } hr { clear: both; margin-top: 2em; visibility: hidden; } p { line-height: 1.25em; margin-bottom: 0; margin-top: 0; text-align: justify; text-indent: 1em; -webkit-hyphens: auto; -moz-hyphens: auto; hyphens: auto; hyphenate-after: 3; hyphenate-before: 3; hyphenate-lines: 2; -webkit-hyphenate-after: 3; -webkit-hyphenate-before: 3; -webkit-hyphenate-lines: 2; } p + blockquote { clear: both; margin-top: 2em; } p + ul { margin: 0; } sup { font-size: .75em; font-style: normal; line-height: 1em; } /* Links */ a:link { color: #303040; text-decoration: none; } a:hover { color: #bb0000; } /* Lists */ ul { padding: 0; } ul li { list-style-position: inside; list-style-type: square; padding-left: 1em; } ul li p, ul + p { margin: 0; } /* Headers */ h1, h2 { font-weight:700; margin-left:1.5em; margin-right:1.5em; text-align:center; hyphens: none !important; -moz-hyphens: none !important; -webkit-hyphens: none !important; adobe-hyphenate: none !important; page-break-after: avoid; page-break-inside: avoid; } h1 { font-size:2.5em; margin-top:12.5%; } h2 { font-size:1.5em; } /* Specific classes ========================================================================== */ /* Classes */ .alinea { margin-bottom: 2em; margin-top: 2em; text-align: center; text-indent: 0; } .center p { text-align: center; text-indent: 0; } .encart { background-color: #ecf0f4; color: inherit; font-size: .9em; margin: 1em 0; padding: 1em; } .footnotes { background-color: #ecf0f4; color: inherit; font-size: .9em; margin-top: 1em; padding: .5em; } .footnotes li + li { margin-top: .5em; } .footnotes ol, .footnotes ol li { margin: 0; } .footnotes p { text-indent: 0; } .insert { margin:0; padding:0; text-align: center; } .insert img { max-height: 100%; max-width: 100%; clear: both; } .ref { font-style:normal; font-weight:700; } .ref:before { content:"— "; } .signature { margin-top: 2em; } .signature p { text-align: right; } /* Identities */ #colophon { background-color: #ecf0f4; font-family:sans-serif; font-size: 1.125em; line-height:1.25em; margin: 12.5% 6.25% 12.5% 6.25%; padding: 1em; page-break-after: always; } #colophon p + p { margin-top: .5em; } #colophon > p:nth-child(1){ color: #cc0000; } #colophon > p:nth-child(n+2) { color: #000000; } #contentinfo { border-top: 1px solid #000; margin-left: 10%; margin-right: 10%; margin-top: 5em; padding-top: 5em; width: 80%; } #contentinfo p { font-size: .9em; text-align: center; } #contentinfo p a { font-weight:700; } #cover, #cover div, #cover img { height:100%; max-width:100%; width:auto; text-align: center; page-break-after: always; } #info p { font-weight: 700; margin-left: 1.5em; margin-right: 1.5em; text-align: center; text-indent: 0; } #info p + p { margin-top: 1em; } #info p#author { font-size: 1.5em; } #info p#title { font-size: 2.5em; margin-top: 12.5%; }