/*
 * CSS for libcaca
 * $Id$
 */

/* Common attributes */

html, body {
  padding: 0;
  border: 0;
  margin: 0;
  height: 100%;
}

body {
  color: black;
  background: url('/browser/web/trunk/static/img/back3.png?format=raw') repeat left top;
  background-color: black;
}

body, td, h1, h2, h3, p {
  font-family: serif;
}

h1 {
  font-size: 1.6em;
  font-variant: small-caps;
  color: #002200;
  background-color: inherit;
}

h2, h3 {
  text-indent: 0.5em;
  border-style: solid;
  border-color: #88aa77;
  background-color: inherit;
}

h2 {
  font-size: 1.3em;
  font-variant: small-caps;
  color: #224422;
  border-width: 0 0 2px 0;
}

h3 {
  font-size: 1.1em;
  color: #335533;
  border-width: 0 0 1px 0;
}

p {
  text-indent: 1em;
  text-align: inherit;
}

/* Layout-specific attributes */

div.gradleft {
  /* no longer used */
}

div.gradright {
  /* no longer used */
}

div.top, div.main, div.bottom {
  width: 800px;
  display: table-caption;
  color: inherit;
  background-color: #dddddd;
  background: url('/browser/web/trunk/static/img/back4.png?format=raw') repeat left top;
  padding: 0 10px 0 10px;
  border-style: solid;
  border-width: 2px 2px 0 2px;
  border-color: black;
  margin: 0 auto 0 auto;
  text-align: justify;
}

div.top {
   border-width: 2px;
   margin-top: 10px;
}

div.main {
  padding: 5px 10px 5px 10px;
  height: 100%;
}

div.bottom {
   clear: both;
   position: relative;
   border-width: 0 2px 2px 2px;
   margin-bottom: 5px;
}

div.bottombar {
  font-family: monospace;
  font-weight: bold;
  font-size: smaller;
  padding: 0;
  border-style: solid;
  border-width: 2px 0 0 0;
  border-color: #88aa77;
}

img.caca {
  border: solid 2px #88aa77;
  margin: 10px 20px 10px 20px;
  float: right;
}

img.inline, img.inlinetop {
  border: solid 2px #88aa77;
  padding: 2px;
}

img.inlinetop {
  vertical-align: top;
}

img.math {
  vertical-align: middle;
  margin-left: 10px;
  margin-right: 10px;
}

img.matrix {
  vertical-align: top;
  margin-right: 30px;
  margin-top: 10px;
}

div.toilet {
  border: solid 2px #88aa77;
  padding-left: 10px;
  padding-right: 10px;
}

p.toilet {
  text-indent: 0;
}

p.dashit {
  float: right;
  text-align: right;
  font-size: smaller;
  font-style: italic;
}

a:link    { color: #33aa55; background-color: inherit; }
a:visited { color: #117722; background-color: inherit; }
a:hover   { color: #aa22dd; background-color: inherit; text-decoration: none; }
a:active  { color: #cc22ff; background-color: inherit; }

/* Top menubar handling */

div.menubar {
  text-align: center;
  color: inherit;
  padding: 8px 0px;
}

a.menubutton {
  color: black;
  background: url('/browser/web/trunk/static/img/back4.png?format=raw') repeat left top;
  background-color: #dddddd;
  text-decoration: none;
  font-weight: bold;
  border: solid black 2px;
  padding: 4px 10px 4px 10px;
  margin: 0 5px 0 5px;
}

a.menubutton:link {
  color: black;
}

a.menubutton:hover {
  color: #ffffff;
  border-color: #ffffff;
  background: inherit;
}

