﻿/* Mr Mars' Cascading Style Sheet for his Poetry web */
/* Warren Mars first written 8/12/08 */

/* Main tags */
body {
  font-size: 11pt;
  line-height: 13pt;
  font-family: "Times New Roman",Times,serif;
  font-weight: normal;
  font-style: normal;
  margin-top: 0pt;
  margin-bottom: 0pt;
  text-align: left;
  vertical-align: top;
  color: black;
  background-color: white;
  background-image: url(background.jpg);
  background-attachment: fixed;
}

div.standard {
  vertical-align: top;
  max-width: 60em;
  margin-left: auto ;
  margin-right: auto ;
  text-align: center;
}

div.contents {
  vertical-align: top;
  max-width: 80em;
  margin-left: auto ;
  margin-right: auto ;
  text-align: center;
}

td {
  vertical-align: top;
}

p {
  margin-top: 0pt;
  text-align: justify;
}
p.nl {
  margin-bottom: 0pt;
}
p.indent1 {
  margin-left: 5em;
}
p.indent2 {
  margin-left: 10em;
}

/*  Headings */
h1 {
  font-size: 24pt;
  font-weight: bold;
  text-align: center;
  margin-top: 0pt;
  margin-bottom: 8pt;
}
h2 {
  font-weight: bold;
  font-size: 18pt;
  text-align: center;
  margin-top: 0pt;
  margin-bottom: 5pt;
}
h3 {
  font-size: 12pt;
  font-weight: bold;
  text-align: left;
  margin-top: 0pt;
  margin-bottom: 0pt;
}
h3.indent1 {
  margin-left: 5em;
}
h3.indent2 {
  margin-left: 10em;
}

/* Tables */
table {
  table-layout: auto;
  border-collapse: collapse;
  margin-left: auto;
  margin-right: auto;
}
td {
  margin-top: 0pt;
  padding: 0px;
}
table.text {
  table-layout: auto;
  border-collapse: collapse;
  margin-left: auto;
  margin-right: auto;
  width: auto;
}
td.text {
  padding: 3px;
  border-style: solid;
  border-width: 1px;
  text-align: left;
}
td.nav3_text {
  padding-left: 10px;
  text-align: left;
}
table.poem {
  table-layout: auto;
  border-collapse: collapse;
  margin-left: 5em;
  margin-right: auto;
  width: auto;
}
td.poem {
  padding: 6px;
  font-size: 13pt;
  line-height: 13pt;
  text-align: left;
}

/*  Images */
img {
  border-style: none;
  outline-style: none;
  padding: 0px;
  margin: 0px;
}
img.left {
  float: left;
  padding-left: 5px;
  vertical-align:text-top;
}
img.right {
  float: right;
  padding-left: 5px;
  vertical-align:text-top;
}
img.centered {
  padding-left: 5px;
  padding-right: 5px;
  vertical-align:text-top;
}

/*  Links */
a:link {
  color: blue;
  text-decoration: underline;
}
a:visited {
  color: blue;
  text-decoration: underline;
}

/*  Normal horizontal line */
hr {
  border-style: solid none none;
  border-top: 1px solid black;
}

/* Fractional line feeds */
p.half_line {
  font-size: 6pt;
  line-height: 4pt;
}
p.quarter_line {
  font-size: 0pt;
  line-height: 2pt;
}

/*  Top level navigation - medium horizontal buttons in the centre of the page */
table.nav1 {
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 6px;
  margin-left: auto;
  margin-right: auto;
  width: auto;
}
td.nav1 {
  border: 2px solid #89964b;
  padding: 1px;
  font-size: 11pt;
  line-height: 14pt;
  background-color: #d2e673;
  color: #495028;
  font-family: Arial,Helvetica,sans-serif;
  width: 10em;
  text-align: center;
}
td.nav1:hover {
  background-color: #c0d269;
  color: #495028;
}
td.nav1 a:link {
  text-decoration: none;
  color: #495028;
}
td.nav1 a:visited {
  text-decoration: none;
  color: #495028;
}

/*  Poem level navigation - small horizontal buttons in the centre of the page */
table.nav2 {
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 6px;
  margin-left: auto;
  margin-right: auto;
  width: auto;
}
td.nav2 {
  border: 2px solid #89964b;
  padding: 1px;
  font-size: 11pt;
  line-height: 14pt;
  background-color: #d2e673;
  color: #495028;
  font-family: Arial,Helvetica,sans-serif;
  text-align: center;
  width: 7em;
}
td.nav2:hover {
  background-color: #c0d269;
  color: #495028;
}
td.nav2 a:link {
  text-decoration: none;
  color: #495028;
}
td.nav2 a:visited {
  text-decoration: none;
  color: #495028;
}

/*  Poem contents list - long vertical buttons in the left of the page */
table.nav3 {
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 3px;
  margin-left: auto;
  margin-right: auto;
  width: 16em;
}
td.nav3 {
  border: 2px solid #89964b;
  padding: 1px;
  font-size: 11pt;
  line-height: 14pt;
  background-color: #d2e673;
  color: #495028;
  font-family: Arial,Helvetica,sans-serif;
  text-align: center;
}
td.nav3:hover {
  background-color: #c0d269;
  color: #495028;
}
td.nav3 a:link {
  text-decoration: none;
  color: #495028;
}
td.nav3 a:visited {
  text-decoration: none;
  color: #495028;
}

/*  Normal lists */
ul {
  list-style-type: disc;
  list-style-position: outside;
  margin-left: 0px;
  margin-top: 0px;
  padding-left: 1em;
}
ul.indent1 {
  margin-left: 5em;
}
ol {
  list-style-type: decimal;
  list-style-position: outside;
  margin-left: 0px;
  margin-top: 0px;
  padding-left: 20px;
}
ol.indent1 {
  margin-left: 5em;
}
li {
  text-align: left;
}

/* Main text */
p.poem_text {
  font-family: "Times New Roman",Times,serif;
  font-size: 13pt;
  text-align: left;
  margin-top: 0pt;
  margin-left: 5em;
  clear:both; /* Turn off the float */
}
p.caption {
  font-family: "Times New Roman",Times,serif;
  font-size: 9pt;
  text-align: center;
  margin-top: 0pt;
}
p.caption_left {
  font-family: "Times New Roman",Times,serif;
  font-size: 9pt;
  text-align: left;
  margin-left: 7em;
  margin-top: 0pt;
}
/* Fixed width font used for lining up words with images, using a lot of spaces */
pre.caption {
  font-family: "Times New Roman",Times,serif;
  font-size: 9pt;
  text-align: center;
  margin-top: 0pt;
}
pre.caption_inline {
  font-family: "Times New Roman",Times,serif;
  font-size: 9pt;
  text-align: left;
  margin-top: 0pt;
  margin-left: 7.2em;
}
/* This is the caption for images inline with a poem. The caption margin is the poem margin in ems x the ratio of the typeface sizes, poem/caption */
p.caption_inline {
  font-family: "Times New Roman",Times,serif;
  font-size: 9pt;
  margin-left: 7.2em;
  text-align: left;
  margin-top: 0pt;
}
p.commentary {
  font-family: "Times New Roman",Times,serif;
  font-size: 11pt;
  text-align: justify;
  margin-top: 0pt;
}
p.commentary_nl {
  font-family: "Times New Roman",Times,serif;
  font-size: 11pt;
  text-align: justify;
  margin-top: 0pt;
  margin-bottom: 0pt;
}
p.commentary_quote {
  font-family: "Times New Roman",Times,serif;
  font-size: 11pt;
  text-align: justify;
  margin-top: 0pt;
  margin-left: 5em;
  margin-right: 5em;
  font-style: italic;
}
/* These are for commentary inline with a poem. The commentary margin is the poem margin in ems x the ratio of the typeface sizes, poem/commentary */
p.commentary_inline {
  font-family: "Times New Roman",Times,serif;
  font-size: 11pt;
  text-align: justify;
  margin-top: 0pt;
  margin-left: 5.9em;
}
p.commentary_inline_nl {
  font-family: "Times New Roman",Times,serif;
  font-size: 11pt;
  text-align: justify;
  margin-top: 0pt;
  margin-left: 5.9em;
  margin-bottom: 0pt;
}

/*  Small text */
sub {
  font-size: 8pt;
}
sup {
  font-size: 8pt;
}

/*  Footnotes */
p.footnote {
  font-size: 9pt;
  text-align: justify;
  margin-top: 0pt;
  margin-bottom: 0pt;
}
hr.footnote {
  border-style: solid none none;
  border-top: 1px solid black;
  margin-top: 0pt;
  margin-left: 0pt;
  margin-bottom: 0pt;
  width: 18em;
}
ol.footnote {
  list-style-type: decimal;
  list-style-position: outside;
  padding-left: 15pt;
  font-size: 9pt;
}
li.footnote {
  font-size: 9pt;
  text-align: justify;
}
