summaryrefslogtreecommitdiff
path: root/static/v0/css/wip.css
blob: a5f9424af047ffeb7b1cd49776e7e3f900082790 (plain)
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
body {
	margin: 0;
	color: black;
	background-color: white;
}

html {
	font-family: Sans-Serif;
}

.container {
	max-width: 60em;
	margin-left: auto;
	margin-right: auto;
}

ul.departures {
	position:relative;
	width:100%;

	border-width:1px 2px;
	margin-bottom: 5em;

	list-style-type:none;
	margin:0;
	padding:0;
}

ul.departures > li {
	display: block;
	height: 3em;
	width: 100%;
	position: relative;
	cursor: pointer;
	border-bottom: 1px solid grey;
	background-color: white;
}

ul.departures > li.cancelled {
	background-color: #ffe7d0;
}

ul.departures li .line {
	position: absolute;
	bottom: 2px;
	left: 2px;
	max-width: 6em;
	max-height: 3ex;
	max-width: 5em;
	overflow: hidden;
	font-size: 140%;
	background-color: #eeeeee;
	font-weight: bold;
	padding-left: 0.1em;
	padding-right: 0.1em;
}

ul.departures li .tram {
	background-color:#ffcccc;
}

ul.departures li .suburban {
	background-color:#aaffba;
	border-radius: 30px;
}

ul.departures li .subway {
	background-color:#aac0ff;
}

ul.departures li .bus {
	background-color:#eeaaee;
	border-radius: 10px;
}

ul.departures li .dest {
	position: absolute;
	bottom: 0;
	left: 5em;
	width: 70%;
	overflow: hidden;
	background-color: transparent;
	font-size: 150%;
	color: black;
}

ul.departures li .destsuffix {
	position: absolute;
	top: 1px;
	left: 7.6em;
	width: 70%;
	height: 1.2em;
	overflow: hidden;
}

ul.departures li .time .delay {
	padding-right: 1ex;
	color: #ff0000;
}

ul.departures li .time {
	position: absolute;
	right: 5px;
	top: 1px;
	background-color: transparent;
	padding-left: 0.2em;
	color: black;
}

ul.departures li .platform {
	position: absolute;
	bottom: 0;
	right: 5px;
	overflow: hidden;
	background-color: transparent;
	font-size: 140%;
	font-weight: bold;
	color: black;
}

@media only screen and (max-width: 600px) {
	ul.departures > li {
		font-size: 85%;
	}
}

@media only screen and (min-width: 600px) {
}