/* gork site: 9front.org's werc layout, hand-copied and cut down.
 * what was removed: the cursor url(), the MSIE hacks, the notify colours.
 * what was added: table rules for the systems list, and one media query so
 * a phone can read it.
 *
 * then: a light nod to hackerman.nu -- black space, neon green Courier,
 * yellow Times for the shouting. Layout untouched; colour and type only.
 */

body {
  color: #a8ffa8;
  background-color: black;
  /* a starfield in pure CSS: two layers of dots at different sizes, which
     tiles. no image, nothing to fetch. */
  background-image:
    radial-gradient(1px 1px at 25px 35px, #ffffff 50%, transparent 50%),
    radial-gradient(1px 1px at 75px 80px, #cccccc 50%, transparent 50%),
    radial-gradient(2px 2px at 50px 125px, #ffffff 50%, transparent 50%);
  background-size: 100px 150px;
  background-attachment: fixed;
  /* Courier throughout, per the owner (2026-11-10). was verdana/helvetica/
     arial. the per-element Courier New declarations below are now redundant
     but harmless; they stay so a single rule can still be retargeted. */
  font-family: "Courier New", Courier, monospace;
  font-size: 84%;
  margin: 0;
  padding: 0;
}


/* # Header # */
.superHeader {
  color: #a8ffa8;
  background-color: transparent;
  height: 1.6em;
}

.superHeader img {
  vertical-align: bottom;
}

.superHeader a {
  color: #339933;
  background-color: transparent;
  text-decoration: none;
  font-size: 91%;
  margin: 0;
  padding: 0 0.5ex 0 0.25ex;
}
.superHeader a:hover {
  color: #00ff00;
  background-color: transparent;
}

.superHeader div {
  position: absolute;
  top: 0.40ex;
}

.superHeader .left { left: 0.4em; }
.superHeader .right { right: 0.4em; }

.midHeader {
  color: #00ff00;
  background-color: transparent;
  border: solid #00ff00;
  border-width: 1px 0 0;
  /* the superHeader divs are absolutely positioned, so without this the
     title rides up under them */
  margin-top: 1.6em;
}

.headerTitle {
  color: #00ff00;
  font-family: "Courier New", Courier, monospace;
  /* a div, not an h1: the site name is decoration, the page's real h1 is the
     section heading, and two h1s would fight over the outline */
  display: block;
  font-size: 233%;
  font-weight: bold;
  margin: 0 0 0 4mm;
  padding: 0.25ex 0;
  text-shadow: 0 0 8px #006600;
}

#headerSubTitle {
  color: #00ff00;
  font-size: 50%;
  font-style: italic;
  font-weight: normal;
  margin-left: 1em;
}

.headerTitle a {
  color: #00ff00;
  text-decoration: none;
}
.headerTitle a:hover {
  color: #ffff00;
  background-color: transparent;
}

.subHeader {
  display: none;
}


/* # Side # */
#side-bar {
  width: 16em;
  float: left;
  clear: left;
}

.sideBarTitle {
  color: #ffff00;
  background-color: transparent;
  font-family: "Courier New", Courier, monospace;
  font-weight: bold;
  text-transform: uppercase;
  margin: 0 0 0.5em 2mm;
  padding: 1em 0 0 0;
}

#side-bar ul {
  list-style-type: none;
  list-style-position: outside;
  margin: 0;
  padding: 0 0 0.3em 0;
}

#side-bar li {
  margin: 0;
  padding: 0.1ex 0;
}

#side-bar a {
  color: #00ff00;
  background-color: transparent;
  text-decoration: none;
  font-family: "Courier New", Courier, monospace;
  margin: 0;
  padding: 0.35em 1ex 0.35em 2mm;
  display: block;
  font-weight: bold;
  font-size: 104%;
  border-left: #00ff00 solid 0.2em;
}

#side-bar a:hover {
  color: black;
  background-color: #00ff00;
  border-left: #ffff00 solid 0.2em;
}


/* # Main Copy # */
#main-copy {
  max-width: 70em;
  color: #a8ffa8;
  background-color: transparent;
  text-align: justify;
  line-height: 1.5em;
  margin: 0 0 0 16em;
  padding: 0.5mm 5mm 5mm 5mm;
}

#main-copy p {
  margin: 1em 1ex 1em 1ex !important;
  padding: 0;
}

#main-copy a {
  color: #ffff00;
  background-color: transparent;
  font-weight: bold;
  text-decoration: none;
}

#main-copy a:hover,
#main-copy a:focus {
  color: black;
  background-color: #ffff00;
}

/* the browser default ring is rgb(16,16,16) — invisible on a black page, so
   keyboard users could not see where they were. hover and focus agree now. */
a:focus-visible {
  outline: 2px solid #ffff00;
  outline-offset: 2px;
}

#main-copy h1,
#main-copy h2 {
  color: #00ff00;
  background-color: transparent;
  font-family: "Courier New", Courier, monospace;
  font-size: 145.5%;
  font-weight: bold;
  margin: 2em 0 0 0;
  padding: 0.5ex 0 0.5ex 0.6ex;
  border-bottom: 2px solid #00ff00;
  text-shadow: 0 0 6px #005500;
}

/* the page's one h1 is its headline: bigger than a section, still Courier */
#main-copy h1 {
  font-size: 175%;
  line-height: 1.25em;
  margin-top: 1em;
  text-shadow: 0 0 12px #006600;
}

#main-copy h2 {
  color: #33ff33;
  font-size: 115.5%;
  border-bottom: 1px solid #00aa00;
  text-shadow: none;
}

/* subsections: the old h2 look, now an h3 under a section h2 */
#main-copy h3 {
  color: #33ff33;
  background-color: transparent;
  font-family: "Courier New", Courier, monospace;
  font-size: 115.5%;
  font-weight: bold;
  margin: 2em 0 0 0;
  padding: 0.5ex 0 0.5ex 0.6ex;
  border-bottom: 1px solid #00aa00;
}

/* the shouting. hackerman.nu did this in yellow Times caps; so does this,
   but only for a line or two per section. */
.shout {
  color: #ffff00 !important;
  font-family: "Times New Roman", Times, serif;
  font-size: 145%;
  font-weight: bold;
  text-align: center !important;
  text-transform: uppercase;
  line-height: 1.3em;
  letter-spacing: 0.02em;
  text-shadow: 0 0 8px #665500;
}

.shout small {
  color: #ff00ff;
  font-size: 62%;
  font-family: "Courier New", Courier, monospace;
  text-transform: none;
  letter-spacing: 0;
}

.latestRelease {
  text-align: center;
  line-height: 2.2em;
  color: #ffff00;
  font-family: "Courier New", Courier, monospace;
  text-transform: uppercase;
}

.latestRelease a {
  color: #00ff00;
}

.latestRelease img {
  margin-top: 0.5em;
  border: 2px solid #00ff00 !important;
  background-color: black;
}


/* # Footer # */
#footer {
  color: #339933;
  background: transparent;
  font-size: 91%;
  margin: 0;
  padding: 1em 2.5mm .15em 2.5mm;
  clear: both;
  border-top: 1px solid #00aa00;
}

#footer .left {
  text-align: left;
  line-height: 1.45em;
  float: left;
  clear: left;
}

#footer .right {
  text-align: right;
  line-height: 1.45em;
}

/* the visitor counter: an inline SVG written by checks/counter.sh. vertical
   alignment only -- its green and its Courier come from the file itself, so
   the picture still stands alone if it is opened directly. */
#footer .counter {
  vertical-align: middle;
  margin: 0 0.2em;
}

#footer a {
  color: #00ff00;
  background-color: transparent;
  text-decoration: none;
}

#footer a:hover {
  color: black;
  background-color: #00ff00;
}


/* GENERAL */

table {
  border: none;
  border-collapse: collapse;
  margin: 1em 1ex 2em 1ex;
  width: 96%;
}

th {
  color: #ffff00;
  border: none;
  border-bottom: 1px solid #00ff00;
  text-align: left;
  padding: 0.4ex 1ex;
  font-family: "Courier New", Courier, monospace;
  text-transform: uppercase;
}

td {
  border: none;
  border-bottom: 1px solid #003300;
  text-align: left;
  vertical-align: top;
  padding: 0.4ex 1ex;
  line-height: 1.35em;
}

hr {
  border-width: 0 0 0.1em 0;
  border-color: #00ff00;
}

pre {
  margin-left: 2em;
  padding: 0.6em 1em;
  font-size: 1.1em;
  line-height: 1.3em;
  overflow-x: auto;
  color: #00ff00;
  background-color: #001100;
  border-left: 3px solid #00aa00;
}

pre, code {
  font-family: "Courier New", "Lucida Console", monospace;
}

code {
  color: #ffff00;
  background-color: transparent;
}

/* testimonials: a quote block that looks like it was typed on the machine
   it praises. green on near-black, Courier, with the speaker in magenta.
   The face is the real photo from hackerman.nu, floated left like it was
   there. */
.quote {
  margin: 1.5em 1ex 2em 1ex;
  padding: 0.8em 1em 0.6em 1em;
  background-color: #001100;
  border-left: 4px solid #00ff00;
  border-top: 1px solid #003300;
  border-bottom: 1px solid #003300;
  overflow: hidden;      /* contains the float without a clearfix */
}

.quote .face {
  float: left;
  margin: 0 1em 0.5em 0;
  border: 2px solid #00ff00;
  /* the photos are 1990s jpegs of wildly different sizes; cap them so the
     layout survives, but keep every one at its own aspect ratio */
  max-width: 150px;
  height: auto;
  image-rendering: auto;
  background-color: black;
}

.quote p {
  color: #a8ffa8 !important;
  font-family: "Courier New", Courier, monospace;
  font-size: 100%;
  line-height: 1.45em;
  text-align: left !important;
  margin: 0 0 0.6em 0 !important;
}

.quote .attrib {
  color: #ff00ff !important;
  font-size: 88%;
  text-align: right !important;
  margin: 0 !important;
}

/* the honesty notice: it must be read, not skimmed, so it gets a border and
   sits above the quotes rather than in a footnote nobody reaches */
.disclosure {
  border: 1px solid #00aa00;
  border-left: 4px solid #00aa00;
  padding: 0.6em 0.9em;
  color: #a8ffa8;
  font-size: 94%;
  line-height: 1.45em;
}

.disclosure em {
  color: #ffff00;
  font-style: normal;
}

/* the one warning that must never be lost in the noise */
.warning {  color: #ff4444 !important;
  font-weight: bold;
  border: 1px solid #ff4444;
  padding: 0.4em 0.8em;
}

::selection {
  color: black;
  background-color: #00ff00;
}


/* # Narrow screens: the sidebar goes above the text # */
@media (max-width: 40em) {
  #side-bar {
    float: none;
    width: auto;
    border-bottom: 1px solid #00aa00;
  }
  #main-copy {
    margin-left: 0;
  }
  /* a floated face would leave about eight characters a line on a phone */
  .quote .face {
    float: none;
    display: block;
    margin: 0 auto 0.6em auto;
    max-width: 120px;
  }
  #main-copy,
  #main-copy p {
    text-align: left;
  }
  table {
    width: auto;
  }
  /* Phones had no room for the tables and the whole page scrolled sideways
     (381px of table on a 375px screen; 15px still over at 320px). Two causes:
     cells like mcp__<server>__<tool> have no break opportunity, and 2ex of side
     padding times three columns is real money at this width. Both rules are
     needed — dropping either brings the overflow back.
     ponytail: below ~300px (narrower than any current phone) the systems table
     still overflows; the fix there is a shorter systems table, not more CSS. */
  table code {
    word-break: break-word;
  }
  th,
  td {
    padding-left: 0.4ex;
    padding-right: 0.4ex;
  }
  pre {
    margin-left: 1em;
  }
  #footer .left,
  #footer .right {
    float: none;
    text-align: left;
  }
  .shout {
    font-size: 120%;
  }
}

/* was an inline style= attribute; a class keeps the CSP free of
   'unsafe-inline' */
.pundits {
  color: #ffff00;
  font-weight: bold;
}
