forked from nwootton/MMM-UKLiveBusStopInfo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbus.css
53 lines (45 loc) · 833 Bytes
/
bus.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
.bus {
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);
}
.dest {
max-width: 135px;
overflow: hidden;
padding-right: 10px;
text-align: left;
text-overflow: ellipsis;
white-space: nowrap;
}
.route {
font-weight: bold;
padding-right: 10px;
text-align: left;
}
.route:before {
content: '\f207';
font-family: 'FontAwesome';
}
.late {
color: #ff0000;
}
.early {
color: #55a6e0;
}
.nonews {
color: #ffffff
}
.busStopName {
text-align: left;
font-size: 15px;
font-family: "Roboto Condensed";
font-weight: 400;
line-height: 15px;
padding-bottom: 5px;
margin-bottom: 10px;
color: #999;
}