/* Version: 2.5 Date: 05th March 2015 What's New: 1. Added 2 new styles for removing text hyphenations and controlling Chinese word wrapping. */ /* Last Version: 2.4 Date: 10/31/2014 What's New: 1. styles to handle center alignment of image in ios8 and ibooks 4.0 2. smallcaps class is added to handle small-cap text */ a { text-decoration: none; } .left { float:left; } .right { float:right; } p.center { text-align: center !important; text-indent: 0 !important; margin: auto; word-wrap:break-word; } .underline { text-decoration: underline; } /* coverpage */ .coverpage { width: auto; vertical-align: middle; text-align: center; background-color: white; margin: 0em; } .coverpage img { /* height: 100%;*/ margin: 0em; width: auto; } /* title page */ .titlepage { text-align: center; margin: 5% auto auto auto; padding: 1.7em 0 1.3em 0; text-align: center; } .title { font-size:2.2em; margin: 10% 0 .3em 0; text-align: center; word-wrap:break-word; -webkit-hyphens:none; hyphens:none; text-weight: bold; } .gap1 { margin-left: 0.3em; } .author { margin: 2em 0 0 0; font-size: 2em; text-align: center; font-weight:normal; word-wrap:break-word; -webkit-hyphens:none; hyphens:none; } .title1 { font-weight: bold; margin-top: 35%; } /* toc */ div.toc > h1 { text-align: center; font-size: 1.8em; } div.toc > p { text-indent: 0; word-wrap:break-word; } div.toc > p.nest1 { text-indent: 10px; } div.toc > p.nest2 { text-indent: 20px; } /* general */ .copyright{ text-align: center; margin: 1em 0 0 0; } .dedication, .forward, .chapter, .endnotes, .glossary, .publisher, .bibliography{ text-align: left; } .chapter h1, .forward h1 { font-size: 2em; margin: 8% 0 10% 0; padding: .2em 0 0 0; text-align: center; font-weight: normal; word-wrap:break-word; -webkit-hyphens:none; } .copyright p { font-size: 0.625em; text-indent: 0; padding: 0 0 0.5em 0; text-align:center; word-wrap:break-word; } .chapter p{ font-size: 1em; text-indent: 1em; margin: 0.2em 0 0 0; word-wrap:break-word; text-align: justify; } .dedication p { font-size: 1.5em; text-indent: 1em; margin: 30% 0 0 0; word-wrap:break-word; text-align: justify; } .forward p { font-size: 1em; text-indent: 0em; margin: 0; word-wrap:break-word; } .header { font-weight: bold; } /* lists */ ol { margin: .2em 0 1em 0; } ul { margin: .2em 0 1em 0; } /* images */ div.image { text-align: center; margin: 1em 0 1em 0; } div.image p { font-style: italic; font-size: 1em; margin: 1.5em auto 1.5em auto; text-indent: 0; text-align: left; word-wrap:break-word; } /* table */ /* tables should only be used for displaying data. Please do not use tables to layout images */ table { width: 100%; border-top: none; margin: 1em auto; border-collapse:collapse; } th > p, td > p{ text-indent: 0; font-size: .75em; margin: 0; text-align: left; word-wrap:break-word; } td { padding: 1em; text-align: left; border: none; word-wrap:break-word; -webkit-hyphens:none; hyphens:none; } tr > td:first-child { border-left: none; } tr > td:last-child { border-right: none; } tr > th:first-child { border-left: none; } tr > th:last-child { border-right: none; } /* bibliography */ img { width: auto; height: auto; margin-left: auto !important; margin-right: auto !important; } .smallcaps { font-variant: small-caps; } p.ind0 { text-indent: 0em; } .gap2 { margin-left: 1em; } span.color{ color: black; } span.fn0{ font-size: 1.3em; font-weight: normal; } p.tx0{ text-indent: 0em; } p.tx01{ text-indent: 0em; margin-bottom:2em; } .right1 { float:right; margin-top:-6em; }