avm99963 | 99bb77c | 2020-01-27 03:15:08 +0100 | [diff] [blame] | 1 | body { |
| 2 | background: black; |
| 3 | color: white; |
| 4 | font-family: "Arial", sans-serif; |
| 5 | font-weight: bold; |
| 6 | |
| 7 | margin: 0; |
| 8 | } |
| 9 | |
| 10 | #container { |
| 11 | width: 100%; |
| 12 | } |
| 13 | |
| 14 | body.view-new #trains { |
| 15 | max-width: 680px; |
| 16 | } |
| 17 | |
| 18 | body.view-old #trains { |
| 19 | width: 100%; |
| 20 | } |
| 21 | |
| 22 | .train { |
| 23 | display: flex; |
| 24 | flex-direction: row; |
| 25 | flex-wrap: nowrap; |
| 26 | |
| 27 | margin: 16px; |
| 28 | /*margin-bottom: 5vh;*/ |
| 29 | } |
| 30 | |
| 31 | body.view-new .train { |
| 32 | margin-bottom: 64px; |
| 33 | } |
| 34 | |
| 35 | .train * { |
| 36 | align-self: center; |
| 37 | } |
| 38 | |
| 39 | .train .logo { |
| 40 | text-align: center; |
| 41 | } |
| 42 | |
| 43 | body.view-old .train .logo { |
| 44 | padding: 8px; |
| 45 | margin-right: 16px; |
| 46 | |
| 47 | line-height: 92px; |
| 48 | width: 92px; |
| 49 | height: 92px; |
| 50 | } |
| 51 | |
| 52 | body.view-new .train .logo { |
| 53 | padding: 2px; |
| 54 | margin: 8px 12px 8px 0; |
| 55 | |
| 56 | line-height: 88vh; |
| 57 | width: 88vh; |
| 58 | height: 88vh; |
| 59 | } |
| 60 | |
| 61 | .train .destination { |
| 62 | flex-grow: 1; |
| 63 | } |
| 64 | |
| 65 | body.view-old .train .destination { |
| 66 | font-size: 54px; |
| 67 | margin-left: 16px; |
| 68 | } |
| 69 | |
| 70 | body.view-new .train .destination { |
| 71 | font-size: 44px; |
| 72 | margin-bottom: 24px; |
| 73 | } |
| 74 | |
| 75 | .train .time { |
| 76 | min-width: 154px; |
| 77 | margin: 0 16px; |
| 78 | |
| 79 | font-size: 52px; |
| 80 | text-align: left; |
| 81 | } |