/* ********************************************************* /* Modified By Saba on 4-6-2012 This CSS is divided into following major blocks 1. Generic component setting 1.1 h1, h2, h3, h4, p, sub, sup, blockquote 1.2 ul, ol, li, table, td 1.3 a 1.4 sub, sup 1.5 Title Group for chapters 1.6 Containers for the book components 2. Front matter 2.1 Books Title 2.2 Table of content (Toc) 2.3 Copyrights 2.4 Acknowldgements (Heading, bodytext, signature) 2.5 Dedication 2.6 Forward 2.7 Contributors 3. Body 3.1 Chapter/Section title and subtitle 3.2 Chapter/Section body text 3.4 images 3.5 tables 3.6 notes 3.7 quotes 4. Back 4.1 Index 4.2 Bibliograpghy */ /******************** ALL GENERIC DECLARATIONS ***************************/ body { margin-right: 2%; margin-left: 2%; padding:0; color: #000; font-family:serif; text-align:justify; } h1, h2, h3, h4, h5, h6, p, td, li, blockquote /*Do not create a blockquote class instead use the blockquote tag when indented bit of text is required*/ { font-family:serif; margin:0; } /********************************** FRONT MATTER *************************************/ /* TITLE PAGE*/ div.titleGroup /* Use this to enclose Book Title, Sub-Title and Author Update as per the text requirement.*/ { margin-top:auto; margin-left:6%; margin-right:5%; padding:0em; text-align:left; padding-top:3em; /*(Optional. Default should be left)*/ } div.titleGroup h1 /* Book Title - Any other setting for h1. Do not need to add bold. h1 is bold by default, however a thinner book title can be displayed by using 'font-weight:normal' attribute */ { font-size:180%; margin:0; } div.titleGroup h2.subtitle /* Use this for Book Subtitle. Update as required*/ { font-size:160%; margin:0; /*(Remove default top margin)*/ font-weight:normal; margin-bottom:3em; } div.titleGroup h2.author { margin:0; /*(Remove default top margin)*/ margin-bottom:7em; font-size:120%; } div.titleGroup p { margin-top:12em; } div.titleGroup p.noindent { margin-top:4em; font-size:130%; font-weight:bold; } /* COPY RIGHTS*/ div.copy /*Encloses all copyrights content*/ { text-align: left; margin-top: 2em; margin-bottom: 0em; margin-left: 0em; margin-right: 5em; } div.copy p { font-size:80%; /*(bigger than normal textt, however will look better on iPad readers)*/ margin-bottom:.8em; margin-top:0; } div.copy p.auth { margin-bottom:0em; } div.copy p.p1 { margin-bottom:0; padding:0; text-indent:1em; } div.copy p.noindent { font-size: 80%; margin-bottom: 0; margin-top: 0; } em.ciptxt { font-style: normal; text-align: right; } div.indent { padding:0; margin:0; text-indent:.8em; } /* TABLE OF CONTENTS */ div.toc { margin-top: 2em; margin-bottom: 0em; margin-left: 0em; margin-right: 5em; padding:0; text-align:left; } div.toc p { } div.toc ul, div.toc ol { margin:0; padding:0px; list-style:none; clear:both; } div.toc li { padding:0; margin-left:0em; text-indent:0; margin-bottom:.8em; clear:both; } /* ********************************************************* This CSS is divided into following major blocks 1. Generic component setting 1.1 h1, h2, h3, h4, p, sub, sup, blockquote 1.2 ul, ol, li, table, td 1.3 a 1.4 sub, sup 1.5 Title Group for chapters 1.6 Containers for the book components 2. Front matter 2.1 Books Title 2.2 Table of content (Toc) 2.3 Copyrights 2.4 Acknowldgements (Heading, bodytext, signature) 2.5 Dedication 2.6 Forward 2.7 Contributors 3. Body 3.1 Chapter/Section title and subtitle 3.2 Chapter/Section body text 3.4 images 3.5 tables 3.6 notes 3.7 quotes 4. Back 4.1 Index 4.2 Bibliograpghy */ p, td, li { font-size:100%; } p { margin:0; padding:0; } ul, ol { padding:0; margin:0; } ul { list-style-type:none; } table { border-collapse:collapse; padding:0; margin-bottom:.3em; } table td { vertical-align:top; } td { vertical-align:top;} ul.series { padding-top:1em; padding-bottom: 1em; } ul.series li { text-indent:-1.9em; margin-left:1.9em; } table.series td /*(ADD this new code)*/ { padding-right: 1.5em; padding-bottom: 0em; vertical-align:top; } a:link { text-decoration: underline; } sub, sup { font-size:70%; } /* Use div.container directly inside html body in all prelim pages except Title page. and div.chapterbody for chapter components*/ div.container, div.chapterbody { margin-top:auto; margin-left:3%; margin-right:3%; padding-top:1em; } /*CHAPTER TITLE HEADING and SUB HEADING*/ div.chaptitlegroup { margin-bottom:7em; padding:0em; margin-top:3em; text-align:left; } div.chaptitlegroup_p { margin-bottom:8em; padding:0em; margin-top:3em; text-align:left; } div.chaptitlegroup_nbm { padding:0em; margin-top:3em; text-align:left; } h2.label { font-size:100%; /*...to be added as per the book...;*/ margin:0; padding:0; padding-bottom:0em;/* ...to be added as per the book...;*/ padding-right:0em;/* ...to be added as per the book...;*/ } h2.chaptitle { font-size:160%; margin:0; padding:0; text-indent:-1.5em; margin-left:1.5em; } h2.chaptitle_sf { font-size:120%; margin:0; padding:0; } h2.chapsub { font-size:140%; font-weight:normal; margin:0; padding:0; } p.chapauthor { font-size:120%; font-style:italic; font-weight:normal; margin:0; padding:0; margin-top:1em; margin-bottom:1em; } h2.chapauthor { font-size:120%; font-style:italic; font-weight:normal; margin:0; padding:0; margin-top:1em; margin-bottom:1em; } p.affl { padding-bottom: .8em; font-size:120%; } /*SECTION HEADING and SUB HEADING*/ h3.sechead { font-size: 100%; text-align:left; padding-top:1.5em; padding-bottom: .8em; } h3.sechead_notes { font-size: 100%; text-align:left; padding-top:1.5em; padding-bottom: .8em; margin-left:1.5em; text-indent:-1.5em; } h4.sechead { font-size:100%; text-align:left; padding-top:1.5em; padding-bottom: .8em; font-style:italic; font-weight:700; } /* Contributor page*/ p.contrib /*(Add this class to CSS, if not there already)*/ { text-indent:-1em; padding-left:1em; margin:0; padding-top:0; padding-bottom: .8em; text-align:justify; } h3.listhead { margin-bottom:1em; } em.label /* USe this on lists where the numbering is uneven.*/ { font-style:normal; padding-right:.8em; /*(change as per PDF setting)*/ } /*DEDICATION*/ .indentR { font-size: 12pt; font-family:sans-serif; text-align: justify; margin-top: 0.8em; margin-bottom: 1.5em; margin-left: 0.5em; margin-right: 0em; } /********************************** BOOK BODY *************************************/ /* BOOK PART*/ bookpartgroup { height:40%; } h2.partnumber { font-size:150%; margin-bottom:0; padding:0; } h2.parttitle { font-size:180%; margin-top:0; /*margin-bottom:8em;*/ padding:0; text-align:left; } h2.partsubtitle { font-size:160%; font-weight:normal; text-align:left; } /* CHAPTER COMPONENTS */ /* Chapter Titles*/ div.chapnum { float:left; padding-right:3em; text-align:left; } div.chaptitle { float:left; clear:right; text-align:left; } /* Chapter Body */ h2.chaptitle sup { font-size:50%; } div.chapterbody p.indent { text-indent:1em; padding-top:.1em; margin-top:0; } p.noindent { text-align: justify; padding-top:.1em; } p.noindent_m { font-size:120%; text-align: justify; padding-top:.1em; padding-bottom:5em; } p.indent { text-align: justify; text-indent: 1em; padding-top: .1em; } /*Aligning all ULs with the p where vere they are*/ div.chapterbody ul, div.chapterbody ol { margin:0; margin-top:0em; margin-bottom:0em; padding-left:0em; } h4.sechead /*(Level 1 section heading)*/ { padding-top:1.5em; padding-bottom: .8em; padding:0; text-align:left; } h4.sechead2 /*(Level 2 section heading)*/ { margin:0; padding-top:1.5em; padding-bottom: .8em; text-align:left; } h5.sechead /*(Level 3 section heading)*/ { font-weight:normal; font-size:100%; padding-top:1.5em; padding-bottom: .8em; text-align:left; } ul.bodytext { list-style-type:disc; margin:0; padding-left:0; padding-top:1em; padding-bottom:1em; } div.quote /*Use this div to enclose text if the text is indented from both right and left and then use p.blockquote inside it.*/ { padding-right:7%; padding-left:7%; padding-bottom:.5em; text-align:justify; } p.quote { font-size:90% ; /*to be defined if the text size is smaller than normal paragraph*/ padding-left:2.5em; } /*Indented block of text from the left only*/ p.blockquote { padding-left:1.5em; padding-top:1em; padding-bottom:1em; } p.blockquote_nbm { padding-left:1.5em; padding-top:1em; } /* Author byline below the quote*/ p.signed { text-align:right; padding-bottom:0em; font-size: 100%; margin-top: 0em; margin-bottom: 0em; margin-right: 0.2em; } div.imagegroup /*(img and p.caption tags go inside this)*/ { text-align:center; padding:0; padding-top:1em; padding-bottom: 1em } div.imagegroup p.caption { font-size:90%; text-align:left; /*ADD this new code*/ } div.imagegroup img { } /* TABLE*/ /*(Use this class to tailor tables according to PDF. eg adding special border and padding etc. If the table has no borders, then generic table component declared in the beginning should suffice. However td padding can be changed etc above as per the individual book requirement.)*/ div.tabgroup { margin-right:5%; text-align:left;/*(Changed as per each book)*/ padding:0; padding-top:1em; padding-bottom:1em; } div.tabgroup td.td_bm { padding-bottom:1em; } div.tabgroup td.td_ir { text-align:right; } div.tabgroup td { padding-left:.5em; } div.tabgroup p.caption { font-size:90%; text-align:left; /*ADD this new code*/ } /*table.tab { border-top: #000 1px solid; } */ /*table.tab th { border-top:black 1pt solid; border-bottom:black 1pt solid; padding:.8em; }*/ /*table.tab td { padding: .2em; vertical-align: top; border-right: #000 1px solid; border-left: #000 1px solid; border-bottom: #000 1px solid; text-align: center; }*/ /* table.tab tbody { border-bottom:black 1pt solid; }*/ div.tabgroup p.foot { font-size:90%; text-align:left; } .tab3 /* Add this new code*/ { border-right:none; } .fcolumn { text-align:left } div.box { border: #000 1px solid; /* Change this property if the box borders are different shade or thicker than 1px*/ padding:.5em; padding-top:1em; padding-bottom:1em; margin-right:5%; margin-left:5%; } /* NOTES */ /* Please do not use caption Notes if it is not in the PDF.*/ div.notes { margin-left:0; padding-left:1.5em; text-indent:-1.5em; /*border-top:#333333 1pt solid; /*(use this where applicapble or leave it as 0)*/ } div.notes h5 /*(Populate this as per PDF setting or leave it blank*/ { } em.label { font-style:normal; } div.notes p { font-size:85%; padding-left:0em; margin-bottom:0em; } p.ntx { text-indent:-1em; font-size: 85%; margin-bottom:0em; margin-top:0em; font-weight: normal; } p.ntx1 { text-indent:-1.5em; font-size: 85%; margin-bottom:0em; margin-top:0em; font-weight: normal; } p.ntx2 { text-indent:-2em; font-size: 85%; margin-bottom:0em; margin-top:0em; font-weight: normal; } p.ntx a{ padding-right:.3em; } /******************** BACK MATTER ***************************/ /* USE this for subject index and Author Index*/ div.letter { padding-bottom:1em; } div.letter p { margin-bottom:0em; } p.bib { margin-bottom:.3em; } p.bib { margin-bottom:.3em; } div.bibl { font-size:85%; } div.bibl p { text-indent:-1em; padding-left:1em; margin:0; padding-top:0; } div.bibl p.noindent{ text-indent:-1em; padding-left:1em; } div.bibl p.indent{ text-indent:-1em; padding-left:1em; } div.bibl p.indenturl{ text-align:left; text-indent:-1em; padding-left:1em; margin:0; padding-top:0; } /* FOR INDEX and NOTES */ p.idx { text-indent:0em; font-size: 90%; margin-bottom:0em; margin-top:0em; font-weight: normal; margin-left:1em; text-indent:-1em; } div.toc h3 { font-size:100%; /*(font size just tiny bit bigger than 100%)*/ padding-left:0em; margin-left:0em; padding-bottom:.8em; padding-top:.8em; } p.toc1 { /*font-style:italic;*/ padding-left:0; margin-left:0; padding-top:0em; padding-bottom:.0em; } div.label { padding-top:.8em; } div.chapter { /*padding-left:.8em;*/ padding-top:.8em; padding-left:.8em; } div.toc_auth { font-size:80%; font-weight:normal; } div.toc td { vertical-align:top; } /*FIGURE AND TABLE LISTS*/ h3.listhead { margin-bottom:1em; } /*DEDICATION*/ p.dedication { font-style: italic; font-weight: normal; font-size: 120%; text-align:center; margin-top:14em; } /********************************** BOOK BODY *************************************/ /* BOOK PART*/ bookpartgroup { height:40%; } div.chaptitle { float:left; clear:right; } /* Chapter Body */ h2.chaptitle sup { font-size:50%; } div.chapterbody p.indent { text-indent:1em; padding-top:.1em; margin-top:0; } h4.sechead, h4.sechead2 { font-size:100%; font-weight:bold; text-align:left; padding-top:1.5em; padding-bottom: .8em; } div.copy p.p_ntm { margin-top:-.8em; margin-left:1em; } p.attrib { text-align:right; margin-bottom:1em; } p.noindentd { font-size:110%; padding-top:7em; font-weight:600; } div.label11 { padding-top:0em; } div.chapter11 { /*padding-left:.8em;*/ padding-top:0em; padding-left:.8em; } p.attrib1 { text-align:right; margin-bottom:1em; } p.blockquote1 { padding-left:1.5em; padding-top:1em; } p.blockquote1_notes { text-indent:0em; margin-left:1.5em; padding-top:1em; } p.attrib_notes { text-align:right; padding-bottom:1em; } p.blockquote_notes { text-indent:0em; margin-left:1.5em; padding-top:1em; padding-bottom:1em; } p.ntx_nindent { text-indent:0em; font-size: 85%; margin-bottom:0em; margin-top:0em; font-weight: normal; } p.ntx_indent { text-indent:1em; font-size: 85%; margin-bottom:0em; margin-top:0em; font-weight: normal; } p.blockquote_notes_nbm { text-indent:0em; margin-left:1.5em; padding-top:1em; padding-bottom:1em; } h4.sechead_idx { margin-top:1em; }