-
Notifications
You must be signed in to change notification settings - Fork 6
/
style.css
271 lines (218 loc) · 3.83 KB
/
style.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
body {
background: #FFF;
color: #1E1E1E;
font-family: Helvetica, Arial, sans-serif;
font-weight: 300;
font-size: 16px;
margin-bottom: 0;
}
.container {
margin: 10px auto 0px auto;
text-align: center;
}
h1 {
font-size: 42px;
font-weight: inherit;
margin: 0;
}
h2 {
margin: 15px auto 15px auto;
font-size: 24px;
font-weight: inherit;
text-align: left;
color: #505050;
vertical-align: 100%;
display: none;
}
#toggle-show-all-days {
display: none;
}
#lines h2,
.line_selected h2,
.line_selected #toggle-show-all-days {
display: block;
}
@media only screen and (max-device-width: 480px) {
#lines {
/* fit boxes on iphone screen */
font-size: 8px;
}
}
.line_box {
display: inline-block;
width: 75px;
height: 75px;
cursor: pointer;
text-decoration: none;
}
.line_red {
background: #D60021;
}
#red .line_name,
#red h4 {
color: #D60021;
}
#red tbody td:nth-child(2n+1) {
background: #FAC6C8;
}
.line_green {
background: #1C9B41;
}
#green .line_name,
#green h4 {
color: #1C9B41;
}
#green tbody td:nth-child(2n+1) {
background: #C9EEC9;
}
.line_purple {
background: #7736A3;
}
#purple .line_name,
#purple h4 {
color: #7736A3;
}
#purple tbody td:nth-child(2n+1) {
background: #D8B0E8;
}
.line_blue {
background: #1469B1;
}
#blue .line_name,
#blue h4 {
color: #1469B1;
}
#blue tbody td:nth-child(2n+1) {
background: #CBE5F2;
}
.line_silver {
background: #B6C1B9;
}
#silver .line_name,
#silver h4 {
color: #B6C1B9;
}
#silver tbody td:nth-child(2n+1) {
background: #EEF1EF;
}
.line_gold {
background: #FDC425;
}
#gold .line_name,
#gold h4 {
color: #FDC425;
}
#gold tbody td:nth-child(2n+1) {
background: #FFF5D1;
}
.line_orange {
background: #F17A26;
}
#orange .line_name,
#orange h4 {
color: #F17A26;
}
#orange tbody td:nth-child(2n+1) {
background: #FEDDBF;
}
.schedule {
display: none;
}
.route {
margin: 0 -8px 1.5em;
overflow: auto;
}
table.no_service {
width: 100%;
}
.no_service thead, .no_service tbody {
display: none;
}
.schedule h3 {
text-align: left;
font-size: 18px;
margin: 0;
font-weight: inherit;
}
.schedule h3.line_name {
font-weight: 400;
}
.schedule h3.not_running_today {
text-align: center;
}
.schedule thead th {
height: 1em;
border-style: none;
white-space: normal;
}
.schedule thead tr:last-child th {
padding-bottom: .75em;
}
.schedule h4 {
position: absolute;
text-align: left;
font-size: 14px;
margin: 0 0 0 5px;
font-weight: inherit;
}
.schedule table {
border-spacing: 0px;
margin: 0px auto 0px auto;
border-right: 8px solid white;
}
.schedule th {
border-right: 1px solid #1E1E1E;
text-align: left;
font-weight: inherit;
text-overflow: ellipsis;
overflow: hidden;
background-color: white;
white-space: nowrap;
}
.schedule th.fancyscroll {
display: block;
position: absolute;
}
.schedule th.fancyscroll:hover {
width: auto !important;
}
.schedule .fancyscroll-spacer {
border-style: none;
padding: 0;
margin: 0;
width: 0;
min-width: 0;
}
#schedules .schedule tbody td.upcoming {
background: yellow;
}
.schedule tbody tr:last-child td,
.schedule tbody tr:last-child th
{
border-bottom: 0px;
}
.schedule tbody td:nth-child(2n+1) {
background: #E5EFEF;
}
.schedule tbody td, .schedule tbody th {
padding: 5px;
border-bottom: 1px solid #ccc;
min-width: 2.5em;
}
.schedule td.pm {
font-weight: bold;
}
.schedule tfoot tr {
height: 1.5em;
}
.schedule .note {
font-size: inherit;
position: absolute;
padding: 1ex 1ex 0 0;
text-align: right;
overflow: hidden;
font-size: 15px;
}
body:not(.line_selected) #schedule_title {
display: none;
}