/* ========================== Paragraphs StyleSheet (c) 2016 Oxford eBooks Ltd www.oxford-ebooks.com ========================== */ /* Accent colours: Add any class names that you want to be coloured here. */ .accent{ color:#c22; } body{ margin-top:0; padding-top:0; } /* Body text */ p, .p { margin: 0px 0em 0em 0em; text-align:justify; text-indent:1em; -moz-hyphens: none; hyphens: none; -webkit-hyphens:none; orphans:2; } /* No Indent */ .n{ text-indent: 0em!important;} /* Top margin */ .t{ margin-top:1em;} /* Bottom margin */ .b{ margin-bottom:1em;} .linethrough{text-decoration:line-through;} /* Centred text */ .c{ text-align:center!important; text-indent: 0em!important; margin-left:5%; margin-right:5% } /* Small text */ .s{ font-size:80%;} /* Right Align */ .r{ text-align:right; text-indent: 0em!important; } /* Left Justify */ .l{ text-align:left!important;} /* Full width of parent. */ .w{ width:100%; margin-left:0; margin-right:0; } /* Quoted text +small */ .q{ font-size:90%; margin-left:1em; margin-right:1em; } /* Hanging indents */ .hang{ text-indent: -1em; margin-left: 2em; } .hang2 { text-indent: -1em; margin-left: 3em; } .hang3 { text-indent: -1em; margin-left: 4em; } /* Indented */ .i1{margin-left:1em;} .i2{margin-left:2em;} .i3{margin-left:3em;} .i4{margin-left:4em;} /* Poetry (same size as quote) */ .po1, .po2, .po3, .po4, .po5, .po6{ font-size: 100%; text-align:left; text-indent: -2em; } .po1{margin-left: 3em;} .po2{margin-left: 4em;} .po3{margin-left: 5em;} .po4{margin-left: 6em;} .po5{margin-left: 7em;} .po6{margin-left: 8em;} /* Footnote reference */ .fr, .sup{ font-size: 80%; vertical-align: top; } .sub{ font-size: 80%; vertical-align: sub; } /* Footnote */ .fn, .fn_ctd{ font-size: 80%; margin-top:0.5em; text-indent: 0em; text-align:left; text-indent: -1em; margin-left: 2em; } /* Continuing footnote */ .fn_ctd{ margin-left: 2em; text-indent:1em; margin-top:0.0em; } /* Lists */ .list-lr{list-style-type:lower-roman;} .list-ur{list-style-type:upper-roman;} .list-la{list-style-type:lower-alpha;} .list-ua{list-style-type:upper-alpha;} .list-none{list-style-type:none;} .list-circle{list-style-type:circle;} ol.list-left li, ol.list-left li{ text-align:left; } /*=================== Text decoration =================== */ .caption{ text-align:center!important; text-indent: 0em!important; color:#444; font-size:80%; } div.group{ page-break-inside:avoid; display:inline-block; width:100%; } span.drop{ float: left; font-size: 3.26em; margin: 0.205em 0.1em 0 0; line-height: 0.5em; } /* Kindle drops don't like line-height */ @media not amzn-kf8, amzn-mobi { span.drop{ line-height: 0.5em; } } @media amzn-kf8 { span.drop { font-weight:normal; font-size:320%; float:left; margin-top:-0.3225em; margin-bottom:-0.3245em; margin-right:0; } } @media amzn-mobi { span.drop { font-size:3em; font-weight: bold; margin:0; line-height: auto; } } .smallcaps{font-variant:small-caps;} .underline{text-decoration: underline;} /*=================== Additional alignment =================== */ .inline-block{ display:inline-block; } .pb_before{ page-break-before: always; } .pb_after{ page-break-after: always; } /*=================== Media Queries =================== */ /* Content switches */ .default {display: block;} .mobi {display: none;} .kf8 {display: none;} /* TODO: add apple */ /* TODO: add Kindle for IOS (AZK?) */ @media amzn-mobi{ .default {display: none;} .mobi {display: block;} } @media amzn-kf8{ .default {display: none;} .kf8 {display: block;} }