File talk:Popup timetable minimalist white gray linux.png

Add topic
From Bradshaw, the companion guide to On Our Lines
Revision as of 19:40, 1 March 2021 by Jack (talk | contribs) (Created page with "<pre> →‎Linux/Wine version: →‎General theme: monospace white on black: body { font-family: "Liberation Mono", "Monospace", "Consolas", monospace; font-size: 8pt; t...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
/* Linux/Wine version */
/* General theme: monospace white on black */
body {
  font-family: "Liberation Mono", "Monospace", "Consolas", monospace;
  font-size: 8pt;
  text-align: left;
  background-color: black;
  color: white;
  margin: 3px; /* This is the margin around the window sides */
}

/* Remove line breaks */
br {
  /* SimSig uses these for spacing. Let's use margin-bottom instead */
  display: none;
}

/* Format tables */
table, th, td {
  border-collapse: collapse;
  margin-bottom: 1em; /* the height of a row of text */
  font-weight: normal; /* take bold weight off header row */
  vertical-align: top;
  padding: 0;
  padding-right: 1ch; /* pad right edge the width of one '0' character*/
  width: 100%;
}

/* Hide row labels from top of page */
th.id, th.desc, th.notes, th.char, th.ars {
  display: none;
}

/* hide magical status and delay fields */
.status, .delay { /* gets both th.status and td.status etc */
  display: none;
}

/* Remove "most recent paths" row
 * Appears to have no class name
 * This removes the cells of the first row of the last table
 */
table:last-of-type tr:first-child td {
  display:none;
  /* If you want to keep this row and change the background colour:*/
  /* background-color: magenta !important; */
}

/* Format links */
a {
  /* by default these appear dark blue, hard to see against black */
  text-decoration: none;
  color: white;
}

/* Format Misc column */
table:last-of-type th:nth-child(8), td.misc {
  /* (th.misc doesn't seem to work for finding the header cell here) */
  /* lets 'N Setdown' show in a single line */
  min-width: 9ch;
  padding-right: 0;
}

/* Format Activity row */
td.acts {
  /* Line up activity departure time with departure column */
  text-align: right;
  padding-right: 33ch
}
.locpass {
  color: gray;
}