/* 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: 1em 0 1.3em 0; text-align: center; } .title { font-size:3.5em; margin: 10% 0 0 0; text-align: center; word-wrap:break-word; -webkit-hyphens:none; hyphens:none; text-weight: bold; } .gap1 { margin-left: 0.3em; } .author { font-size:1.5em; text-align: center; word-wrap:break-word; -webkit-hyphens:none; hyphens:none; text-weight: bold; margin-top: -8%; } .title1 { font-weight: bold; margin-top: 8em; font-size: 0.8em; } .ts1 { margin-left: 2em; } .ts2 { font-size: 1em; color: #6d6e70; } .ts3 { margin-right: 20%; color: #6d6e70; } /* 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 { font-size: 2.5em; text-align: right; font-weight: normal; word-wrap:break-word; -webkit-hyphens:none; margin-bottom: 0.5em; } .chapter { margin-top: 10%; } .copyright p { font-size: 0.9em; text-indent: 0; padding: 0 0 0.5em 0; text-align:center; word-wrap:break-word; } .foward p { font-size: 1em; text-ailgn: center; word-wrap:break-word; } .box { background-color: #e8e8e8; border: none; width: 80%; padding: .5em 1em .5em 1em; margin: 1em !important; word-wrap:break-word; } .box1 { background-color: black; border: none; width: 100%; padding: .5em 1em .5em 1em; margin: 1em !important; word-wrap:break-word; } .chapter p{ font-size: 1em; text-indent: 1em; margin: 0.3em 0 0 0; word-wrap:break-word; text-align: justify; } .dedication p { font-size: 1em; text-indent: 1.2em; margin: 30% 0 0 0; word-wrap:break-word; text-align: justify; } .foward 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; } span.fn1{ font-size: 2.1em; font-weight: normal; } span.fn2{ font-size: 1.5em; } p.sm1{ text-align: center; font-size: 1.1em; } p.sm2{ text-align: center; font-size: 1.1em; } p.sm3{ text-indent: 0em; margin-left: 2em; } p.sm31{ margin-left: 2em; } p.tx0{ text-indent: 0em; } p.tx01{ text-indent: 0em; margin-bottom:2em; } p.sm7{ text-align:center; font-size: 1.1em; margin-bottom:2em; } span.sm71{ text-align:center; font-size: 0.7em; margin-bottom:2em; } p.sm8{ text-indent: 0em; font-size: 1.5em; } span.sm9{ font-size: 1.5em; margin-bottom:2em; font-weight: bold; } span.ss1{ margin-left:2em; } p.sm10{ text-indent: 0em; } p.mm1{ text-align:center; font-size: 2.1em; } span.mm2{ text-align:center; font-size: 2.3em; } span.sm11{ text-indent: 0em; font-size: 2.5em; } span.nn1{ font-size: 1.3em; } p.nn2{ font-size: 1.5em; text-align:center; } .right1 { float:right; margin-top:-6em; } .bnone { border: none; } .bnone1 { border: none; background: black; } span.color{ color: white; font-size: 1.5em; } p.center2{ margin-top: 30%; text-align:center; } p.stl1 { margin-top: 1em; margin-bottom: 1em; margin-left: 2.5em; text-indent: 0em; } h1.stl1 { text-align: center; margin-bottom: 0.5em; } .smallcaps { font-variant: small-caps; text-transform: lowercase; } p.tx1 { text-indent: 0em; } span.dcap { display: inline; padding-top: 7px; float: left; line-height: .6em; font-size: 3em; margin-right: .05em; color:#6d6e70; } h1.ct { text-align:right; margin-bottom: 3em; margin-top: 0em; font-size: 2em; color:#555557; } h1.ct1 { text-align:center; margin-bottom: 1em; margin-top: 0em; font-size: 1.8em; color:#555557; } h1.ct2 { text-align:left; margin-bottom: 3em; margin-top: 0em; font-size: 1.6em; } h1.title { margin-top:2em; font-size:2.5em; } h1.title1 { margin-top:0em; font-size:2.5em; margin-bottom:3em; } h2.author { font-size:1.5em; margin-top:0em; margin-bottom:3em; }