/* Version: 2.7 Date: 09th September 2015 What's New: 1. Added "page-break-after: avoid" to div.image blocks. 2. Added new class="hang" for hanging paragraph. 3. Change paragraph indent, text-indent: 2em; */ /* Version: 2.6 Date: 16th April 2015 What's New: 1. Floating classes "left and right" is changed to handle left and right aligned text. For floating object, create a new class as per source. 2. Chapter paragraph space is increased for better view. 3. New blockquote styles is introduced for handling blockquotes text. 4. Overriding styles for auto-hyphenation in iPad->iBooks. */ /* Last 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 { text-align:left; } .right { text-align: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 { font-size: 1.25em; text-indent: 2em; line-height:1em; text-align: justify; 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 .3em 0em; text-align:left; word-wrap:break-word; } .chapter p, .dedication p { font-size: 1.5em; text-indent: 2em; line-height:1.3; text-align: justify; margin: 0.6em 0 0 0; word-wrap:break-word; } .forward p { font-size: 1.5em; text-indent: 2em; line-height:2; text-align: justify; margin: 0.6em 0 0 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; } blockquote p { font-size: .9em !important; text-align: left !important; text-indent: 0 !important; margin: 1.5em 1em 1.5em 1em !important; word-wrap:break-word !important; } p.handwritten { font-style: italic; margin: .5em auto .5em auto; width: 85%; word-wrap:break-word; } .hang { padding-left: 1em !important; margin-bottom: 0% !important; text-indent: -1em !important; word-wrap:break-word !important; } .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; } li { margin: 0em 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; } /* 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; } .smallcaps { font-variant: small-caps; } img {width:100%} figure.frame_fullpage { /*frame*/ margin:0em; padding:0em; text-align:center; page-break-after:always; page-break-before:always;} div.wrap_fullpage { /*wrap*/ text-align:center; text-indent:0em;} img.fullpage { /*image*/ height:95%; width:auto;} figure.frame_image { /*frame*/ text-align:center; margin:0em;} div.wrap_image { /*wrap without cutline*/ text-align:center; text-indent:0em; padding-top:0.5em; padding-bottom:0.5em;} div.wrap_image_cutline { /*wrap with cutline*/ text-align:center; text-indent:0em; padding-top:1.5em; padding-bottom:.25em;} .image_author { width:40%; text-align:center; margin-bottom:-1.5em; display:inline-block;} img.image_100 { width:100%;} img.image_20 { width:20%;} img.image_40 { width:80%;} img.image_30 { width:80%;} img.image_50 { width:80%;} img.image_60 { width:60%;} img.image_70 { width:80%;} img.image_90 { width:90%;} dl {margin-left:1em;margin-right:1em;} dt {margin-top:2em;margin-bottom:0.25em;} dfn {font-weight:bold;font-style:normal;} figure.frame_image_right_40 { /*frame*/ margin:0em; padding-top:.5em; padding-bottom:.5em; padding-left:1em; float:right; width:40%;} p.backmatter_text { text-align:left; margin-top:0em; margin-bottom:0em; font-size:1.25em; line-height:1.5;} span.strong { font-weight:bold; } span.em { font-style:italic; } h1.chapter_number { text-align:center; padding-top: 0em; margin-bottom: .1em; text-indent: 0em; font-size: 1.8em; line-height:1; font-weight: bold; } h1.chapter_title { text-align:center; margin-top: 0em; margin-bottom: 3em; text-indent: 0em; font-size:2.5em; line-height:1; font-weight: bold; display:block;} a { color:inherit; } /* ***User:R#I#W=1*** */