/* basic TTB house stylesheet for w2x- or w2e- produced epubs */ /* some editing of style names will be required depending on source */ /* sample font declarations for non-embedded fonts: */ /* corresponds to LO template file /media/x/sigil/TTB-Custom-Styles-Sigil.ott should also work with next-gen styles, TTB-Custom-Styles-NG.ott and writer2epub config file config-NG.xml and config-ALL.xml */ @font-face { font-family: "Berling Antiqua"; font-style: normal; font-weight: normal; src:local(BerlingAntiqua-Roman); } @font-face { font-family: "Berling Antiqua"; font-style: normal; font-weight: bold; src:local(BerlingAntiqua-Bold); } @font-face { font-family: "Times New Roman"; font-style: normal; font-weight: normal; src:local(TimesNewRomanPSMT); } /* example of declaration for embedded font: */ /* nb src:url(... is case sensitive. */ /* typically don't use these @font-face { font-family:'Blackadder ITC',cursive; font-style: normal; font-weight: normal; src:url("../Fonts/ITCBlkad.TTF"); } @font-face { font-family:Ravie; font-style: normal; font-weight: bold; src:url("../Fonts/RAVIE.TTF"); } */ /* use with the following (e.g.) in each style: */ body { } span.ttb-boldchar { font-weight:bold; /* background-color:transparent; */ } span.ttb-italicchar { font-style:italic; } span.ttb-bolditalicchar { font-style:italic; font-weight:bold; } span.ttb-underscore { text-decoration:underline; } span.ttb-gold { font-weight:bold; color:rgb(204,102,0); background-color:transparent; } span.ttb-blue { font-weight:bold; color:rgb(90,128,188); background-color:transparent; } span.ttb-strikethru { text-decoration: line-through; font-style:italic; } span.ttb-drop-cap { font-size: 200%; font-weight: normal; /* margin-top:0.05em; larger value moves cap down */ /* margin-right:0.07em; larger value pushes text right */ /* margin-bottom:0.05em; larger value incr space below cap */ /* margin-left:0.25em; larger value pushes cap to right */ /*disable if intended for mobi conversion line-height: 1; height: 1em; float: left; margin-top:0.05em; margin-right:0.07em; margin-bottom:0.05em; margin-left:0.25em; */ } span.ttb-small-caps { font-weight: normal; font-style: normal; font-size: 0.85em; /* margin-left:-0.70em; */ text-transform:uppercase; } span.ttb-small-capcaps { font-weight: normal; font-style: normal; font-size: 130%; text-transform:uppercase; } a:link { color:#000080; text-decoration:underline; } p.ttb-blockquote { margin-left:1.50em; margin-right:1.50em; margin-top:0; margin-bottom:0; border:none; padding:0; text-indent:1.50em; } div.ttb-blockquote { margin-top:1.5em; margin-bottom:1.5em; } div.ttb-journal { margin-top:2.0em; margin-bottom:2.0em; } p.ttb-journal { margin-left:3.0em; margin-right:3.0em; margin-top:0; margin-bottom:0; border:none; padding:0; text-indent:1.50em; font-style:italic; } .ttb-aboutAuthor { margin-left:0; margin-right:0; margin-top:2.0em; margin-bottom:1.0em; border:none; padding:0; text-indent:1.50em; font-style:italic; font-size:117%; text-align:left; } p.linebreak { line-height: 0.8em; margin-top: 0.0em; margin-bottom: 0.0em; } p.ttb-bodytext { margin-left:0; margin-right:0; margin-top:0; margin-bottom:0; border:none; padding:0; text-indent:1.50em; } div.ttb-block { margin-top:1.5em; margin-bottom:1.5em; } p.ttb-firstpara { margin-left:0; margin-right:0; margin-top:0; margin-bottom:0; border:none; padding:0; text-indent:0.05em; } p.ttb-noindent { margin-left:0; margin-right:0; margin-top:0; margin-bottom:0; text-indent:0.05em; border:none; padding:0; } p.ttb-comment { margin-left:0; margin-right:0; margin-top:3.0em; margin-bottom:0; text-indent:0.05em; border:none; padding:0; } p.ttb-center { margin-left:0; margin-right:0; margin-top:0; margin-bottom:0; border:none; padding:0; background-color:transparent; text-align:center; } p.ttb-scenebrk { margin-left:0; margin-right:0; margin-top:0.4em; margin-bottom:0.4em; border:none; padding:0; background-color:transparent; text-align:center; } p.ttb-subtitle { margin-left:0; margin-right:0; margin-top:1.5em; margin-bottom:2.0em; border:none; padding:0; text-align:center; font-style:italic; font-size:150% } p.ttb-byline { margin-left:0; margin-right:0; margin-top:1.5em; margin-bottom:2.0em; border:none; padding:0; text-align:center; font-size:150%; } p.ttb-title { margin-left:0; margin-right:0; margin-top:3.0em; margin-bottom:2.0em; border:none; padding:0; text-align:center; font-size:200%; } h1 { margin-left:0; margin-right:0; margin-top:2.0em; margin-bottom:1.5em; border:none; padding:0; text-align:center; font-weight:bold; font-size:125%; clear:left; } .ttb-chapheader { margin-left:0; margin-right:0; margin-top:2.0em; margin-bottom:1.5em; border:none; padding:0; text-align:center; font-weight:bold; font-size:117%; clear:left; } p.ttb-right-just { margin-left:0; margin-right:0; margin-top:0; margin-bottom:0; border:none; padding:0; text-align:right; text-indent:0.05em; }