/****************************************************************************
 *                                                                          *
 *     CUSTOM STYLE-SHEET STUFFS FOR THE SUBVERSION BOOK IN HTML FORM       *
 *                                                                          *
 ****************************************************************************
 *                                                                          *
 *   Copyright (c) 2003-2009                                                *
 *   Ben Collins-Sussman, Brian W. Fitzpatrick, C. Michael Pilato.          *
 *                                                                          *
 *   This work is licensed under the Creative Commons Attribution License.  *
 *   To view a copy of this license, visit                                  *
 *   http://creativecommons.org/licenses/by/2.0/ or send a letter to        *
 *   Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305,   *
 *   USA.                                                                   *
 *                                                                          *
 ****************************************************************************/

body {
  background: white;
  background-repeat: repeat-y !important;
  margin: 1in;
  font-family: serif;
}
table {
  border-collapse: collapse;
}
p, li, ul, ol, dd, dt {
  font-style: normal;
  font-weight: normal;
  color: black;
}
tt, pre {
  font-family: monospace;
}
a {
  color: blue;
  text-decoration: underline;
}  
a:hover  {
  background: rgb(75%,75%,100%);
  color: blue;
  text-decoration: underline;
}
a:visited  {
  color: purple;
  text-decoration: underline;
}
img {
  border: none;
}
h1.title {
  font-size: 250%;
  font-style: normal;
  font-weight: bold;
  color: black;
}
h2.subtitle {
  font-size: 150%;
  font-style: italic;
  color: black;
}
h2.title {
  font-size: 150%;
  font-style: normal;
  font-weight: bold;
  color: black;
}
h3.title {
  font-size: 125%;
  font-style: normal;
  font-weight: bold;
  color: black;
}
h4.title {
  font-size: 100%;
  font-style: normal;
  font-weight: bold;
  color: black;
}
strong {
  font-weight: normal;
}
.toc b {
  font-family: sans-serif;
  font-size: 120%;
  font-style: normal;
  font-weight: bold;
  color: black;
}
.title {
  font-family: sans-serif;
}
.screen, .programlisting, .structname {
  font-family: monospace;
  font-style: normal;
  font-weight: normal;
}
.userinput {
  font-weight: normal;
}
.command {
  font-style: italic;
}
.filename {
  font-family: serif;
  font-style: italic;
}
.figure, .example, .informalexample, .table {
  margin: 0.125in 0.25in;
}
.figure p.title b, .example p.title b, .table p.title b {
  font-family: serif;
  font-size: 80%;
  font-style: italic;
  font-weight: normal;
}
.table table {
  border-width: 1px;
  border-style: solid;
  border-color: black;
  border-spacing: 0;
  background: rgb(240,240,240);
}
.table td, .table th {
  border: none;
  border-right: 1px black solid;
  border-bottom: 1px black solid;
  padding: 2px;
}
.table th {
  background: rgb(180,180,180);
}
.table p.title, .figure p.title, .example p.title {
  text-align: left !important;
  font-size: 100% !important;
}
.table-break, .figure-break, .example-break {
  display: none;
}
.author, .pubdate {
  margin: 0;
  font-size: 100%;
  font-style: italic;
  font-weight: normal;
  color: black;
}
.preface div.author, .preface .pubdate {
  font-size: 80%;
}
.sidebar  {
  border-top: dotted 1px black;
  border-left: dotted 1px black;
  border-right: solid 1px black;
  border-bottom: solid 1px black;
  background: #ddd;
  padding: 0 0.12in;
  margin: 0.25in;
}
.note .programlisting, .note .screen, 
.tip .programlisting, .tip .screen, 
.warning .programlisting, .warning .screen, 
.sidebar .programlisting, .sidebar .screen {
  border: none;
  background: none;
}
.sidebar p.title {
  text-align: center;
  font-size: 125%;
}
.note, .tip, .warning {
  border-color: black;
  border-style: double;
  border-width: 3px 0;
  margin: 0.25in 0;
  font-size: 90%;
}
.note td, .tip td, .warning td {
  padding: 0.125in;
}
.note .title, .tip .title, .warning .title,
.note th, .tip th, .warning th {
  display: none;
}
.programlisting, .screen {
  font-size: 90%;
  color: black;
  padding: 0.5em;
}
.navheader, .navfooter {
  border: black solid 1px;
  background-color: rgb(182,38,133);
  color: white;
}
.navheader a, .navfooter a {
  color: white;
}
.navheader hr, .navfooter hr {
  display: none;
}
#svn-footer {
  font-size: 80%;
  text-align: center;
}
#svn-footer hr {
  display: none;
}

/* --------------------- */
/* PRINT MEDIA OVERRIDES */
/* --------------------- */

@media print {
  body {
    margin: 0;
  }
  .navheader, .navfooter {
    display: none;
  }
  #svn-footer hr {
    display: block;
  }
}
