-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
69 lines (64 loc) · 1.13 KB
/
styles.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
body {
font-family: "Roboto";
font-size: 4em;
margin: 0;
padding: 0;
}
/*when button is click on */
.on {
color: orange;
}
/*info box style (for bus list)*/
#infobox {
background: white;
height: fit-content;
width: fit-content;
font-size: 12pt;
color: orange;
font-weight: bold;
border-radius: 15px;
padding: 10px;
margin: 10px;
position: relative;
top: 10px;
left: 10px
}
button {
background: white;
height: 2em;
font-size: 22pt;
color: slategrey;
font-weight: bold;
border-radius: 15px;
border-color: dodgerblue;
position: relative;
top: 20px;
left: 20px
}
/*mapbox styles */
#map {
position: absolute;
top: 0;
bottom: 0;
width: 100%;
}
.marker {
background-image: url('assets/bus-icon.png');
background-size: cover;
width: 50px;
height: 50px;
border-radius: 50%;
cursor: pointer;
}
.mapboxgl-popup-close-button {
display: none;
}
.mapboxgl-popup-content {
background: white;
font-weight: bold;
width: 2em;
height: 1em;
}
.mapboxgl-popup-content-wrapper {
padding: 1%;
}