/* 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; } .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: 10% 0 .3em 0; text-align: center; word-wrap:break-word; -webkit-hyphens:none; hyphens:none; } .subtitle { font-size: 1.4em; text-align: center; margin: 1em 0 0 0; word-wrap:break-word; -webkit-hyphens:none; hyphens:none; } .author { margin: 2em 0 0 0; font-size: 1.3em; 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.8em; margin: 8% 0 10% 0; 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.5em; margin: 0 0 .4em 0; 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: 1.1em; margin: 0em; padding: 0em; word-wrap:break-word; -webkit-hyphens:none; hyphens:none; } .copyright p { font-size: 1em; text-indent: 0; padding: 0 0 1.5em 0; text-align:center; word-wrap:break-word; } .chapter p, .dedication p { font-size: 1em; text-indent: 1em; margin: 0; word-wrap:break-word; } .forward p { font-size: 1em; text-indent: 0em; margin: 0; word-wrap:break-word; } .cite { font-size: .9em; text-indent: 0em; margin: 1.5em 1em 1.5em 1em; } .cite p{ text-indent: 0em; margin: 0 0 .2em 0; text-align: left; word-wrap:break-word; } p.blockquote { font-size: .9em; 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; } /* ***User:6#B#G=0*** */