
/* GURPS/Magic of Tor-Lomlin style sheet */
/* Author: Zach Tomaszewki */

BODY {color: #150703;
      background-color: #fffac2; 
      background-position: center; 
     /* background-attachment: fixed; */
      background-image: url(bgtexturel.gif);
      margin-left: 0; margin-right: 0; margin-bottom: 0;
      font-family: sans-serif;
}


A:link{color: #000066}
A:visited{color: #660066}

h1, h2, h3, h4 {color: #660000}
h1 {font-family: sans-serif}
h2, h3 {margin-left: 5%; margin-top: 2em; margin-bottom: 1em;}
h4, h5 {margin-left: 7%; margin-top: 2em; margin-bottom: 0em;}

P {margin-left: 7%; margin-right: 7%; margin-bottom: 0.5em; margin-bottom: 0.5em}
P.sub {margin-left: 10%; margin-right: 7%; margin-top: 0}
BLOCKQUOTE {margin-left: 15%; margin-right: 20%;}
BLOCKQUOTE.normal { /* default; regular text, just indented a bit */ }
BLOCKQUOTE.quote {font-family: courier, monospace;  font-size: 90%;}
BLOCKQUOTE.text {font-family: serif;  font-size: 90%;}
/* allows for use of paragraphs in a blockquote. */
BLOCKQUOTE P, BLOCKQUOTE OL, BLOCKQUOTE UL, BLOCKQUOTE DL {margin-left: 0; margin-right: 0}
BLOCKQUOTE LI {margin-left: 5%; margin-right: 5%}

UL, OL {margin-left: 8%; margin-right: 8%; margin-top: 0;}
/* for nested levels of a ToC (top level is a regular UL */
UL UL  {margin-left: 2%; margin-right: 2%}
LI P  {margin-left: 3%; margin-right: 15%; margin-top: 0;}
          LI P A {text-decoration: none}

UL.contents {margin-top: 0;}
UL.contents LI {margin-top: 0.3em;}
UL.contents UL {margin-left: 0; margin-right: 0; padding-left: 1em;} 
UL.contents UL LI {display: inline; margin-right: 1em; font-size: smaller;}
UL.contents UL LI:before {content: counter(subitem, disc) " "}

.half {line-height: 0.5em}   /* use with <br><span class="half">&nbsp;</span><br> */
I I {font-style: normal;}

DL {margin-left: 10%; margin-right: 15%} 
DT {font-weight: bold; margin-bottom: 0.25em}
DD {margin-bottom: 1em}
/* for relatively normal-looking DT */
DL.normal DT {font-weight: normal; margin-bottom: 0em}

/* inline links are to other pages/sites */
A{text-decoration: none;}
A:hover {text-decoration: underline;}
A.outbound {text-decoration: underline;}

/* TABLE.chart: just a brief diagram      */
/* TABLE.table: with bordered cells, etc. */
/*should match with standard P */
TABLE.chart, TABLE.table {
  margin-left: 7%; margin-right: 7%;
  margin-top: 1em;
  border: thin solid grey;
}
TABLE.chart TH {
  vertical-align: top;
  text-align: center;
  padding: 3px;
}
TABLE.chart TD {
  vertical-align: top;
  text-align: center;
}
TABLE.table TH {  /* structured: left aligned, with borders */
  text-align: center;
  vertical-align: top;
  padding: 3px;
  margin: 0;
  border: medium solid grey;
}
TABLE.table TD {  /* structured: left aligned, with borders */
  text-align: left;
  vertical-align: top;
  padding: 3px;
  margin: 0;
  border: thin solid grey;
}


TABLE#combat TD {
  font-size: smaller;
}

/* for footnotes and the like */
DIV.note {
  /*float: right;
  clear: right;
  width: 25%;*/
  border: thin solid navy;
  padding: 0.4em;
  font-size: smaller;
}
DIV.note H5 {
  font-size: 100%;
  margin: 0;
}
DIV.note TABLE {
 margin: 1em;
 font-size: small;
}


TABLE.footer {margin: 0; width: 100%;}

TABLE.sdfooter{margin: 0; width: 100%;
    background-color: #000033;
    color: #ccffff;
    font-family: serif;}
TABLE.sdfooter A:link {color: #33CCFF}
TABLE.sdfooter A:visited {color: #cc99ff}
hr.sdfooter {margin: 0}
