/* 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 */ .ser { display: block; font-size: 1em; margin-top: 0em; margin-bottom: 0em; text-align: center; text-indent: 0em; } 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; } .box { background-color: #e8e8e8; border: thin solid black; width: 80%; padding: .5em 1em .5em 1em; margin: 1em !important; word-wrap:break-word; } .underline { text-decoration: underline; } /* coverpage */ .coverpage { vertical-align: middle; text-align: center; background-color: white; margin: 0em; } .coverpage img { /* height: 100%;*/ margin: 0em; } /* title page */ .titlepage { text-align: center; margin: 5% auto auto auto; padding: 1.7em 0 1.3em 0; text-align: center; } .title { font-size: 1.8em; margin-top: 4em; margin-bottom: 1em; text-align: center; word-wrap:break-word; -webkit-hyphens:none; hyphens:none; } .titlea { font-size: 1.8em; margin-top: 4em; margin-bottom: 1em; text-align: center; word-wrap:break-word; -webkit-hyphens:none; hyphens:none; } .subtitle { font-size: 1em; text-align: center; margin-top: 1em; margin-bottom: 1em; word-wrap:break-word; -webkit-hyphens:none; hyphens:none; } .author { margin-top: 1em; margin-bottom: 1em; font-size: 1.6em; text-align: center; font-weight:normal; word-wrap:break-word; -webkit-hyphens:none; hyphens:none; } .illustrator { font-size: 1.4em; text-align: center; margin: 7em 0 0 0; font-weight:bold; word-wrap:break-word; -webkit-hyphens:none; hyphens:none; } /* 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: 5em 0 0 0; } .dedication, .forward, .chapter, .endnotes, .glossary, .publisher, .bibliography{ text-align: left; } .copyright h1, .dedication h1, .forward h1, .chapter h1, .endnotes h1, .glossary h1, .publisher h1, .bibliography h1 { font-size: 1.5em; margin-top: 0.2em; margin-bottom: 1em; padding: .2em 0 0 0; text-align: center; word-wrap:break-word; -webkit-hyphens:none; hyphens:none; } .copyright h2, .dedication h2, .forward h2, .section h2, .chapter h2, .glossary h2, .publisher h2, .titlepage h2 { font-size: 1.2em; margin-top: 0.25em; margin-bottom: 0.25em; text-align: center; word-wrap:break-word; -webkit-hyphens:none; hyphens:none; } .copyright h3, .dedication h3, .forward h3, .section h3, .chapter h3, .glossary h3, .publisher h3, .titlepage h3 { font-size: 1em; margin-top: 0.25em; margin-bottom: 0.25em; text-align: center; padding: 0em; word-wrap:break-word; -webkit-hyphens:none; hyphens:none; } .copyright p { font-size: 0.75em; text-indent: 0; margin-top: 1em; margin-bottom: 1em; text-align: justify; word-wrap:break-word; } .chapter p, .dedication p { font-size: 0.85em; text-indent: 1em; margin-top: 0.25em; text-align: justify; margin-bottom: 0.25em; word-wrap:break-word; } .forward p { font-size: 0.85em; text-indent: 0em; text-align: justify; margin-top: 0.25em; margin-bottom: 0.25em; word-wrap:break-word; } p.tx { font-size: 0.85em; margin-top: 0.2em; margin-bottom: 0.25em; text-indent: 1em; font-weight: normal; text-align: justify; } p.tx2 { font-size: 0.85em; margin-top: 1em; margin-bottom: 0.25em; text-indent: 1em; font-weight: normal; text-align: justify; } p.cct { font-size: 0.85em; margin-top: 0.25em; margin-bottom: 0.25em; margin-left: 0em; font-weight: normal; text-align: left; } p.cct1 { font-size: 0.85em; margin-top: 0.25em; margin-bottom: 0.25em; margin-left: 2em; font-weight: normal; text-align: left; } p.pub { font-size: 0.85em; margin-top: 0.75em; margin-bottom: 0.75em; text-indent: -1em; margin-left: 2em; font-weight: normal; text-align: justify; } p.pub0 { font-size: 0.85em; margin-top: 0.25em; margin-bottom: 0.25em; text-indent: -1em; margin-left: 1em; font-weight: normal; text-align: justify; } p.txc { font-size: 0.75em; margin-top: 1em; margin-bottom: 0.25em; margin-left: 0em; font-weight: normal; text-align: center; } p.tx3 { font-size: 0.85em; margin-top: 0.25em; margin-bottom: 0.25em; margin-left: 3em; font-weight: normal; text-align: justify; } p.tx4 { font-size: 0.85em; margin-top: 0.25em; margin-bottom: 0.25em; margin-left: 4em; font-weight: normal; text-align: justify; } .cite { font-size: .9em; text-indent: 0em; margin: 1.5em 1em 1.5em 1em; } p.endnotes { font-size: 0.75em; margin-top: 1em; margin-bottom: 0.25em; text-indent: 1em; margin-left: 0em; font-weight: normal; text-align: left; } .cite p{ text-indent: 0em; margin: 0 0 .2em 0; text-align: left; word-wrap:break-word; } p.blockquote { font-size: 0.85em; text-align: left; text-indent: 0; margin: 1.5em 1em 1.5em 1em; word-wrap:break-word; } p.handwritten { font-style: italic; margin: .5em auto .5em auto; width: 85%; word-wrap:break-word; } .code p { font-family: "Courier"; margin: 1em auto 1em auto; width: 85%; text-indent: 0; word-wrap:break-word; } .header { font-weight: bold; } /* lists */ ol { margin: .2em 0 1em 0; } ul { margin: .2em 0 1em 0; } /* section divider */ .section { text-align: center; margin: 8% auto auto auto; padding: 2em 0 3em 0; } .section h1 { font-size: 1.8em; text-align: center; word-wrap:break-word; -webkit-hyphens:none; hyphens:none; } .section h2 { font-style: italic; text-align: center; word-wrap:break-word; -webkit-hyphens:none; hyphens:none; } /* 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: medium solid black; border-bottom: medium solid black; border-left: none; border-right: 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; } th { border: thin solid black; text-align: center; font-style: italic; font-weight: lighter; padding: .65em 1em; word-wrap:break-word; -webkit-hyphens:none; hyphens:none; } td { padding: 1em; text-align: left; border: thin solid black; 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 */ .bibliography p { padding-left: 1em; margin-bottom: 0%; text-indent: -1em; word-wrap:break-word; } img { width: auto; height: auto; margin-left: auto !important; margin-right: auto !important; } .smallcaps { font-variant: small-caps; text-transform: lowercase; } .pbreak { color:#a3a3a3; } .hideimage{ display:none; text-align: center; } /* ***User:N#Z#9=0*** */