/* Common CSS*/ table{ border-collapse: collapse; border: 1px solid #bbb; } td { border-collapse: collapse; border: 1px solid #bbb; padding: 0.4em; } /* Global CSS definitions */ .strike { text-decoration: line-through; } .underline { text-decoration: underline; } strong, strong em, em strong { font-weight: bold; } .italic{ font-style: italic; } span.font50{ font-size: 50%; } span.font75{ font-size: 75%; } span.font100{ font-size: 100%; } span.font150{ font-size: 150%; } span.font200{ font-size: 200%; } .page-break{ page-break-before: always; page-break-after: always; } * { -webkit-font-smoothing:antialiased; } .part-text, .section-text, .chapter-text, .body > .subchapter .subchapter-text { text-indent:1em; } .part-text p, .section-text p, .chapter-text p, .subchapter-text p { margin: 0; } /* SUBCHAPTER */ .body > .subchapter .subchapter-text { font-size: 0.9em; line-height: 1.6; text-indent: 1em; } /* MOBI */ @media amzn-mobi { #decoration{ text-align:center; width:150px; margin:auto; display: inline-block; } } @media amzn-kf8 { #decoration{ text-align:center; width:150px; margin:auto; display: inline-block; } #decoration img{ width: 150px; height: auto; } .image-wrapper img { width: 80%; height: auto; } div.image-container.float-left img, div.image-container.float-right img{ width: 75%; height: auto; } } /* End of Common CSS */ /* Page CSS*/ /* Theme: Calvino */ /* Open Sans Ideale per il testo e titolo */ @font-face { font-family : 'Open Sans'; font-weight : 300; font-style: normal; src: url(../fonts/OpenSans-Light.ttf); } @font-face { font-family : 'Open Sans'; font-weight : 600; font-style: normal; src: url(../fonts/OpenSans-Semibold.ttf); } @font-face { font-family : 'Open Sans'; font-weight : 300; font-style: italic; src: url(../fonts/OpenSans-LightItalic.ttf); } @font-face { font-family : 'Open Sans'; font-weight : 600; font-style: italic; src: url(../fonts/OpenSans-SemiboldItalic.ttf); } @font-face { font-family : 'Open Sans'; font-weight : bold; font-style: normal; src: url(../fonts/OpenSans-Bold.ttf); } /* Global CSS definitions */ strong, strong em, em strong { font-weight: 600!important; } /* COLOPHON */ div.colophon { display:block; font-family: 'Open Sans', sans-serif; font-size: 0.8em; font-weight: 300; letter-spacing: 0.1em; text-align: left; line-height: 1.6; padding-left:0.8em; padding-right:0.8em; margin-top:15em; } .colophon-edition-info, .colophon-isbn { font-size: 0.8em; } .colophon-isbn { padding-top: 2.5em; padding-bottom:1em; } /* CREDITS */ div.credits { display:block; padding-left:0.5em; padding-right:0.5em; } .credits-title { font-family: 'Open Sans', sans-serif; font-size: 1.2em; letter-spacing: 0.1em; text-transform: uppercase; text-align: center; font-weight:300; } .credits p { font-family: 'Open Sans', sans-serif; font-size: 0.9em; font-style: italic; line-height: 1.4; text-align: center; font-weight:300; } /* PART */ div.part { display:block; border-right:1px solid rgb(0,0,0); padding:0 2em; } .part-title-block { padding-bottom: 4.0em; } .part-title { font-family: 'Open Sans', sans-serif; font-size: 1.4em; letter-spacing: 0.1em; text-transform: uppercase; text-align: right; font-weight: bold; } .part-subtitle { font-family: 'Open Sans', sans-serif; font-size: 1.0em; letter-spacing: 0.1em; text-align: right; font-weight:300; } .part-text { font-family: 'Open Sans', sans-serif; font-size: 0.9em; font-style: italic; font-weight: 300; line-height: 1.4; text-align: right; } .part-text p { margin:0; } /* SECTION */ div.section { display:block; padding-left:0.5em; padding-right:0.5em; } .section-title-block { padding-bottom: 4.0em; } .section-title { font-family: 'Open Sans', sans-serif; font-size: 1.2em; letter-spacing: 0.1em; text-transform: uppercase; text-align: center; font-weight:300; } .section-subtitle { font-family: 'Open Sans', sans-serif; font-size: 1.0em; font-style: italic; letter-spacing: 0.1em; text-align: center; font-weight:300; } .section-text { font-family: 'Open Sans', sans-serif; font-size: 0.9em; font-style: italic; line-height: 1.4; text-align: left; font-weight:300; } .section-text p { margin:0; } /* CHAPTER */ div.chapter { padding-left:0.5em; padding-right:0.5em; } /* TITLE SECTION */ .chapter-title-block, .subchapter-title-block { margin-bottom: 1em; padding-top: 0; display:block; } .chapter-title-block { border-top:1px solid rgb(0,0,0); } .chapter-title { font-family: 'Open Sans', sans-serif; font-size: 1.2em; letter-spacing: 0.1em; text-transform: uppercase; text-align: left; font-weight:600; } .subchapter-title { font-family: 'Open Sans', sans-serif; font-size: 1em; letter-spacing: 0.1em; text-transform: none; text-align: left; font-weight:600; } .chapter-subtitle { font-family: 'Open Sans', sans-serif; font-size: 1em; font-style: italic; letter-spacing: 0.1em; text-align: left; font-weight:300; } .subchapter-subtitle { font-family: 'Open Sans', sans-serif; font-size: 0.9em; font-style: italic; letter-spacing: 0.1em; text-align: left; font-weight:300; } /* TEXT SECTION */ .chapter-text, .body > .subchapter .subchapter-text { font-family: 'Open Sans', sans-serif; font-size: 0.9em; line-height: 1.2; text-align:left; font-weight:300; } .chapter-text { margin:2em 0; } .subchapter-text { margin:1em 0; } .chapter-text p, .subchapter-text p { margin:0; } .blockquote, div.chapter div.text blockquote > p, div.subchapter div.text blockquote > p { font-family: 'Open Sans', sans-serif; display:block; font-style: italic; font-size: 0.9em; line-height: 1.4; text-align: center; font-weight:300; } div.chapter div.text h1, div.subchapter div.text h1, div.chapter div.chapter-text h1, div.subchapter h1 { font-size: 1.1em; font-weight: 600; } div.chapter div.text h2, div.subchapter div.text h2, div.chapter div.chapter-text h2, div.subchapter h2 { font-size: 1em; } div.chapter div.text h3, div.subchapter div.text h3, div.chapter div.chapter-text h3, div.subchapter h3 { font-size: 0.9em; } div.chapter div.text h4, div.subchapter div.text h4, div.chapter div.chapter-text h4, div.subchapter h4 { font-size: 0.8em; } div.chapter div.text h5, div.subchapter div.text h5, div.chapter div.chapter-text h5, div.subchapte h5 { font-size: 0.7em; } div.chapter div.text h6, div.subchapter div.text h6, div.chapter div.chapter-text h6, div.subchapter h6 { font-size: 0.6em; } /* NOTES */ div#foot-notes { padding-top: 1em; margin-left: 0.5em; margin-right: 0.5em; text-align:left; border-top:1px solid rgb(0,0,0); } span.note-num{ font-weight: 600; font-family: 'Open Sans', sans-serif; text-align:left; } a.note, div.note{ font-family: 'Open Sans', sans-serif; font-size: 0.8em; margin-bottom: 1em; font-weight:300; } #notes{ display:block; margin-left: 0.5em; margin-right: 0.5em; } .notes-title{ font-family: 'Open Sans', sans-serif; font-size: 1.2em; letter-spacing: 0.1em; text-transform: uppercase; text-align: center; font-weight:300; } /* fix foot note size */ div.note.foot-note { font-size: 0.8em; } a.note_backlink{ margin-left: 0.15em; } .indented{ margin-left: 2em; } /* IMAGES */ .image-container, .image-container div, .image-wrapper, .image-caption { width: 100%; text-align:center; } .image-wrapper img{ max-width: 100%; display: inline; } p.image-caption{ font-family: 'Open Sans', sans-serif; font-size: 0.8em; font-style: italic; text-indent: 0; margin-top:0.4em; text-align:center; font-weight:300; } div.image-container { margin-bottom: 2em; page-break-inside: avoid; margin: auto; } div.image-wrapper + p, div.image-container { text-indent: 0; } .image-container.floating-image, .floating-image{ max-width: 75%; width:auto; page-break-before: avoid; } div.image-container.float-left{ float: left; text-align: left; margin: 1em; margin-left: 0; } div.image-container.float-right{ float: right; text-align: right; margin: 1em; margin-right: 0; }