@charset "ISO-8859-1";

/* $Id: doc.css,v 1.2 2005/07/06 17:39:42 chap Exp $
 * stylesheet for anastigmatix documentation.
 * Chapman Flack January 2005
 */

html { margin: 0; background-color: white; color: black; }

@media screen {
  body {
    position: relative;
    padding: 0 21% 0 1%;
    margin: 0;
  }

  .toc {
    position: fixed;
    width: 20%; height: auto; overflow: auto;
    top: 0; right: 0; bottom: 0; left: auto;
    background-color: silver;
  }
}

a:link img { border-color: transparent; }
a:visited img { border-color: transparent; }
a:hover img { border-color: blue; }

.toc { font-family: sans-serif; }

.toc menu {
  padding: 0 0 0 1em;
  font-size: smaller;
  list-style-type: none; /* needed for dean.edwards ie7 */
  margin: 0 0 0 0;       /* likewise */
}

.toc>menu { padding: 0; }

.toc li { display: block; }

.toc [href] { color: navy; text-decoration: none; }

.toc>[href].alert { color: yellow; }

.toc [href]:hover { color: blue; }

.toc>a { /* .toc>[href] breaks dean.edwards ie7, even with css-strict */
  display: block;
  border: outset;
  border-color: silver;
  font-weight: bolder;
  text-align: center;
  text-decoration: none;
}

.toc>[href]:active { border: inset; }

h1, h2, h3, h4, h5, h6 { font-family: sans-serif; }

.lfloat { float: left; padding-right: 0.5em; }
.rfloat { float: right; }

.nocss { display: none; }
