/* Template CSS, (c) 2009 LibreDigital */ /* -------------- General Styles -------------- */ a {text-decoration: none;} body { margin-top: 0em; margin-bottom: 0em; margin-left: 1em; margin-right: 1em; } p.indent{ margin-top:0em; margin-bottom:0em; font-size:small; text-indent: 1em; text-align: justify; } .noindent { text-indent: 0; margin-top:0em; margin-bottom:0em; font-size:small; text-align: justify; } .noindentx { text-indent: 0; text-align: justify; font-size:small; margin-top: 0em; margin-left: 1.5em; margin-right: 1.5em; margin-bottom: 0em; } .center { margin-top:0em; margin-bottom:0em; font-size:small; text-indent: 0em; text-align: center; } .centert { margin-top:0em; margin-bottom:0em; font-size:small; text-indent: 0em; text-align: center; } .center-n {text-align: center; margin-top: 1em; margin-bottom: 0em; font-size: x-small;} .right { margin-top:0em; margin-bottom:0em; font-size:small; text-indent: 0em; text-align: right; } .left {text-align: left;} .first {margin-top: 3em;} .spacer {margin-top: 2em;} .hang { font-size:small; margin-left: 1.5em; margin-right: 0em; text-indent: -1.5em; text-align: justify; } .hang1 { font-size:small; padding-left: 1.5em; margin-right: 0em; text-indent: -1.4em; text-align: justify; } p.crt { font-size:x-small; margin-bottom:0em; text-indent:0em; margin-top: 1em; text-align: center; } .tbmargins { margin-top: 8px; margin-bottom: 8px; } blockquote { margin-top: 1em; margin-left: 1.5em; margin-right: 1.5em; margin-bottom: 1em; } blockquote.quote { margin-top: 3em; margin-bottom: 3em; } img { border: 0; } span.dropcap { font-size: 3em; font-weight: bold; } span.big {font-size: 1.2em;} span.small {font-size: small;} sup { vertical-align: 4px; } sup.frac, sub.frac { font-size: 0.7em; } .clear {clear: both} span.underline {text-decoration: underline;} span.strike {text-decoration: line-through;} /* -------------- Headings -------------- */ h1 { text-align: center; font-weight: bold; margin-top: -0em; margin-bottom: 2.5em; font-size: large; } h2 { text-align: left; margin-top: 2em; margin-bottom: 0em; font-size: medium; } .h2a { text-align:justify; text-indent:0em; margin-top: 2em; margin-bottom: 0em; font-size: medium; } h2.sec { text-align: center; margin-top: 2em; margin-bottom: 0em; font-size: 130%; } h3 { text-align: center; text-indent:0em; margin-top: 1em; margin-bottom: 0.5em; font-size: large; } .h3a { text-align: center; text-indent:0em; margin-top: 1.5em; margin-bottom: 0.5em; font-size: medium; } h3.left { text-indent:0em; text-align:justify; margin-top: 1em; margin-bottom: -0.5em; font-size: medium; } h4 { text-align: left; margin-top: 1em; margin-bottom: -0.5em; } h4.left { text-align:justify; text-indent:0em; margin-top: 2em; margin-bottom: 0.5em; } .h4a { text-align: left; margin-top: 1em; text-indent:0em; font-size:medium; margin-bottom: 1em; } h5 { text-align: left; margin-top: 1em; } h6 { text-align: left; margin-top: 1em; } /* -------------- Cover page -------------- */ div#coverpage { text-align: center; } /* -------------- Title Page -------------- */ .booktitle { margin-top: 3em; margin-bottom: 3em; text-align: center; } h1.titlepage { margin-bottom: 0em; text-align: center; font-weight:bold; font-size:large; } h1.titlepage1 { margin-bottom: 4em; text-align: center; font-weight:bold; font-size: x-large; } .byline { /* by, translated by, edited by, etc. */ text-align: center; } h1.author { text-align: center; font-size: medium; margin-bottom: 3em; } .othertext { /* "a novel", "author of...", etc. */ text-align: center; } .publogo { margin-top: 0em; 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 -------------- */ .notextbelow { margin-top: 30%; } part { display: block; } hr { border: 0; color: black; background-color: black; height: 2px; text-align: center; } /* -------------- Chapters -------------- */ h1.chapter { font-size: large; font-weight: normal; text-align: center; margin-top: 1em; margin-bottom: 2em; text-indent:0em; } h1.chapter1 { font-size: large; font-weight: normal; text-align: center; margin-top: 0.5em; margin-bottom: 0.5em; text-indent:0em; } hr { border: 0; color: black; background-color: black; height: 2px; text-align: center; } /* -------------- Extracts, Sidebars, Pull Quotes -------------- */ div.extract { border: 1px solid black; padding: 10px; margin: 10px; } div.sidebar-center { border: 1px solid black; padding: 10px; margin: 10px; } div.sidebar-left { float: left; width: 30%; border: 1px solid black; padding: 10px; margin: 10px 0 10px 10px; } div.sidebar-right { float: right; width: 30%; border: 1px solid black; padding: 10px; margin: 10px 10px 10px 0; } /* -------------- 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-size: 0.8em; } p.title { text-align: center; font-weight: bold; } /* -------------- Tables -------------- */ div.table { text-align: center; margin-top: 2em; margin-bottom: 2em; } 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; } /* -------------- Lists -------------- */ ul, ol { margin-top: 1em; margin-bottom: 1em; } 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: 2em; text-indent: -2em; } .index2 { margin-left: 4em; text-indent: -2em; } .index3 { margin-left: 6em; text-indent: -2em; } /* -------------- Footnotes -------------- */ div#footnotes .note { text-indent: 0; margin-top: 2em; } /* ------------- About the Publisher --------- */ .atptext { font-size:small; margin-top:1em; margin-bottom:0em; text-indent:0em; text-align: center; } .atptext1 { font-size:small; margin-top:0em; margin-bottom:0em; text-indent:0em; text-align: center; } .atptext2 { font-size:small; margin-top:0.25em; margin-bottom:0em; text-indent:0em; text-align: center; } h2.atphead { text-align: left; font-size: 1.5em; margin-bottom: 2em; } /* -------------- Added ---------------- */ a.puburl { color: #dc7ea8; font-size: 0.8em; margin-top: 1em; } /* ----------------- Mobi ----------------*/ .noindentfirst { font-size: small; text-align: justify; text-indent: 0em; margin-top: 1em; margin-bottom: 0em; margin-left: 0em; margin-right: 0em; } .centerfirst { text-align: center; margin-top: 2em; } .indentfirst { text-indent: 2em; margin-top: 2em; } .rightfirst { text-align: right; margin-top: 2em; } .leftfirst { text-align: left; margin-top: 2em; } .hangfirst { margin-top: 1em; font-size:small; padding-left: 1.5em; margin-right: 0em; text-indent: -1.5em; text-align: justify; } .hangfirst1 { font-size:small; margin-top: 2em; padding-left: 1.5em; margin-right: 0em; text-indent: -1.4em; text-align: justify; } .hang-list { padding-left: 1em; margin-right:0em; margin-top:0em; margin-bottom:0em; text-align:justify; font-size:small; text-indent: -1em; }