/* ------------------------------------------------------------------------------- A Taste of Cowboy CSS Format:EPUB3, KF8 Last modified:29 January 2015 Modified by:Rebecca Springer, rebecca.springer@hmhco.com /* Fonts */ @font-face { font-family:"Bodoni"; font-style:normal; font-weight:normal; src :url("../font/BodoniSixITCStd-Book.otf"); } @font-face { font-family:"Bodoni"; font-style:normal; font-weight:bold; src :url("../font/BodoniSixITCStd-Bold.otf"); } @font-face { font-family:"Bodoni"; font-style:italic; font-weight:normal; src :url("../font/BodoniSixITCStd-BookItalic.otf"); } @font-face { font-family:"Bodoni"; font-style:italic; font-weight:bold; src :url("../font/BodoniSixITCStd-BoldItalic.otf"); } @font-face { font-family:"League Gothic"; font-style:normal; font-weight:bold; src :url("../font/LeagueGothic-Regular.otf"); } /* reset */ body, div, h1, h2, h3, h4, h5, h6, p, img, ul, li, hr { border-width:0; margin:0; padding:0; } body { -webkit-hyphens:none; epub-hyphens:none; -moz-hyphens:none; hyphens:none; adobe-hyphenate:none !important; adobe-text-layout:optimizeSpeed; max-width:32em; font-family:"Bodoni", serif; margin:0 auto; } /* page margins for nook and kobo */ @page { margin:30px 20px 0 20px; } h1, h2, h3, h4, h5, h6 { font-family:"League Gothic", sans-serif; font-style:normal; font-variant:normal; font-weight:bold; line-height:1; page-break-after:avoid; page-break-inside:avoid; text-align:center; text-decoration:none; text-indent:0; text-transform:uppercase; } p, li { font-family:"Bodoni", serif; font-size:1em; font-style:normal; font-variant:normal; line-height:1.524; orphans:2; text-align:left; text-decoration:none; text-indent:0; text-transform:none; widows:2; } ul { list-style-type:none; margin:.8em 0 1.2em; } a { text-decoration:underline; color:#6A342B; /*brown-red*/ -webkit-text-fill-color:#6A342B; /*brown-red*/ } em, i { font-style:italic; } b, strong { font-weight:bold; } .small-caps { font-variant:small-caps; } .sink { padding-top:20%; } .mini-sink { padding-top:5%; } /* images */ img { width:100%; max-height:100%; page-break-inside:avoid; } div.full-page-image, div.full-width-image , div.full-top-image, div.full-bottom-image { width:100%; page-break-inside:avoid; } div.full-width-image { margin: 1em auto; } div.full-top-image { margin-bottom: 1em; } div.full-bottom-image { margin-top: 1em; } div.ornament { margin:0 auto; } div.half-right-image { width:48%; padding-left: 3%; float:right; page-break-inside:avoid; } /* front matter styles */ p.copyright { font-size:0.8em; line-height:1.438; margin-bottom:1em; } h1.fmbmt { color:#6a342b; font-size:3.667em; } p.main-toc { font-size:1.167em; font-style:italic; line-height:2.143; text-align:center; } p.cotoc { font-size:1.042em; font-style:italic; line-height:1.2; text-align:center; margin-bottom:.5em; } div.intro-box { background-color:#aab967; padding:4%; margin:2% 1.5em; border-radius:1.75em; } p.intro-box-text { color:#ffffff; font-size:0.9em; font-weight:bold; } .intro-box-text a { color:#FFF; -webkit-text-fill-color:#FFF; } h2.ctsub { color:#6a342b; font-size:3em; } h1.sidebar-hd { color:#003a4e; font-size:3.3em; } p.cowboy-lingo, p.tools { font-size:0.875em; margin-bottom:1em; } p.hn { font-style:italic; } p.step, p.sb-list { margin-bottom:.75em; } p.cures { margin-top:.75em; } span.reverse { font-style:normal; font-weight:normal; } h2.ahed { color:#003a4e; font-family:"Verdana", sans-serif; font-size:1em; font-weight:bold; line-height:1.524; margin-top:1.25em; text-align:left; text-transform:none; } p.quote { color:#636466; font-family:"Bodoni Twelve", serif; font-size:1.667em; line-height:1; margin:1em 0 1em 18%; page-break-inside: avoid; } /* recipe styles */ h2.rt { color:#91a93e; font-size:3.667em; } p.prep-time, p.yield { color:#6a342b; font-family:"Verdana", sans-serif; font-size:0.7em; font-weight:bold; line-height:1.688; text-align:center; text-transform:uppercase; } em.rom { font-style:normal; } li.ing { color:#6A342B; font-family:"Verdana", sans-serif; font-size:0.8em; font-weight:600; line-height:1.227; margin-bottom:.6em; } span.step-num { color:#b1063a; font-weight:bold; } div.follow { margin-top:2em; } h3.rtsub { color:#91a93e; font-size:2.875em; } p.tip { color:#6a342b; font-family:"Bodoni", serif; font-weight:bold; text-align:center; } p.poem-line { font-style: italic; margin-left: 1.5em; text-indent:-1.5em; } div.stanza { margin-bottom: .75em; } h2.sb-bhed { color:#003a4e; font-family:"Verdana", sans-serif; font-size:1em; font-weight:normal; line-height:1.524; margin-top:.75em; } strong.co-leadin { text-transform: uppercase; font-weight: inherit; } strong.intro-box-leadin { font-size:0.8em; text-transform:uppercase; } strong.lingo-leadin, strong.tools-leadin { font-style:italic; font-weight:bold; } strong.leadin { text-transform: uppercase; font-size:.9em; letter-spacing: 1px; } strong.tip-leadin, strong.sb-leadin { font-variant:normal; text-transform:uppercase; } strong.cures-leadin { color:#003a4e; font-family:"Verdana", sans-serif; font-size:0.857em; font-weight:bold; text-transform:uppercase; letter-spacing: 1px; padding-right: .5em; } /* index styles */ h2.index-alpha { color:#91a93e; font-size:1.667em; line-height:1.2; margin-top:1em; margin-left:1em; text-align:left; } p.index-main { margin-left:2em; text-indent:-2em; } p.index-sub { margin-left:2em; text-indent:-1em; } div.index-nav { font-family:"Verdana", sans-serif; font-weight:600; color:#929496; /* mid-gray */ width:80%; margin:1.5em auto 1.5em 10%; text-align: center; } strong.bio-highlight { color:#b1063a; font-family:"League Gothic", sans-serif; font-weight:bold; text-transform:uppercase; letter-spacing:.1em; font-size:1.1em; line-height:1em; } /* layout helpers */ .indent { text-indent:1.5em; } .break-before { page-break-before:always; } div.clearfix { clear:both; width:1px; height:0.001%; font-size:0; line-height:0; } .no-break { white-space:nowrap; } .hidden { display:none; } .space-above { margin-top:.75em; } .small-space-above { margin-top:.25em; }