File talk:Popup timetable minimalist.png

Add topic
From Bradshaw, the companion guide to On Our Lines
Revision as of 18:47, 1 March 2021 by Jack (talk | contribs) (Created page with "Would it be cleaner to put the CSS here? or just hard to find <pre> →‎General theme: monospace cyan on black - now nicely formatted in Windows: body { font-family: "Libe...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Would it be cleaner to put the CSS here? or just hard to find

/* General theme: monospace cyan on black - now nicely formatted in Windows */
body {
  font-family: "Liberation Mono", "Monospace", "Consolas", monospace;
  text-size: 10pt;
  text-align: left;
  background-color: black;
  color: cyan;
  margin: 8px; /* 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 {
  width: 100%
}
table, th, td {
  border-collapse: collapse;
  margin-bottom: 1em; /* the height of a row of text */
  font-size: 10pt;
  font-weight: normal; /* take bold weight off header row */
  text-decoration: none;
  text-align: left;
  vertical-align: top;
  padding: 0;
  padding-right: 8px; /* pad right edge the width of one '0' character*/
  background-color: black !important;
}
/* 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, th.delay { /* gets both th.status and td.status etc */
  display: none;
}

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

/* Format Misc column */
/* table:last-of-type th:nth-child(8),*/ td.misc {
  /* lets 'N Setdown' show in a single line */
  width: 72px !important;
  padding-right: 0;
}

/* Format Activity row */
.acts {
  /* Line up activity departure time with departure column */
  text-align: right;
  padding-right: 248px
}
.arr, .dep {
  width: 72px;
}
.path, .plat, .line {
  width: 32px;
/*  padding-left: 8px;*/
  background-color: #880000;
}
.allow {
  width: 40px
}
td.locstop{
/*  font-weight: bold;*/
  text-decoration: underline;
}