/* 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:3.5em; margin: 5% 0 .3em 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: 15% 0 20% 0; } .title1 { font-weight: bold; font-size: 0.7em; } /* 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: bold; word-wrap:break-word; -webkit-hyphens:none; margin-bottom: 20%; color: #6d6e70; } .chapter { margin-top: 20%; } .copyright p { font-size: 1em; 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: 1.2em; 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; } 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; font-size: 1.3em; } p.stl1 { margin-top: 1em; margin-bottom: 1em; margin-left: 2.5em; text-indent: 0em; } h1.stl1 { text-align: center; margin-bottom: 1em; margin-top: 10%; } .smallcaps { font-variant: small-caps; text-transform: lowercase; } .ash { color: #6d6e70; font-weight: bold; } .ash1 { color: #929397; font-weight: bold; } .ash2 { color: #6d6e70; font-weight: bold; } .font1 { font-size: 0.8em; } .font2 { font-size: 0.6em; } .ts1 { border: none; } .ts2 { border: none; padding: 0 0.5em 0 0; text-align: right; } .ts3 { border: none; padding: 0em; text-align: left; } .ts4 { border: none; padding: 0em; }