/* Template CSS, (c) 2009 LibreDigital */ /* -------------- General Styles -------------- */ body { /*margin: 20px;*/ } p { line-height: 1.2em; margin-top:0.0px; margin-bottom:0.0px; } .indent {text-indent:30.0px;} .noindent {text-indent: 0;} .center {text-align: center;} .right {text-align: right;} .left {text-align: justify;} .first {margin-top:45.0px;} .spacer {margin-top:30.0px;} .hang { margin-left:30.0px; text-indent:-30.0px; } .tbmargins { margin-top: 8px; margin-bottom: 8px; } blockquote { margin-top:15.0px; margin-bottom:15.0px; } blockquote.quote { margin-top:45.0px; margin-bottom:45.0px; } img { border: 0; } span.dropcap { font-size: 3em; font-weight: bold; } span.big {font-size: 1.2em;} span.small {font-size: 0.8em;} span.underline {text-decoration: underline;} span.strike {text-decoration: line-through;} sup { vertical-align: 4px; } sup.frac { font-size: 0.7em; line-height: 0em; } sub.frac { font-size: 0.7em; line-height: 0em; } .clear {clear: both} /* -------------- Headings -------------- */ h1 { text-align: center; } h2 { text-align: center; margin-top:15.0px; } h3 { text-align: center; margin-top:15.0px; } h4 { text-align: justify; margin-top:15.0px; } h5 { text-align: justify; margin-top:15.0px; } h6 { text-align: justify; margin-top:15.0px; } /* -------------- Cover page -------------- */ div#coverpage { text-align: center; } /* -------------- Title Page -------------- */ div#titlepage { } .booktitle { margin-top:45.0px; margin-bottom:45.0px; text-align: center; } .subtitle { margin-bottom:45.0px; text-align: center; } .byline { /* by, translated by, edited by, etc. */ text-align: center; } .author { text-align: center; } .othertext { /* "a novel", "author of...", etc. */ text-align: center; } .publogo { margin-top:30.0px; text-align: center; font-size: 0.8em; } /* -------------- Copyright -------------- */ div#copyright { font-size: 0.8em; } div#copyright p { margin-top: 3px; margin-bottom: 3px; } div#copyright blockquote { margin-top: 0; margin-bottom: 0; } /* -------------- Dedication -------------- */ div#dedication { padding-top: 30%; } /* -------------- TOC -------------- */ div#TOC p { margin-top: 3px; margin-bottom: 3px; } div#TOC blockquote { margin-top: 0; margin-bottom: 0; } /* -------------- Front Matter (Preface, Forward, Introduction) -------------- */ div.fbmatter { display: block; } .fbmtitle { font-style: italic; font-size: x-large; } /* -------------- Parts/Sections -------------- */ div#part { display: block; } .notextbelow { margin-top: 30%; } hr { border: 0; color: black; background-color: black; height: 2px; text-align: center; } /* -------------- Chapters -------------- */ div.chapter { display: block; } /* -------------- Extracts, Sidebars, Pull Quotes -------------- */ div.extract { border-top: 1px solid black; border-bottom: 1px solid black; border-left: 1px solid black; border-right: 1px solid black; padding-top: 10px; padding-bottom: 10px; padding-left: 10px; padding-right: 10px; font-family: sans-serif; margin-top:22.5px; margin-bottom:15.0px; } div.sidebar-center { border-top: 1px solid black; border-bottom: 1px solid black; border-left: 1px solid black; border-right: 1px solid black; padding-top: 10px; padding-bottom: 10px; padding-left: 10px; padding-right: 10px; margin-top:22.5px; margin-bottom:15.0px; } div.sidebar-left { float: left; width: 30%; border-top: 1px solid black; border-bottom: 1px solid black; border-left: 1px solid black; border-right: 1px solid black; padding-top: 10px; padding-bottom: 10px; padding-left: 10px; padding-right: 10px; margin-top:22.5px; margin-bottom:15.0px; margin-right:15.0px; } div.sidebar-right { float: right; width: 30%; border-top: 1px solid black; border-bottom: 1px solid black; border-left: 1px solid black; border-right: 1px solid black; padding-top: 10px; padding-bottom: 10px; padding-left: 10px; padding-right: 10px; margin-top:22.5px; margin-bottom:15.0px; margin-left:15.0px; } /* -------------- Images -------------- */ div.image { text-align: center; margin: 10px 0; } .floatleft { float: left; margin: 10px 10px 10px 0; } .floatright { float: right; margin: 10px 0 10px 10px; } img.inline { vertical-align: middle; } p.caption { text-indent: 0; margin: 0 2em 2em 2em; font-family: sans-serif; font-size: 0.8em; } p.title { text-align: center; font-family: sans-serif; font-weight: bold; } /* -------------- Tables -------------- */ div.table { margin-top:30.0px; margin-bottom:30.0px; } table { border-collapse: collapse; margin: 1em 0; } td, th { padding: 3px 5px; } table.grid { border: 1px solid black; } table.grid td, table.grid th { border: 1px solid black; } /* use p.title and p.caption from image section above */ .bdrtop { border-top: 1px solid black; } .bdrbottom { border-bottom: 1px solid black; } .bdrleft { border-left: 1px solid black; } .bdrright { border-right: 1px solid black; } .boxedcells { border-top: 1px solid black; border-bottom: 1px solid black; border-left: 1px solid black; border-right: 1px solid black; } /* -------------- Lists -------------- */ ul, ol { margin-top:15.0px; margin-bottom:15.0px; } ol ol, ul ul, ul ol, ol ul { margin-top: 0; margin-bottom: 0; } ul.disc { list-style-type: disc; } ul.circle { list-style-type: circle; } ul.square { list-style-type: square; } ol.decimal { list-style-type: decimal; } ol.upper-roman { list-style-type: upper-roman; } ol.lower-roman { list-style-type: lower-roman; } ol.upper-alpha { list-style-type: upper-alpha; } ol.lower-alpha { list-style-type: lower-alpha; } /* -------------- Index -------------- */ div#index p { margin-top: 3px; margin-bottom: 3px; } .index1 { margin-left:30.0px; text-indent:-30.0px; } .index2 { margin-left:60.0px; text-indent:-30.0px; } .index3 { margin-left:90.0px; text-indent:-30.0px; } /* -------------- Footnotes -------------- */ div#footnotes { display: block; font-size: 0.8em; } .note { text-indent: 0; margin-top:30.0px; } /* ------------- About the Publisher --------- */ div#atp p { font-size: 0.9em; text-align: justify; text-indent:0.0px; } .atpimg { margin-top:15.0px; margin-bottom:30.0px; } .atptext { margin-bottom:13.5px; text-indent:0.0px; font-size: 0.9em; } h2.atphead { text-align: justify; font-size: 1.5em; margin-bottom:30.0px; } /* -------------- Colored Text ---------------- */ a.puburl { color: #dc7ea8; font-size: 0.8em; margin-top:15.0px; } span.textBlue { color: #00528f; } .backgroundBlue { background-color: #d7e3ee; } /* ----------------- Mobi ----------------*/ .noindentfirst { text-indent:0.0px; margin-top:30.0px; } .centerfirst { text-align: center; margin-top:30.0px; } .indentfirst { text-indent:30.0px; margin-top:30.0px; } .rightfirst { text-align: right; margin-top:30.0px; } .leftfirst { text-align: justify; margin-top:30.0px; } .hangfirst { margin-top:30.0px; margin-left:30.0px; text-indent:-30.0px; } @page { margin-top: 30px; margin-bottom: 20px; margin-left: 30px; margin-right: 30px; } body { text-align: justify; }