/* Custom style for 40k by Valentina Voch */ body { font-family: serif; line-height: 1.2em; margin: 3%; } a { text-decoration: none; } /* HEADERS =============== */ h1, h2, h3, h4, h5, h6 { text-align: center; } h3 { font-weight:bold; } h2 { font-weight: normal; font-style: normal; margin-bottom: 4em; font-size:100; } /* FRONTESPIZIO ================ */ #title-page > .title { font-size: 2.2em; margin-top: 2em; line-height: 1.20em; } #title-page > .subtitle { font-size: 1.7em; margin-top: 1.2em; line-height:1.20em; font-weight:normal; } #title-page > .author { font-size: 1.4em; margin-top: 2.5em; line-height:1.20em; font-weight:normal; margin-bottom:2em; } #title-page > .publisher { font-size: 1.3em; margin-bottom: 0.3em; line-height:1.20em; font-weight:normal; } #title-page > .publisher-city { font-size: 0.875em; margin-top: 0; font-weight:normal; } /* COPYRIGHT =================== */ #copyright-page > div.ugc p { font-size: 0.85em; text-indent: 0; margin-bottom: 0.9em; } /* STILI INTERNI =================== */ p { margin: 0; } p + ul { margin-top: 10px; } hr { margin: 10px auto; text-align: center; width: 20%; } table { border: 1px solid #000; border-width: 1px 0; } dt { float: left; font-weight: bold; margin-right: 5px; margin-bottom: 0; } dd { margin-bottom: 0; } ul ul, ul ul ul { list-style-type: none; } ol li li { text-indent: 2em; margin-top: 0; text-align: justify; } ol li li li { text-indent: 2em; margin-top: 0; text-align: justify; } ul li li { text-indent: 2em; margin-top: 0; text-align: justify; } ul li li li { text-indent: 2em; margin-top: 0; text-align: justify; } cite { font-weight: normal; } div.blockquote, blockquote { padding: 0 3%; margin-bottom: 2em; text-align:justify; } p + p, .indent { text-indent: 2em; margin-top: 0; text-align: justify; } .nonindent, .no-indent { text-indent: 0; margin-top:2em; text-align: justify; } .immagine { text-indent: 0; margin-top:1em; margin-bottom:1em; text-align:center; } hr.break-symbols { border: none; font-size: 1.1em; margin-bottom: 20px; } hr.break-symbols:after { display: block; content: "\2725"; text-align: center; } p.bl_nonindent { margin: 2em 10% 0; text-indent: 0; } p.bl_indent { margin: 0 10%; text-indent: 1em; } .hanging-indent { margin-bottom:2%; margin-top:0em; } /* DEDICA ================ */ .dedication > div.front-matter-ugc p { font-style: italic; text-align: center; } /* TITLES for FRONT-MATTER, BACK_MATTER, CHAPTER & PART ========================================================= */ div.part { background-repeat: no-repeat; background-position: bottom center; margin-top: 6em; padding-bottom: 0.25em; } .display-none, .front-matter-number, .back-matter-number { display: none; } .part-number, .chapter-number { background-repeat: no-repeat; background-position: bottom center; padding-bottom: 1em; text-transform: uppercase; } div.part-title-wrap > h3.part-number:before { content: "Part "; } .chapter-number { margin-bottom: 3em; } .front-matter.preface { font-size: 1.4em; } .chapter-title { margin: 1em 0; line-height:1.20em; font-weight: bold; font-style: normal; font-size:170%; } .back-matter-title { margin: 2em 0; line-height:1.20em; font-size:1.5em; } .front-matter-title { margin: 2em 0 1em 0; line-height:1.20em; font-size:2.2em; } /* BODY TITLES =================== */ .ugc h1, .ugc h2, .ugc h3, .ugc h4, .ugc h5, .ugc h6 { page-break-after:avoid; } .ugc h3 { font-weight: normal; } .ugc h1 { font-size: 1.1em; } .ugc h2 { font-size: 1em; font-weight: normal; margin-top:2em; margin-bottom:1em; } .ugc h3 { font-size: 1.15em; font-weight:bold; font-style:normal; text-align:center; margin-top:1.5em; margin-bottom:0em; } .ugc h4, .ugc h5 { text-align: left; } .ugc.back-matter-ugc h4, .ugc.part-ugc h4, .ugc.chapter-ugc h2 { text-align:left; } .ugc.chapter-ugc h4, .ugc.front-matter-ugc h4 { font-size: 0.875em; font-weight: normal; } .ugc.back-matter-ugc h5, .ugc.part-ugc h5, .ugc.chapter-ugc h5, .ugc.front-matter-ugc h5 { font-size: 0.75em; } .ugc h1 + p, .ugc h4 + p, .ugc h5 + p { margin-top: 0; } /* TABLE OF CONTENTS ======================= */ #toc { font-size: 0.875em; } #toc ul > .front-matter, #toc ul > .back-matter { font-style: italic; } #toc .front-matter + .chapter { margin-top: 1.3em; } #toc a { border: none; color: #000; } #toc ul, #toc li { list-style: none; margin: 0; padding: 0; } #toc a:after { font-style: normal; text-decoration: none; } #toc .part { background-image: none; margin: 1.3em 0 0.5em; font:bold 1.2em Impact, sans-serif; } #toc ul { line-height: 1.2em; } #toc .chapter + .back-matter { margin-top: 1.3em; } #toc span.chapter-author, #toc span.chapter-subtitle { display: block; font-style: italic; margin-left: 1em; } #toc span.chapter-author, #toc span.chapter-subtitle { margin-bottom: 5px; } #toc span.chapter-subtitle + span.chapter-author { margin-top: -5px; margin-bottom: 5px; } #toc h1 { margin-bottom: 3em; font-size:2em; } /* IMAGES ================== */ img { height: auto; max-width: 100%; text-align:center; margin-top:1em; margin-bottom:0em; } .alignleft { float: left; margin: 1em 1em 1em 0; } .alignright { float: right; margin: 1em 0 1em 1em; } .aligncenter { display: block; text-align: center; } div.aligncenter { display: block; margin: 1em auto; text-align: center; } img.aligncenter { display: block; margin: 1em auto; text-align: center; } .wp-caption { height: auto; max-width: 100%; margin: 1em 0; } .wp-caption-text { font-size: 0.875em; font-style: italic; margin-top: 5px; text-align: left; } div.wp-caption.aligncenter, div.wp-caption.alignleft, div.wp-caption.alignright, div.wp-caption.alignnone { /* Hack for "centering" problems on Kindle, Calibre, ... */ width: auto !important; } /* SUBTITLES, CHAPTER AUTHOR & APHORIMS ======================================== */ h2.chapter-subtitle { font-weight: normal; font-style: italic; } h2.chapter-subtitle, h2.chapter-author { font-size: 1.4em; font-variant: normal; margin: -1.4em 0 3em; } h2.chapter-subtitle { margin-bottom: 2.8em; padding-top: 0.5em; } h2.chapter-author { font-size: 0.9em; font-style: normal; font-weight: 600; } blockquote.aphorism { font-size: 1em; font-style: italic; margin: 0 auto 4em; padding: 0 15%; width: 50%; } blockquote.aphorism p { text-align: right; } .aphorism cite { display: block; font-size: 0.875em; font-style: normal; font-variant: small-caps; text-align: right; } .aphorism cite:before { content: "–"; } /* ASIDES, PULLQUOTES & TEXTBOXES ================================== */ .aside { font-style: italic; border-top: 1px solid #000; border-bottom: 1px solid #000; margin: 2em 10%; padding: 10px 0; text-indent: 0; } .textbox { border: 1px solid #000; margin: 10px 0; padding: 10px; } .textbox.shaded { background-color: #eee; } .textbox p { margin-top: 0; } .textbox-caption { display: block; font-size: 0.9em; font-weight: bold; margin: 0; } .pullquote { border: 1px solid #000; border-width: 1px 0; margin: 20px auto; padding: 5px 0; text-align: center; width: 45%; } .pullquote-left { border: 1px solid #000; border-width: 1px 0; float: left; margin: 15px 15px 15px 0; padding: 5px 0; text-align: center; width: 45%; } .pullquote-right { border: 1px solid #000; border-width: 1px 0; float: right; margin: 15px 0 15px 15px; padding: 5px 0; text-align: center; width: 45%; } /* FOOTNOTES & ENDNOTES ======================== */ .footnotes { display: block; font-size: 0.875em; margin: 20px 10px 40px 40px; } .footnotes-wrap { list-style: none; display: block; margin: 10px 10px 10px 40px; } .footnotes p + p { text-indent: 0; } .footnotes .footnotes-wrap p { text-indent: -1em; } .footnotes p a { display: block; text-decoration: none; } sup.footnote, sup.endnote { line-height: 1.20em; vertical-align: top; } .endnotes hr { border: none; margin-top: 1em; } .endnotes h3 { margin-bottom: 0; } .endnotes h3 { font-size: 1.2em; font-style: normal; font-weight: bold; text-align: center; } .endnotes ol { font-size: 0.7em; margin-top: 5px; margin-left: 0; } .endnotes li { text-indent: 2em; } .endnotes p + p { text-indent: 0; } /* BIBLIOGRAPHY =============== */ .bibliography p { padding-left: 1em; text-indent: -1em; } /* INDEX ================== */ .index .ugc { text-align: left; } .index .ugc div { margin-bottom: 4em; } .index > div.back-matter-ugc p { font-size: 0.75em; padding-left: 14pt; text-indent: -14pt; text-align: left; } .index .ugc p.sub-entry { padding-left:30px; } /*__INSERT_MOBI_HOUSE_STYLE__*/ div.part-title-wrap > .part-number, div.chapter-title-wrap > .chapter-number { display: none !important; } div.part-title-wrap > h3.part-number:before { content: "Parte "; } div.part-title-wrap > .part-number, div.chapter-title-wrap > .chapter-number { display: none !important; } div.part-title-wrap > .part-number, div.chapter-title-wrap > .chapter-number { display: none !important; }