/* -- Updated 02/12/14, Chronicle Books LLC: Digital Production -- */ /* -- CB MAIN CSS -- */ /* ---- GENERAL ---- */ html, body { margin: 5px; padding:0; border-width: 0; -webkit-hyphens:none; -epub-hyphens:none; adobe-hyphenate:none; } div { page-break-inside: avoid; } /* ---- EMBEDDED FONTS ---- */ /* ---- normal is for regular text and should always be listed first. Do not use span classes for bold and italics, only and tags ---- */ @font-face { font-family: "Air-Regular"; src: url("../fonts/Air-Regular.otf"); } @font-face { font-family: "Air-Regular"; src: url("../fonts/Air-RegularItalic.otf"); font-style: italic; } @font-face { font-family: "Air-Regular"; src: url("../fonts/Air-Bold.otf"); font-weight: bold; } @font-face { font-family: "Air-Black"; src: url("../fonts/Air-Black.otf"); } @font-face { font-family: "Air-Heavy"; src: url("../fonts/Air-Heavy.otf"); } @font-face { font-family: "Air-Medium"; src: url("../fonts/Air-Medium.otf"); } @font-face { font-family: "Air-Medium"; src: url("../fonts/Air-MediumItalic.otf"); font-style: italic; } @font-face { font-family: "Air-Semibold"; src: url("../fonts/Air-Semibold.otf"); } @font-face { font-family: "Air-Semibold"; src: url("../fonts/Air-SemiboldItalic.otf"); font-style: italic; } @font-face { font-family: "PrumoBanner-Book"; src: url("../fonts/PrumoBanner-Book.otf"); } @font-face { font-family: "PrumoBanner-Book"; src: url("../fonts/PrumoBanner-BookItalic.otf"); font-style: italic; } @font-face { font-family: "PrumoBanner-Book"; src: url("../fonts/PrumoBanner-Bold.otf"); font-weight: bold; } @font-face { font-family: "PrumoBanner-Light"; src: url("../fonts/PrumoBanner-Light.otf"); } @font-face { font-family: "PrumoBanner-Light"; src: url("../fonts/PrumoBanner-LightItalic.otf"); font-style: italic; } @font-face { font-family: "PrumoBanner-Medium"; src: url("../fonts/PrumoBanner-Medium.otf"); } @font-face { font-family: "PrumoBanner-Medium"; src: url("../fonts/PrumoBanner-MediumItalic.otf"); font-style: italic; } @font-face { font-family: "PrumoBanner-SemiBold"; src: url("../fonts/PrumoBanner-SemiBold.otf"); } /* ---- ALL MAIN P STYLES ARE HERE, NO NEED TO DUPLICATE ATTRIBUTES ---- */ p { margin: 0; text-align:left; font-size: 0.8em; text-indent: 0em; line-height: 1.2em; font-family: "Air-Semibold"; /* -- EPUB 3 -- */ widows: 3; orphans: 3; word-wrap: break-word; overflow-wrap: normal; text-wrap: normal; } /* ---- LINKS ---- */ a { color: RGB(0,157,224); text-decoration: none; } /* ---- FRONT MATTER ---- */ .dedication { font-family: "PrumoBanner-Medium"; margin-top: 10%; text-align: center; font-size: 1em; line-height: 1.5em; } .acknowledgements { } /* ---- COPYRIGHT ---- */ div#copyright { font-size: 0.7em; font-family: "Air-Semibold"; text-align: left; line-height: 1.1em; margin-top: 10%; } div#copyright p { margin-bottom: 1em; } /* ---- TOC ---- */ .toc { font-family: "Air-Regular"; text-align: center; margin: 0.3em 0em 0em 0em; } .toct { font-family: "Air-Regular"; text-align: center; margin: 2em 0em 0em 0em; } .tocp { font-family: "Air-Regular"; text-align: center; margin: 2em 0em 0em 0em; } .chtoc { font-family: "Air-Regular"; text-align: center; margin: 2em 0em 0em 0em; line-height: 1.4em; } .toc1t { font-family: "Air-Regular"; text-align: center; margin: 1.6em 0em 0em 0em; } .toc1 { font-family: "Air-Regular"; text-align: center; margin: 0.6em 0em 0em 0em; } .toc1a { font-family: "Air-Regular"; text-align: center; margin: 0.1em 0em 0em 0em; } .toc2 { font-family: "Air-Regular"; text-align: center; margin: 0.3em 0em 0em 0em; } .toc3 { font-family: "Air-Regular"; text-align: center; margin: 0.3em 0em 0em 0em; } .toc4 { font-family: "Air-Regular"; text-align: center; margin: 0.3em 0em 0em 0em; } /* ---- HEADER STYLES - Do not apply margins greater than 2em. Headers that follow text should have a top margin ----*/ h1, h2, h3, h4, h5, h6 {font-weight: normal;} h1 { font-family: "Air-Regular"; font-weight: bold; text-align: center; margin-top: 5%; } h2 { font-family: "PrumoBanner-Medium"; text-align: left; margin-top: 5%; } h3 { font-family: "PrumoBanner-Medium"; text-align: left; margin-top: 5%; } h4 {} h5 {} h6 {} /* ---- Use the following for subheads that follow a header style---- */ .section_title { font-family: "Air-Black"; text-align: center; margin-top: 5%; color: RGB(201,171,39); } .section_hd { font-family: "PrumoBanner-Medium"; text-align: center; margin-top: 5%; } .chapter_title { font-family: "PrumoBanner-Book"; font-weight: bold; text-align: center; margin-top: 2%; } .chapter_hd { font-family: "PrumoBanner-Book"; font-weight: normal; text-align: center; margin-top: 5%; } .chapter_title1 { font-family: "PrumoBanner-Medium"; text-align: left; margin-top: 5%; } /* ---- TEXT STYLES : do not apply margins greater than 2em ---- */ /* no indent styles, p.text_noindent is the default p tag for no indent with a bottom margin */ p.text_noindent { font-family: "PrumoBanner-Light"; margin: 0.4em 0em 0em 0em; } p.first1_noindent { font-family: "Air-Black"; margin: 0.8em 0em 0em 0em; } p.first2_noindent { font-family: "PrumoBanner-Light"; margin: 1.2em 0em 0em 0em; } /* indent styles, p.text_indent is the default p tag for indent with a bottom margin */ p.text_indent { font-family: "PrumoBanner-Light"; margin: 0.2em 0em 0em 0em; } p.first1_indent { font-family: "PrumoBanner-Light"; margin: 0.1em 0em 0em 2em; text-indent: -1em; } p.first2_indent { font-family: "Air-Black"; margin: 2em 0em 0em 0em; } /* basic left, right, center classes */ p.left { font-family: "PrumoBanner-Light"; margin: 0.2em 0em 0em 0em; text-align: left; } p.right { font-family: "Air-Regular"; text-align: right; } p.center { font-family: "PrumoBanner-SemiBold"; margin: 1.5em 0em 0em 0em; text-align: left; } /* use p.chapter_hdnote for text that is after an introduction, but is different from the default p tags above */ p.chapter_hdnote { font-family: "Air-Regular"; font-size: large; margin: 1.3em 0em 0em 0em; } /* -- RECIPE BOOKS -- */ p.recipe_hdnote { font-family: "PrumoBanner-Book"; margin: 1em 0em 0em 0em; } .yield { font-family: "Air-Black"; font-size: .8em; text-align:left; color: RGB(135,21,24); margin: 1.3em 0em 0em 0em; } p.method_txt { font-family: "PrumoBanner-Book"; margin: 1em 0em 0em 0em; } /* ---- EXTRACT, PULL QUOTES, DISPLAY text ---- */ .drop_cap { font-family: "Air-Regular"; font-size: 3.5em; font-weight: bold; color: RGB(218,186,135); float: left; margin: 0.4em 0em 0em 0em; height: auto; } .pull_quote { font-family: "Air-Semibold"; text-align:left; margin: 0.6em 0em 0em 0em; color: RGB(135,21,24); } .display_type { font-family: "PrumoBanner-Medium"; font-size: large; } /* ---- CAPTIONS ---- */ .caption { font-family: "Air-Black"; text-align:left; font-size:.7em; margin: 0.5em 0em 0em 0em; } .caption_1_hd {} .caption_1_txt {} .caption_2_hd {} .caption_2_txt {} /* ---- SIDE BARS ---- */ /* ---- add font family and font size to div.sidebar ---- */ div.sidebar { margin: 1em 0em 0em 0em; background-color: RGB(218,186,135); padding: 1%; page-break-before: always; } div.sidebar1 { margin: 1em 0em 0em 0em; border-left: solid 2px RGB(135,21,24); padding-left: 1%; } .sidebar1_hd { font-family: "Air-Black"; text-align: center; color: RGB(135,21,24); margin: 1.5em 0em 0em 0em; } .sidebar1_hdnote { font-family: "PrumoBanner-Light"; text-align: center; margin: 0em; } .sidebar1_txt { font-family: "PrumoBanner-Book"; margin: 0.4em 0em 0em 0em; } .sidebar2_hd { font-family: "PrumoBanner-Light"; color: RGB(135,21,24); font-size: large; } .sidebar2_hdnote { font-family: "Air-Semibold"; margin: 0.4em 0em 0em 0em; } .sidebar2_txt { } /* ---- LISTS ---- */ ol { list-style-type: none; padding: 0px; margin-bottom: 1em; } ul { list-style-type: none; padding: 0px; margin-bottom: 1em; } ul.alternate_style { font-family: "PrumoBanner-Medium"; list-style-image: url(../images/bullet.jpg); margin: 0.5em 0em 0em 1em; } li { margin-bottom: .5em; } .ingred_sublist { font-family: "Air-Black"; text-align:left; margin: 0.7em 0em 0em 0em; } .ingred_sublistt { font-family: "Air-Black"; text-align:left; margin: 1.3em 0em 0em 0em; } .footnotes {} /* ---- IMAGES ---- */ /* ---- Large images have no margin ---- */ div.wrap { vertical-align: top; text-align: center; margin:0; } /* ---- smaller images will have a margin ---- */ div.wrap_small { text-align: center; margin: 1em 0 1em 0; } /* -- all images should have p tag -- */ p.image { text-align: center; margin:0.5em 0em 0em 0em; } /* -- images that are largest on the vertical side -- */ img.vertical { margin: 0; text-align: center; height: 90%; max-width: 100%; } /* -- images that are largest on the horizontal side -- */ img.horizontal { margin: 0; text-align: center; width: 100%; height: auto; } .image_bkg { text-align: left; margin:0; } .floatleft { float: left; width: 40%; margin: 10px 10px 10px 0; } .floatright { float: right; width: 40%; margin: 10px 10px 10px 0; } /* -- to be used within floatleft, floatright, and gallery divs -- */ img.float { width: 100%; height: auto; } /* -- used to create a grid of images -- */ .gallery_25 { width: 23%; float: left; padding: 1%; } .gallery_50 { width: 48%; float: left; padding: 1%; } div.clear { clear: both } div.pagebreak { page-break-after:always; } /* ---- FRACTIONS ---- */ sup { vertical-align: super; font-size: 0.7em; line-height: 0em; } sub { vertical-align: sub; font-size: 0.7em; line-height: 0em; } /* ---- TABLES ---- */ div.table { margin: 0em; } table { border-collapse: collapse; margin: 0em; text-align: left; } td, th { padding: 3px 5px; } /* ---- COLORS ---- */ /* -- ok to use span tags, change class name and attributes if needed, don't add classes -- */ span.red {color: RGB(135,21,24); font-family: "Air-Black";} span.orange {color: RGB(241,90,34);} span.yellow {color: RGB(87,92,2);} span.green {color: RGB(87,151,133);} span.blue {color: RGB(32,28,63);} span.purple {color: RGB(204,153,255);} span.pink {color: RGB(135,21,24);} span.gray {color: RGB(153,153,153);} .font1 { font-family: "PrumoBanner-Medium"; } .font2 { font-family: "PrumoBanner-Light"; } .font3 { font-family: "Air-Regular"; } .font4 { font-family: "Air-Medium"; } .font5 { font-family: "PrumoBanner-Book"; } .font6 { font-family: "Air-Heavy"; } p.index { font-family: "PrumoBanner-Light"; margin: 0.1em 0em 0em 1em; text-indent: -1em; }