/* DESCRIPTION: CSS definitions used by NASA eBooks VERSION: 02.5 */ /* DATE MODIFIED: 2012-05-17 by Casper Uhl, E-book Specialist, contact: HQ-eBook@mail.nasa.gov */ /* MODIFICATIONS: Changed file name to stylesheet_nasa.css to confrom to more common naming conventions, filenames should not contain the versioning number to facilitate future updates, versioning info should be kept on the second line within the CSS file moving forward, all NASA eBook CSS files contain the same name stylesheet_nasa, if localized overrides are needed they can adopt the naming convention as exampled: stylesheet_nasa-aero.css or stylesheet_nasa-hist.css */ /* ADDITIONS: publisher styles */ /* REPLACEMENTS: div.figCaptextFrame was replaced with div.figCapTextFrame to correct spelling inconsistency */ /* SUBTRACTIONS: */ /* NOTES: InDesign CS5 converted all style names to lowercase, CS 5.5 kept capitalization as is, thus all camelCase style names have two selectors using both capitalization standards accomodating both InDesign CS5 and 5.5 Style definitions and semantic meaning can be found here: http://cssc.hq.nasa.gov/digitalpublishing/ebookCsscStyles.htm (not a public URL, NASA internal use only) */ @charset "UTF-8"; /* ~~ BEGIN InDesign CS5.5 generated styles ~~ */ .leftFloat { /* this class is generated by InDesign CS5.5 and conflicts with the NASA styles already designed, intentionally left blank */ /*float : left; margin-right:1em;*/ } .rightFloat { /* this class is generated by InDesign CS5.5 and conflicts with the NASA styles already designed, intentionally left blank */ /*float : right; margin-left:1em;*/ } /* ~~ END InDesign CS5.5 generated styles ~~ */ /* ~~ BEGIN Front Matter Styles ~~ */ h1.title, p.title { font-family: "Helvetica Neue LT Std", Helvetica, Arial, sans-serif; font-weight: bold; font-style: normal; font-size: 3.5em; line-height: 1em; text-decoration: none; font-variant: normal; text-indent: 0em; text-align: center !important; color: #000000; margin: 0.25em 0em 0.06em 0em; /* experimental- not available yet */ -webkit-hyphens:none; -moz-hyphens: none; hyphens: none; } h2.subtitle, p.subtitle { font-family: "Helvetica Neue LT Std", Helvetica, Arial, sans-serif; font-weight: normal; font-style: italic; font-size: 1.8em; line-height: 1.08em; text-decoration: none; font-variant: normal; text-indent: 0em; text-align: center !important; color: #000000; margin: 0.50em 0em 0.12em 0em; /* experimental- not available yet */ -webkit-hyphens:none; -moz-hyphens: none; hyphens: none; } p.byline, p.byLine{ font-family: "Adobe Garamond Pro", Garamond, serif; font-weight: normal; font-style: italic; font-size: 1.17em; line-height: 1.20em; text-decoration: none; font-variant: normal; text-indent: 0em; text-align: center !important; color: #000000; margin: 1.29em 0em 0.86em 0em; } /* ~~ BEGIN Header Grouping Styles ~~ */ p.runningheader, p.runningHeader{ font-family: "Helvetica Neue LT Std", Helvetica, Arial, sans-serif; font-weight: normal; font-style: normal; font-size: 1em; line-height: 1.20em; text-decoration: none; font-variant: normal; text-indent: 0em; text-align: left; color: #000000; margin: 0.50em 0em 0em 0em; clear:both; } h1.kicker, h2.kicker, p.kicker { font-family: "Adobe Garamond Pro", Garamond, serif; font-weight: normal; font-style: italic; font-size: 1em; line-height: 1.20em; text-decoration: none; font-variant: normal; text-indent: 0em; text-align: left !important; color: #000000; margin: 0.50em 0em 0em 0em; clear:both; } h1.sectionHeader{ font-family: "Helvetica Neue LT Std", Helvetica, Arial, sans-serif; font-weight: bold; font-style: normal; font-size: 3em; line-height: 1em; text-decoration: none; font-variant: normal; text-indent: 0em; text-align: center; color: #000000; margin: 0.25em 0em 0.06em 0em; /* experimental- not available yet */ -webkit-hyphens:none; -moz-hyphens: none; hyphens: none; } h1, p.header1, p.indextitle, p.toc-title { font-family: "Helvetica Neue LT Std", Helvetica, Arial, sans-serif; font-weight: bold; font-style: normal; font-size: 1.8em; line-height: 1.2em; text-decoration: none; font-variant: normal; text-indent: 0em; text-align: left !important; color: #000000; margin: 0em; clear:both; /* Text flow controls */ orphans: 2; widows: 2; /* experimental- not available yet */ -webkit-hyphens:none; -moz-hyphens: none; hyphens: none; } h1.subheader, p.subheader1 { font-family: "Helvetica Neue LT Std", Helvetica, Arial, sans-serif; font-weight: bold; font-style: normal; font-size: 1em; line-height: 1.67em; text-decoration: none; font-variant: normal; text-indent: 0em; text-align: left !important; color: #000000; margin: 0em; /* Text flow controls */ orphans: 2; widows: 2; page-break-after: avoid; /* experimental- not available yet */ -webkit-hyphens:none; -moz-hyphens: none; hyphens: none; } h2, p.header2, p.indexsectionhead { font-family: "Helvetica Neue LT Std", Helvetica, Arial, sans-serif; font-weight: bold; font-style: normal; font-size: 1.1em; line-height: 1.36em; text-decoration: none; text-transform: uppercase; text-indent: 0em; text-align: center; color: #000000; margin: 2.37em 0em 1.18em 0em; clear:both; /* Text flow controls */ orphans: 2; widows: 2; page-break-after: avoid; /* experimental- not available yet */ -webkit-hyphens:none; -moz-hyphens: none; hyphens: none; } h2.subheader2, p.subheader2 { font-family: "Helvetica Neue LT Std", Helvetica, Arial, sans-serif; font-weight: normal; font-style: normal; font-size: 0.84em; line-height: 1.36em; text-decoration: none; font-variant: normal; text-indent: 0em; text-align: center; color: #000000; margin: 0em 0em 1.18em 0em; /* Text flow controls */ orphans: 2; widows: 2; page-break-after: avoid; /* experimental- not available yet */ -webkit-hyphens:none; -moz-hyphens: none; hyphens: none; } p.deck { font-family: "Adobe Garamond Pro", Garamond, serif; font-weight: normal; font-style: italic; font-size: 1em; line-height: 1.20em; text-decoration: none; font-variant: normal; text-indent: 0em; text-align: left !important; color: #000000; margin: 0.50em 0em 0em 0em; /* Text flow controls */ orphans: 2; widows: 2; } h3, p.header3 { font-family: "Helvetica Neue LT Std", Helvetica, Arial, sans-serif; font-weight: bold; font-style: normal; font-size: 1em; line-height: 1.20em; text-decoration: none; font-variant: normal; text-indent: 0em; text-align: left !important; color: #000000; margin: 1em 0em 0.25em 0em; /* Text flow controls */ orphans: 2; widows: 2; page-break-after: avoid; /* experimental- not available yet */ -webkit-hyphens:none; -moz-hyphens: none; hyphens: none; } h4, p.header4 { font-family: "Helvetica Neue LT Std", Helvetica, Arial, sans-serif; font-weight: bold; font-style: normal; font-size: 0.9em; line-height: 1.20em; text-decoration: none; font-variant: normal; text-indent: 0em; text-align: left !important; color: #000000; margin: 1.14em 0em 0.29em 0em; /* Text flow controls */ orphans: 2; widows: 2; page-break-after: avoid; /* experimental- not available yet */ -webkit-hyphens:none; -moz-hyphens: none; hyphens: none; } h5, p.header5 { font-family: "Helvetica Neue LT Std", Helvetica, Arial, sans-serif; font-weight: bold; font-style: normal; font-size: 0.88em; line-height: 1.20em; text-decoration: none; font-variant: normal; text-indent: 0em; text-align: left !important; color: #000000; margin: 1.14em 0em 0em 0em; /* Text flow controls */ orphans: 2; widows: 2; page-break-after: avoid; /* experimental- not available yet */ -webkit-hyphens:none; -moz-hyphens: none; hyphens: none; } h6, p.header6 { font-family: "Helvetica Neue LT Std", Helvetica, Arial, sans-serif; font-weight: bold; font-style: normal; font-size: 0.67em; line-height: 1.20em; text-decoration: none; text-transform: uppercase; text-indent: 0em; text-align: left !important; color: #000000; margin: 1.50em 0em 0em 0em; /* Text flow controls */ orphans: 2; widows: 2; page-break-after: avoid; /* experimental- not available yet */ -webkit-hyphens:none; -moz-hyphens: none; hyphens: none; } /* ~~ BEGIN Body Copy Styles ~~ */ p, p.basic-paragraph, p.bodyText{ /* Do not target p.basic-paragraph deliberately, it is basically a catch for unformatted text or default tags wrapped around images from InDesign */ font-family: "Adobe Garamond Pro", Garamond, serif; font-weight: normal; font-style: normal; font-size: 1em; line-height: 1.43em; text-decoration: none; font-variant: normal; text-indent: 0em; /* testing this */ text-align: justify; color: #000000; margin: 0.57em 0em 0em 0em; /* Text flow controls */ orphans: 2; widows: 2; } p.paragraph, p.bodyText { /* class="paragraph" and class="bodyText" are exactly indentical right now, designers may use paragraph to differenciate between text that is more generic and separate from the main body of text */ text-indent: 1.71em; /* since InDesign tends to wrap images in

tags this rule allows you to control the first-line indent only by specifying the "paragraph" or "bodyText" class */ } /* This reset is here because the default [Basic Paragraph] or [No Paragraph Style] tends to find it's way in figure groups and wrapped around images, which shifts the images over, ideally the code should be cleaned up and the class basic-paragraph should not appear in your code at all */ p.basic-paragraph, p.No-Paragraph-Style{ text-indent:0; } p.paragraphfirst, p.paragraphFirst, p.listheader, p.listHeader, h1+p, h1.subheader1+p, h1.subHeader1+p, p.subheader1+p, p.subHeader1+p, h2+p, p.subheader2+p, p.subHeader2+p, h3+p, h4+p, h5+p, h6+p, h1+p.paragraph, h2+p.paragraph, h3+p.paragraph, h4+p.paragraph, h5+p.paragraph, h6+p.paragraph, p.header1+p.paragraph, p.header2+p.paragraph, p.header3+p.paragraph, p.header4+p.paragraph, p.header5+p.paragraph, p.header6+p.paragraph, h1+p.bodyText, h1+p.bodytext, h2+p.bodyText, h2+p.bodytext, h3+p.bodyText, h3+p.bodytext, h4+p.bodyText, h4+p.bodytext, h5+p.bodyText, h5+p.bodytext, h6+p.bodyText, h6+p.bodytext { font-family: "Adobe Garamond Pro", Garamond, serif; font-weight: normal; font-style: normal; font-size: 1em; line-height: 1.43em; text-decoration: none; font-variant: normal; text-indent: 0em; text-align: justify; color: #000000; margin: 0.57em 0em 0em 0em; page-break-before:avoid; } p.jump { font-family: "Adobe Garamond Pro", Garamond, serif; font-weight: normal; font-style: italic; font-size: 0.83em; line-height: 1.20em; text-decoration: none; font-variant: normal; text-indent: 0em; text-align: left; color: #000000; margin: 0.60em 0em 0em 0em; } p.blockquote, blockquote { font-family: "Adobe Garamond Pro", Garamond, serif; font-weight: normal; font-style: normal; font-size: 1em; line-height: 1.43em; text-decoration: none; font-variant: normal; text-indent: 0em; text-align: justify; color: #000000; margin: 0.71em 1em 0em 1em; } p.textextract, p.textExtract { font-family: "Adobe Garamond Pro", Garamond, serif; font-weight: bold; font-style: normal; font-size: 1.17em; line-height: 1.07em; text-decoration: none; font-variant: normal; text-indent: 0em; text-align: left; color: #000000; margin: 0.71em 0em; } /* ~~ BEGIN Microformatting Styles ~~ */ /* Microformatting styles are used for NASA internal indexing, text searching, or metadata collection. They may not necessarily alter the display */ .series { font-weight:bold; } .publisher { } .publisherAddress, .publisheraddress { } .publishDate, .publishdate { } .identifier { } /* ~~ BEGIN Body Copy Positioning Styles ~~ */ /* The following styles are used as an easy way to left, center, or right align images or text. The style bears no semantic meaning but should adopt the same formatting as the standard p.paragraph rules */ p.alignleft, p.alignLeft { font-family: "Adobe Garamond Pro", Garamond, serif; font-weight: normal; font-style: normal; font-size: 1em; line-height: 1.43em; text-decoration: none; font-variant: normal; text-indent: 0em; text-align: left; color: #000000; margin: 0.57em 0em 0em 0em; } p.aligncenter, p.alignCenter { font-family: "Adobe Garamond Pro", Garamond, serif; font-weight: normal; font-style: normal; font-size: 1em; line-height: 1.43em; text-decoration: none; font-variant: normal; text-indent: 0em; text-align: center; color: #000000; margin: 0.57em 0em 0em 0em; } p.alignright, p.alignRight { font-family: "Adobe Garamond Pro", Garamond, serif; font-weight: normal; font-style: normal; font-size: 1em; line-height: 1.43em; text-decoration: none; font-variant: normal; text-indent: 0em; text-align: right; color: #000000; margin: 0.57em 0em 0em 0em; } /* ~~ BEGIN Division-based Positioning Styles ~~ */ img{ /*padding:10px;*/ } div.headertextframe { } div.figuregroup-asideleft, div.figureGroup-asideLeft { text-indent:0; float:left; clear:both; padding-right:10px; padding-left:0px; page-break-inside: avoid; } div.figuregroup-asideleft img, div.figureGroup-asideLeft img{ text-indent:0; padding:10px; } div.figpictureframe, div.figPictureFrame { width:100%; } /* InDesign CS5 applied the object style to the div surrounding the image, but CS5.5 applied the object style as a class to the image itself , this handles both */ div.figpictureframe img, div.figPictureFrame img, img.figPictureFrame { border-style:solid; border-width:1px; border-color:#000000; } /* the neg 10px margin-top is to counter existing bottom padding around an image that is aligned left or right. This method allows for a bottom padding to exist (thus a nice text wrap) whether an image has a caption or not. Use div.figcaptextframe-100 for images that span 100 percent across the e-reader screen. */ div.figcaptextframe, div.figCapTextFrame { text-indent:0; padding:0 10px 10px 10px; margin-top:0px; } div.figcaptextframe-150px, div.figCapTextFrame-150px{ text-indent:0; width:150px; padding:0 10px 10px 10px; margin-top:-10px; } div.figcaptextframe-200px, div.figCapTextFrame-200px{ text-indent:0; width:200px; padding:0 10px 10px 10px; margin-top:-10px; } div.figcaptextframe-300px, div.figCapTextFrame-300px{ text-indent:0; width:300px; padding:0 10px 10px 10px; margin-top:-10px; } div.figcaptextframe-600px, div.figCapTextFrame-600px{ text-indent:0; width:600px; padding:0 10px 10px 10px; margin-top:-10px; } div.figcaptextframe-100, div.figCapTextFrame-100{ text-indent:0; width:100%; padding:0; margin-top:0px; } div.figcaptextframe-50, div.figCapTextFrame-50{ text-indent:0; width:50%; padding:0; margin-top:0px; } div.figuregroup-asideright, div.figureGroup-asideRight { text-indent:0; float:right; clear:both; padding-right:0px; padding-left:10px; page-break-inside: avoid; } div.figuregroup-asideright img, div.figureGroup-asideRight img{ text-indent:0; padding:10px; } div.figuregroup-asidecenter, div.figureGroup-asideCenter { text-indent:0; text-align:center; page-break-inside: avoid; } div.figuregroup-alignleft, div.figureGroup-alignLeft { text-indent:0; float:left; clear:left; padding-right:0px; page-break-inside: avoid; } div.figuregroup-alignleft div.figcaptextframe, div.figuregroup-alignleft div.figcaptextframe-150px, div.figuregroup-alignleft div.figcaptextframe-200px, div.figuregroup-alignleft div.figcaptextframe-300px, div.figuregroup-alignleft div.figcaptextframe-600px, div.figuregroup-alignleft div.figcaptextframe-100, div.figuregroup-alignleft div.figcaptextframe-50, div.figureGroup-alignLeft div.figCapTextFrame, div.figureGroup-alignLeft div.figCapTextFrame-150px, div.figureGroup-alignLeft div.figCapTextFrame-200px, div.figureGroup-alignLeft div.figCapTextFrame-300px, div.figureGroup-alignLeft div.figCapTextFrame-600px, div.figureGroup-alignLeft div.figCapTextFrame-100, div.figureGroup-alignLeft div.figCapTextFrame-50 { text-indent:0; padding-left:0px; padding-right:0px; page-break-inside: avoid; } /* this rule will center any div that follows inside the figureGroup (the image and its caption) an exact width is required in order to center it */ div.figureGroup-alignCenter div.figCapTextFrame { text-indent:0; margin-left:auto; margin-right:auto; width:100%; page-break-inside: avoid; } div.figureGroup-alignCenter div.figPictureFrame { text-indent:0; margin-left:auto; margin-right:auto; width:568px; page-break-inside: avoid; } div.figuregroup-aligncenter, div.figureGroup-alignCenter { text-indent:0; text-align:center; page-break-inside: avoid; } div.figuregroup-asidecenter p.figurecaption, div.figuregroup-aligncenter p.figurecaption, div.figureGroup-asideCenter p.figureCaption, div.figureGroup-alignCenter p.figureCaption { text-indent:0; text-align:center; page-break-inside: avoid; } div.figuregroup-alignright, div.figureGroup-alignRight { text-indent:0; float:right; clear:right; padding-left:0px; page-break-inside: avoid; } div.figuregroup-alignright div.figcaptextframe, div.figuregroup-alignright div.figcaptextframe-150px, div.figuregroup-alignright div.figcaptextframe-200px, div.figuregroup-alignright div.figcaptextframe-300px, div.figuregroup-alignright div.figcaptextframe-600px, div.figuregroup-alignright div.figcaptextframe-100, div.figuregroup-alignright div.figcaptextframe-50, div.figureGroup-alignRight div.figCapTextFrame, div.figureGroup-alignRight div.figCapTextFrame-150px, div.figureGroup-alignRight div.figCapTextFrame-200px, div.figureGroup-alignRight div.figCapTextFrame-300px, div.figureGroup-alignRight div.figCapTextFrame-600px, div.figureGroup-alignRight div.figCapTextFrame-100, div.figureGroup-alignRight div.figCapTextFrame-50 { text-indent:0; padding-left:0px; padding-right:0px; } div.figuregroup, div.figureGroup, div.group { text-indent:0; margin:0; padding:0; float:none; clear:both; /* nothing in this figureGroup div should ever wrap around another div */ page-break-inside: avoid; /* div.group is a default catch, if you group a picture and a textframe or two textframes in InDesign, it generates a class="group" definition. This is here to catch that. */ } div.figureGroup-alignLeft-50, div.figuregroup-alignleft-50{ text-indent:0; margin:0; padding:0; width:50%; margin-right:1em; float:left; page-break-inside: avoid; } div.figureGroup-alignRight-50, div.figuregroup-alignright-50{ text-indent:0; margin:0; padding:0; width:50%; margin-left:1em; float:right; page-break-inside: avoid; } /* ~~ END Positioning Styles ~~ */ /* ~~ BEGIN List Styles ~~ */ ul, p.unorderedlist, ul, p.unorderedlist, ul, p.unorderedList, ul, p.unorderedList { font-family: "Adobe Garamond Pro", Garamond, serif; font-weight: normal; font-style: normal; font-size: 1em; line-height: 1.20em; text-decoration: none; font-variant: normal; text-indent: 0em; text-align: left; color: #000000; margin: 0.50em 0em 0em 1.50em; } ul li ul, p.unorderedlist2, ul li.unorderedlist2, p.unorderedList2, ul li.unorderedList2 { font-family: "Adobe Garamond Pro", Garamond, serif; font-weight: normal; font-style: normal; font-size: 0.95em; line-height: 1.50em; text-decoration: none; font-variant: normal; text-indent: 0em; text-align: left; color: #000000; margin: 0.38em 0em 0em 1.50em; } ul li ul li ul, p.unorderedlist3, ul li.unorderedlist3, p.unorderedList3, ul li.unorderedList3 { font-family: "Adobe Garamond Pro", Garamond, serif; font-weight: normal; font-style: normal; font-size: 0.95em; line-height: 1.50em; text-decoration: none; font-variant: normal; text-indent: 0em; text-align: left; color: #000000; margin: 0.38em 0em 0em 1.50em; } ul li ul li ul li ul, p.unorderedlist4, ul li.unorderedlist4, p.unorderedList4, ul li.unorderedList4 { font-family: "Adobe Garamond Pro", Garamond, serif; font-weight: normal; font-style: normal; font-size: 0.95em; line-height: 1.50em; text-decoration: none; font-variant: normal; text-indent: 0em; text-align: left; color: #000000; margin: 0.38em 0em 0em 1.50em; } ul li ul li ul li ul li ul, p.unorderedlist5, ul li.unorderedlist5, p.unorderedList5, ul li.unorderedList5 { font-family: "Adobe Garamond Pro", Garamond, serif; font-weight: normal; font-style: normal; font-size: 0.95em; line-height: 1.50em; text-decoration: none; font-variant: normal; text-indent: 0em; text-align: left; color: #000000; margin: 0.38em 0em 0em 1.50em; } ul li ul li ul li ul li ul li ul, p.unorderedlist6, ul li.unorderedlist6, p.unorderedList6, ul li.unorderedList6 { font-family: "Adobe Garamond Pro", Garamond, serif; font-weight: normal; font-style: normal; font-size: 0.99em; line-height: 1.50em; text-decoration: none; font-variant: normal; text-indent: 0em; text-align: left; color: #000000; margin: 0.38em 0em 0em 1.50em; } ol, p.orderedlist, p.orderedList { font-family: "Adobe Garamond Pro", Garamond, serif; font-weight: normal; font-style: normal; font-size: 1em; line-height: 1.20em; text-decoration: none; font-variant: normal; text-indent: 0em; text-align: left; color: #000000; margin: 0.50em 0em 0em 1.50em; } ol li ol, p.orderedlist2, ol li.orderedlist2, p.orderedList2, ol li.orderedList2 { font-family: "Adobe Garamond Pro", Garamond, serif; font-weight: normal; font-style: normal; font-size: 0.95em; line-height: 1.20em; text-decoration: none; font-variant: normal; text-indent: 0em; text-align: left; color: #000000; margin: 0.60em 0em 0em 1.50em; } ol li ol li ol, p.orderedlist3, ol li.orderedlist3, p.orderedList3, ol li.orderedList3 { font-family: "Adobe Garamond Pro", Garamond, serif; font-weight: normal; font-style: normal; font-size: 0.95em; line-height: 1.20em; text-decoration: none; font-variant: normal; text-indent: 0em; text-align: left; color: #000000; margin: 0.67em 0em 0em 1.50em; } ol li ol li ol li ol, p.orderedlist4, ol li.orderedlist4, p.orderedList4, ol li.orderedList4 { font-family: "Adobe Garamond Pro", Garamond, serif; font-weight: normal; font-style: normal; font-size: 0.95em; line-height: 1.20em; text-decoration: none; font-variant: normal; text-indent: 0em; text-align: left; color: #000000; margin: 0.67em 0em 0em 1.50em; } ol li ol li ol li ol li ol, p.orderedlist5, ol li.orderedlist5, p.orderedList5, ol li.orderedList5 { font-family: "Adobe Garamond Pro", Garamond, serif; font-weight: normal; font-style: normal; font-size: 0.95em; line-height: 1.20em; text-decoration: none; font-variant: normal; text-indent: 0em; text-align: left; color: #000000; margin: 0.75em 0em 0em 1.50em; } ol li ol li ol li ol li ol li ol, p.orderedlist6, ol li.orderedlist6, p.orderedList6, ol li.orderedList6 { font-family: "Adobe Garamond Pro", Garamond, serif; font-weight: normal; font-style: normal; font-size: 0.99em; line-height: 1.20em; text-decoration: none; font-variant: normal; text-indent: 0em; text-align: left; color: #000000; margin: 0.75em 0em 0em 1.50em; } /* ~~ BEGIN List Styles Type overrides ~~ */ /* This classes can be used to override the default numbering of lists The code will have to be edited after exporting to EPUB from InDesign */ .upper-alpha{ list-style-type:upper-alpha; } .lower-alpha { list-style-type:lower-alpha; } .upper-roman{ list-style-type:upper-roman; } .lower-roman{ list-style-type:lower-roman; } .none{ list-style-type:none; } /* The definition below is a temporary solution to a bigger problem, which is InDesign currently doesn't let you assign more that one class I put this one in for testing purposes */ ol.lower-alpha, p.orderedlist-lower-alpha, p.orderedList-lower-alpha { font-family: "Adobe Garamond Pro", Garamond, serif; font-weight: normal; font-style: normal; font-size: 1em; line-height: 1.20em; text-decoration: none; font-variant: normal; text-indent: 0em; text-align: left; color: #000000; margin: 0.50em 0em 0em 1.50em; list-style-type:lower-alpha; } /* ~~ BEGIN Table Text Styles ~~ */ caption, p.tablecaption, p.tableCaption { font-family: "Adobe Garamond Pro", Garamond, serif; font-weight: normal; font-style: normal; font-size: 1em; line-height: 1.20em; text-decoration: none; font-variant: normal; text-indent: 0em; text-align: left; color: #000000; margin: 1em 0em 0em 0em; clear:both; /* this clear helps prevent a floated image before the table from causing the table caption to separate from the table */ } tf tr td, p.tablefooter, p.tabletext, p.tableFooter, p.tableText { font-family: "Adobe Garamond Pro", Garamond, serif; font-weight: normal; font-style: normal; font-size: 0.67em; line-height: 1.20em; text-decoration: none; font-variant: normal; text-indent: 0em; text-align: left; color: #000000; margin: 0.75em 0em 0em 0em; } /* p.tabletext should always follow the declarations for "tf tr td, p.tablefooter, p.tabletext" */ p.tabletext, p.tableText { font-size: 0.9em; text-align: left; } th td, p.tableheader, p.tableHeader { font-family: "Helvetica Neue LT Std", Helvetica, Arial, sans-serif; font-weight: bold; font-style: normal; font-size: 0.83em; line-height: 1.20em; text-decoration: none; font-variant: normal; text-indent: 0em; text-align: center; color: #000000; margin: 1.20em 0em 0.30em 0em; } p.tabledata, p.tableData { font-family: "Helvetica Neue LT Std", Helvetica, Arial, sans-serif; font-weight: normal; font-style: normal; font-size: 0.9em; text-decoration: none; font-variant: normal; text-indent: 0em; text-align: center; color: #000000; margin: 0em; } /* ~~ BEGIN Table Formatting Styles ~~ */ table, table.table1 { padding:10px; margin-top: 0.30em; margin-bottom: 1.5em; border-top:1px solid #000000; border-bottom:1px solid #000000; border-collapse:collapse; width:auto; /* font size uniformly decreases type in all tables */ font-size:.75em; } div.figuregroup-asideleft table, div.figureGroup-asideLeft table{ margin-right:2em; } div.figuregroup-asideright table, div.figureGroup-asideRight table{ margin-left:2em; } /* padding adjusted for version 02.3 */ td { border-bottom:1px dotted #000000; padding:2px 4px 0px 4px; vertical-align:middle; text-align:center; } thead tr td, td.tableheaderrow1, td.tableHeaderRow1 { border-bottom:2px solid #000000; background-color:#CCCCCC; padding:2px 4px 0px 4px; vertical-align:bottom; text-align:center; } td.tablefirstcolumn1, td.tableFirstColumn1 { background-color:#b4b4b4; text-align:left; } td.tablelastcolumn1, td.tableLastColumn1 { background-color:#b4b4b4; } tr, td.tablebodyrow1, td.tableBodyRow1 { } td.tablelastrow1 { border-top-style:solid; border-top-width:1px; } tfoot tr td, td.tablefooterrow1, td.tableFooterRow1 { border-top:2px solid #000000; border-bottom:0; vertical-align:top; } /* ~~ BEGIN Supplemental or Referencing Styles ~~ */ p.figurecaption, p.figureCaption { font-family: "Helvetica Neue LT Std", Helvetica, Arial, sans-serif; font-weight: normal; font-style: normal; /*font-size: 0.82em; */ font-size: 0.78em; /*line-height: 1.2em; */ line-height: 1.18em; text-decoration: none; font-variant: normal; text-indent: 0em; text-align: justify; color: #000000; margin: 0.60em 0em 0em 0em; page-break-before:avoid; padding-bottom:.5em; /* not sure if this is needed (testing) */ } p.figuretext, p.figureText { font-family: "Adobe Garamond Pro", Garamond, serif; font-weight: bold; font-style: normal; font-size: 0.75em; line-height: 1.20em; text-decoration: none; font-variant: normal; text-indent: 0em; text-align: left; color: #000000; margin: 0.67em 0em 0em 0em; } legend, p.figurelegend, p.figureLegend { font-family: "Adobe Garamond Pro", Garamond, serif; font-weight: normal; font-style: normal; font-size: 0.75em; line-height: 1.18em; text-decoration: none; font-variant: normal; text-indent: 0em; text-align: left; color: #000000; margin: 0.67em 0em 0em 0em; } /* Note: when used, figurecredit should immediately follow the figure or photo it is crediting, it is set to align-left because align-right will not align to the right edge of the image in eReaders that fail to expand the image to 100% */ /* photocredit being replaced by figurecredit in future */ p.figurecredit, p.figureCredit, p.photocredit { font-family: "Adobe Garamond Pro", Garamond, serif; font-weight: normal; font-style: normal; font-size: 0.58em; line-height: 1.20em; text-decoration: none; font-variant: normal; text-indent: 0em; text-align: left; color: #000000; margin: -0.1em 0em 0em 0em; page-break-before: avoid; } /* primarily used for copyright info, can be tagged inside the

or tags */ .legal { font-family: "Adobe Garamond Pro", Garamond, serif; font-weight: normal; font-style: normal; font-size: 0.58em; line-height: 1.20em; text-decoration: none; font-variant: normal; text-indent: 0em; text-align: left; color: #000000; margin: 0.86em 0em 0em 0em; } /* Note: InDesign CS5.5 converts all footnotes into a style class called xfootnote. Thus explaining the xfootnote definition here */ p.footnote, p.xfootnote { font-family: "Adobe Garamond Pro", Garamond, serif; font-weight: normal; font-style: normal; font-size: 0.75em; line-height: 1.22em; text-decoration: none; font-variant: normal; text-indent: 0em; text-align: left !important; color: #000000; margin: 0.67em 0em 0em 0em; } p.footnote a, p.xfootnote a{ color: #0000ff; } /* Note: InDesign CS5.5 converts all the numbered hyperlinked references in the footnotes to a anchor tag with a class called footnote-anchor */ a.footnote-anchor { color: #0000ff; } p.endnote { font-family: "Adobe Garamond Pro", Garamond, serif; font-weight: normal; font-style: normal; font-size: 0.75em; line-height: 1.20em; text-decoration: none; font-variant: normal; text-indent: -2em; text-align: left; color: #000000; margin: 0.67em 0em 0em 2.67em; } /* ~~ BEGIN Paired Styles ~~ */ dt, p.definitionterm, p.definitionTerm { font-family: "Adobe Garamond Pro", Garamond, serif; font-weight: bold; font-style: normal; font-size: 1em; line-height: 1.20em; text-decoration: none; font-variant: normal; text-indent: 0em; text-align: left; color: #000000; margin: 0.50em 0em 0em 0em; } dd, p.definitiondescription, p.definitionDescription { font-family: "Adobe Garamond Pro", Garamond, serif; font-weight: normal; font-style: normal; font-size: 0.83em; line-height: 1.20em; text-decoration: none; font-variant: normal; text-indent: -1em; text-align: left; color: #000000; margin: 0.60em 0em 0.30em 1.20em; page-break-before: avoid; } p.authorlist, p.authorList, dt.authorlist, dt.authorList{ font-family: "Adobe Garamond Pro", Garamond, serif; font-weight: normal; font-style: italic; font-size: 1em; line-height: 1.20em; text-decoration: none; font-variant: normal; text-indent: -1.50em; text-align: left; color: #000000; margin: 1em 0em 0em 1.50em; } p.authorinfo, dd.authorinfo, p.authorInfo, dd.authorInfo, address{ font-family: "Adobe Garamond Pro", Garamond, serif; font-weight: normal; font-style: normal; font-size: 0.67em; line-height: 1.20em; text-decoration: none; font-variant: normal; text-indent: 0em; text-align: left; color: #000000; margin: 0em 0em 0em 1.50em; page-break-before: avoid; } /* ~~ BEGIN Float Clears ~~ */ hr{ clear:both; } .clearfloats, .clearFloats{ clear:both; } .clearleft, .clearLeft{ clear:left; } .clearright, .clearRight{ clear:right; } /* ~~ BEGIN Character Styles ~~ */ em, span.emphasis { font-style: italic; } strong, span.strong { font-weight: bold; } sup, span.superscript { font-size:x-small; vertical-align:super; } span.footnoteref, span.endnoteref, span.footnoteRef, span.endnoteRef { font-size:6px; /*font-size:x-small; doesn't seem to work in Kindle so I'm trying to use a pixel based size here first for Kindle, then override it with the relative sizing below */ font-size:50%; /*font-size:x-small; doesn't seem to work in Kindle so I'm trying to use a percent based size here first for Kindle, then override it with the sizing below that works in other eReaders */ font-size:x-small; /* vertical-align:super; */ /* vertical alignment was removed here because InDesign generates a class called "footnote-link" on the "a" tag. This class uses vertical-align property to superscript the footnote reference */ color:#666666; /* this color should get overridden to a blue color if an actual hyperlink is applied correctly */ } span.allcaps, span.allCaps { text-transform: uppercase; } span.smallcaps, span.smallCaps { font-variant: small-caps; } /* added for version styleMap-02.4 */ span.lead-in{ font-variant: small-caps; font-weight:bold; } abbr, span.abbreviation { border-bottom:dotted; border-bottom-color:#ccc; border-bottom-width:1px; speak:spell-out; } abbr.acronym, span.acronym, acronym{ border-bottom:none; speak:normal; } /* the acronym tag is deprecated, inclusion here is for old code */ b, span.bold { font-weight: bold; } span.bolditalic, span.boldItalic{ font-weight: bold; font-style:italic; } a, span.hyperlink { text-decoration: underline; color: #0000ff; } /* ~~ BEGIN First Paragraph Styling for Initial Drop Caps ~~ */ /* EXAMPLE:

Antes de ensear el primer cabo de nuestra...

*/ span.initialcap, span.initialCap { font-weight: bold; font-style: normal; font-size: 2.50em; text-transform: uppercase; } span.dropcap, span.dropCap { font-weight: bold; font-style: normal; font-size: 400%; text-indent:0em; text-align:left; color:#666; text-transform: uppercase; line-height: 1; height: 1em; margin: -0.1em 0.125em -0.1em 0.25em; float:left; position:relative; } span.first { margin-left: -0.5em; white-space: pre; } span.afterA { margin-left: -1.0em; } span.afterL { margin-left: -1.2em } span.predrop { font-size: 25%; font-weight: normal; vertical-align: top; line-height: 1.9; } /*The "white-space: pre;" part of span.first is needed for cases where there is a space between the drop cap and the start of the line, as in "A day after", since otherwise the space beginning the span.first is dropped (take care with linebreaks inside this span.first). A similar "afterL" class can be needed. If the drop cap is not A or L, use only class="first".*/ /*To force second paragraph to start below drop cap, when first paragraph is short. EXAMPLE: I have a dream!’ */ p.paragraphfirst + p, p.paragraphFirst + p { clear: left; } /*When there is some punctuation before the drop cap*/ span.predrop { font-size: 25%; font-weight: normal; vertical-align: top; line-height: 1.9; } /* ~~ END First Paragraph Styling for Initial Drop Caps ~~ */ samp, span.sample { font-family: "Adobe Garamond Pro", serif; font-weight: normal; font-style: italic; } span.italic { font-style: italic; } cite, span.citation, span.cite { font-weight: normal; font-style: italic; } mark, span.marked { text-decoration: underline; background-color:#FFFF00; } quote, span.quotation { font-weight: normal; font-style: italic; } del, span.deleted { text-decoration: line-through; } span.strongemphasis, span.strongEmphasis { font-weight:bold; font-style:italic; } span.big { font-size:110%; } span.bigger { font-size:120%; } span.biggest { font-size:130%; } sub, span.subscript { font-size:x-small; vertical-align:sub; } /* InDesign automatically generates a div with a class called 'footnote' that wraps around each footnote. I decided to set a background color behind the footnotes to help distinguish the footnotes from the text, especially useful when you what the footnotes to appear after the paragraph instead of at the end of the file */ div.footnote { border-top:1px solid #999; background-color:#dedede; } /* InDesign automatically generates a class called footnote-link */ .footnote-link, .footnoteLink{ font-size:xx-small; text-decoration: underline; /*vertical-align:12%;*/ /* vertical aligning disrupts the leading in the Kindle */ } span.small { font-size:80%; } span.smaller { font-size:70%; } span.smallest { font-size:60%; } small, span.smallprint, span.smallPrint { font-size:50%; } span.underline { text-decoration: underline; } span.folio { } /* ~~ BEGIN Monospaced Font Styles ~~ */ code, span.code { font-family: monospace, "Helvetica Neue LT Std", Helvetica, Arial, sans-serif; font-weight: normal; font-style: normal; } kbd, span.keyboard { font-family: monospace, "Helvetica Neue LT Std", Helvetica, Arial, sans-serif; font-weight: normal; font-style: normal; } tt, span.teletype { font-family: monospace, "Helvetica Neue LT Std", Helvetica, Arial, sans-serif;; font-weight: normal; font-style: normal; } var, span.variable { font-family: monospace, "Helvetica Neue LT Std", Helvetica, Arial, sans-serif; font-weight: normal; font-style: normal; }