/* Paradise Café — dark ZX Spectrum theme */

body {
  color: #e0e0e0;
  background-color: #000000;
  font-family: sans-serif;
}

a {
  color: #00ffff;
}
a:hover, a.map-entry-title:hover {
  color: #ffff00;
}
a.map-entry-title {
  color: inherit;
}

/* Page header */
table.header td {
  background-color: #000000;
  color: #e0e0e0;
}
td.page-header {
  color: #ffff00;
}

/* Navigation bar */
table.asm-navigation td {
  background-color: #111111;
  color: #e0e0e0;
}

/* UDGTABLE / TABLE macro — class="" empty */
table, table td, table th {
  color: #e0e0e0;
}
table[class=""] {
  background-color: #1a1a1a;
}
table[class=""] td {
  background-color: #1a1a1a;
  color: #e0e0e0;
}

/* Standard skoolkit default table */
table table.default th, table.default th {
  background-color: #003366;
  color: #ffffff;
}
table table.default td, table.default td {
  background-color: #1a1a1a;
  color: #e0e0e0;
}

/* decode_frame table — uses class="default decode-frame" */
table.decode-frame {
  border-collapse: collapse;
  margin: 8px 0;
}
table.decode-frame th {
  padding: 3px 8px;
  background-color: #003366;
  color: #ffffff;
  border: 1px solid #004488;
  white-space: nowrap;
}
table.decode-frame td {
  padding: 2px 8px;
  border: 1px solid #333;
  color: #e0e0e0;
  white-space: nowrap;
}
table.decode-frame td:nth-child(3) {
  min-width: 320px;
  white-space: nowrap;
}
tr.decode-odd td {
  background-color: #1a1a1a;
}
tr.decode-even td {
  background-color: #111111;
}
tr.decode-footer td {
  background-color: #0a0a1a;
  color: #888888;
  font-size: 0.9em;
  padding: 3px 8px;
  border-top: 1px solid #444;
  border-bottom: 1px solid #333;
  border-left: 1px solid #333;
  border-right: 1px solid #333;
}
tr.decode-footer a {
  color: #00cccc;
}

/* decode_data title and footer */
div.decode-data-wrap {
  display: inline-block;
  vertical-align: top;
  margin: 4px 8px 16px 0;
  background-color: #111111;
  border: 1px solid #2a2a2a;
  border-radius: 4px;
  padding: 6px;
}
div.decode-data-title {
  text-align: center;
  color: #e0e0e0;
  margin-bottom: 4px;
}
div.decode-data-footer {
  text-align: center;
  color: #888888;
  font-size: 0.9em;
  margin-top: 4px;
  margin-bottom: 0;
}
div.decode-data-footer a {
  color: #00cccc;
}

/* ASM listing */
td.address-1, td.address-2 {
  color: #00ffff;
}
td.asm-label {
  color: #00ff00;
}
td.instruction {
  color: #ff7fff;
}
td.bytes {
  color: #7f7fff;
}
td.comment-0, td.comment-1 {
  color: #ffff00;
  background-color: #0d0d0d;
}
td.routine-comment {
  color: #e0e0e0;
}

/* Registers */
span.register, td.register {
  color: #00ff00;
}
table.input td, table.output td {
  background-color: #1a1a1a;
  color: #e0e0e0;
}
table.input th, table.output th {
  background-color: #003366;
  color: #ffffff;
}

/* Box pages */
div.box-1, div.list-entry-1 {
  background-color: #1a1a1a;
}
div.box-2, div.list-entry-2 {
  background-color: #111111;
}
div.box-title {
  color: #ffff00;
}

/* Maps */
table.map th {
  background-color: #003366;
  color: #ffffff;
}
table.map td {
  background-color: #1a1a1a;
}
td.map-c-desc { color: #00ff00; }
td.map-b-desc, td.map-w-desc { color: #ff7fff; }
td.map-g-desc { color: #00ffff; }
td.map-t-desc { color: #ffff00; }
td.map-s-desc, td.map-u-desc { color: #808080; }
div.map-entry-title-11 { color: #e0e0e0; }

/* Section headers */
div.section-header {
  color: #ffff00;
}

/* ZX Spectrum images — pixel-sharp */
img {
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}