/* Toddsac Co. — early-web base stylesheet
 *
 * Palette: Win95 grey chrome, navy links, teal accent. Literal colours,
 * not custom properties, so 1990s browsers still get them.
 *
 * Layout: fixed-width table, sidebar nav on the left, content on the right.
 *
 *   +--------------------------------------+
 *   |              header                  |
 *   +--------+-----------------------------+
 *   |  nav   |         content             |
 *   |        |                             |
 *   +--------+-----------------------------+
 *   |              footer                  |
 *   +--------------------------------------+
 */

body {
  margin: 0;
  padding: 16px;
  background: #008080;
  color: #000000;
  font-family: "Times New Roman", Times, serif;
  font-size: 16px;
}

a { color: #0000ee; }
a:visited { color: #551a8b; }

/* Bevelled Win95 panel. */
.panel {
  background: #c0c0c0;
  border-top: 2px solid #ffffff;
  border-left: 2px solid #ffffff;
  border-right: 2px solid #808080;
  border-bottom: 2px solid #808080;
  padding: 8px;
}

.frame {
  width: 760px;
  margin: 0 auto;
  border-collapse: separate;
  border-spacing: 4px;
}

.header {
  background: #000080;
  color: #ffffff;
  font-family: Arial, Helvetica, sans-serif;
  text-align: center;
  padding: 8px;
}

.header h1 {
  margin: 0;
  font-size: 32px;
  letter-spacing: 2px;
}

.header .tagline {
  margin: 4px 0 0;
  font-size: 12px;
}

.masthead td {
  vertical-align: middle;
  padding: 0 8px;
  text-align: left;
}

/* Transparent GIF, no frame. */
.flag {
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  display: block;
}

.nav {
  width: 160px;
  vertical-align: top;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
}

.nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav li {
  margin: 0 0 6px;
}

.content {
  vertical-align: top;
  background: #ffffff;
  padding: 8px 16px;
}

.content h2 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 20px;
  border-bottom: 1px solid #808080;
  padding-bottom: 2px;
}

.footer {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  text-align: center;
}

/* Renders are upscaled low-res images; keep the pixels hard. */
.render {
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  border: 1px solid #000000;
}

.hr {
  border: 0;
  border-top: 1px solid #808080;
  border-bottom: 1px solid #ffffff;
}

.small { font-size: 11px; }

/* Code to copy: wrap instead of widening the page. */
pre {
  white-space: pre-wrap;
  word-wrap: break-word;
  background: #c0c0c0;
  border: 1px solid #808080;
  padding: 4px;
}
.center { text-align: center; }

/* Herman's Journal: 2002 LiveJournal entry chrome. */
.lj-entry { margin: 0 0 18px; }
.lj-date {
  background: #6699cc;
  color: #ffffff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  font-weight: bold;
  padding: 2px 6px;
}
.lj-title { font-size: 18px; font-weight: bold; margin: 6px 0 2px; }
.lj-title a { color: #000000; text-decoration: none; }
.lj-body p { margin: 6px 0; }
.lj-meta { font-size: 12px; color: #333333; margin: 6px 0 0; }
.lj-links {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  text-align: right;
  border-top: 1px dotted #6699cc;
  margin-top: 6px;
  padding-top: 2px;
}
.lj-comments p { border-left: 3px solid #6699cc; padding-left: 6px; }
