-
Notifications
You must be signed in to change notification settings - Fork 15
/
trains.css
78 lines (67 loc) · 1.16 KB
/
trains.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
.trains {
font-size: 75%;
display: inline-block;
-o-transform: translate(0, -3px);
-moz-transform: translate(0, -3px);
-ms-transform: translate(0, -3px); /* IE 9 */
-webkit-transform: translate(0, -3px); /* Safari */
transform: translate(0, -3px);
}
/* Destination */
.dest {
max-width: 135px;
overflow: hidden;
padding-left: 5px;
padding-right: 10px;
text-align: left;
text-overflow: ellipsis;
white-space: nowrap;
}
/* Train origin station */
.trainOrigin {
max-width: 135px;
overflow: hidden;
padding-right: 10px;
text-align: left;
text-overflow: ellipsis;
white-space: nowrap;
}
/* Platofrm Number */
.platform {
font-weight: bold;
padding-right: 10px;
text-align: left;
}
.timeTabled {
padding-left: 10px;
}
.actualTime {
padding-left: 10px;
}
.status {
padding-left: 10px;
text-align: right;
}
/* Statuses */
.late {
color: #ff0000;
}
.early {
color: #55a6e0;
}
.goodnews {
color: #00ff00
}
.nonews {
color: #ffffff
}
.stationName {
text-align: left;
font-size: 15px;
font-family: "Roboto Condensed";
font-weight: 400;
line-height: 15px;
padding-bottom: 5px;
margin-bottom: 10px;
color: #999;
}