/* XML blockout */ /* ************************************************************************ * Different browsers have different defaults when loading a new page. The * following CSS Reset makes all browsers start out with the same properties. * See meyerweb.com/eric/tools/css/reset/ License: none (public domain) * ********************************************************************** */ html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strong, var, u, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video { margin: 0; padding: 0; border: 0; font-size: 100%; font-weight: normal; font: inherit; vertical-align: baseline } article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block } /* HTML5 display-role for older bROWsers */ body { line-height: 1 } blockquote, q { quotes: none } blockquote:before, blockquote:after, q:before, q:after { content: ""; content: none } table { border-collapse: collapse; border-spacing: 0 } /* End of CSS Reset */ /* ************************************************************************ * set the body margins to allow whitespace along sides of window - use * width rather than margin-right to get IE5 to behave itself. * ********************************************************************** */ body { margin-left: 5%; width: 90%; /* == margin-right:5% */ } /* ************************************************************************ * set the indention, spacing, and leading for ALL paragraphs * ********************************************************************** */ p { margin-top: 1em; /* inter-paragraph space */ margin-bottom: 0; /* use only top-margin for spacing */ line-height: 1.4em; /* generous interline spacing */ } /* ************************************************************************ * Style all paragraphs of open text (not quotes, table CELLs etc) * ********************************************************************** */ body > p { text-align: justify; /* or left?? */ text-indent: 1.5em; /* first-line indent, could be 0em */ } p.cont { text-indent: 0 } /* paragraphs that continue a thought */ /* ************************************************************************ * suppress first-line-indent on paragraphs that following heads and * on paragraphs in table data CELLs * ********************************************************************** */ h2 + p, h3 + p, td, td > p { text-indent: 0 } /* ************************************************************************ * Set tighter spacing for list item paragraphs * ********************************************************************** */ ul, ol { margin-left: 2em } li, li > p { margin-top: 0.25em; margin-bottom: 0; line-height: 1.2em; /* leading a bit tighter than p's */ } /* ************************************************************************ * Small-cap font class, for use in spans. * ********************************************************************** */ .smcap { font-variant: small-caps } /* ************************************************************************ * Head 2 is for chapter heads. * ********************************************************************** */ h2 { margin-top: 3em; /* extra space above.. */ margin-bottom: 2em; /* ..and below */ clear: both; /* don't let sidebars overlap */ font-size: 133%; /* larger font than body */ text-align: center; line-height: 1.5 } /* ************************************************************************ * Head 3 is for section heads, if any, or perhaps poem titles * ********************************************************************** */ h3 { margin-top: 2em; /* extra space above but not below */ clear: both; /* don't let sidebars overlap */ /* text-align:center; left-aligned by default. */ /* font-weight: bold; match the original */ } /* ************************************************************************ * Styles for images and captions * ********************************************************************** */ div.image { /* style the div that contains both image and caption */ margin-top: 0.5em; border: 1px solid black; text-align: center } p.caption { /* style the paragraphs of caption text */ margin-top: 0; /* snuggled up to its image */ font-size: smaller; text-align: left } /* ************************************************************************ * style a div for the frequent short equations. * ********************************************************************** */ div.eq { text-align: center } /* ************************************************************************ * Styling tables and their contents: * automatic center/bold for header and footer CELLs. * use class="shade" to put gray background in a