-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.scss
110 lines (94 loc) · 1.54 KB
/
style.scss
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
body {
margin: 0;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif,
'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
p {
margin: 0;
}
#map {
width: 100vw;
height: 100vh;
}
img {
display: block;
}
.leaflet-bottom.leaflet-left .leaflet-control {
background: transparent;
}
h1 {
font-size: 1.4rem;
margin: 0;
margin-bottom: 20px;
}
.overlay {
position: fixed;
top: 20px;
left: 20px;
background-color: white;
padding: 20px;
box-shadow: rgb(0 0 0 / 8%) 0px 4px 10px 0px;
min-width: 240px;
max-height: 93vh;
z-index: 500;
border-radius: 6px;
overflow-y: scroll;
header {
display: grid;
grid-template-columns: auto auto;
row-gap: 16px;
h1 {
margin: 0;
grid-column: span 2;
}
}
ul {
padding: 0;
}
li {
list-style-type: none;
display: flex;
justify-content: space-between;
gap: 16px;
align-items: center;
margin: 0;
padding: 16px 0;
border-top: 1px solid lightgrey;
}
}
.close-button {
display: grid;
place-items: center;
background: none;
border: none;
padding: 4px;
cursor: pointer;
place-self: start end;
color: black;
}
.lines-at-station {
display: flex;
gap: 8px;
align-self: start;
}
.line-icon {
aspect-ratio: 1 / 1;
color: white;
font-weight: bold;
border-radius: 3px;
padding: 0.3em;
text-align: center;
}
.direction,
.countdown {
font-size: 0.9rem;
font-weight: bold;
}
.countdown span {
font-size: 0.8em;
}
.direction {
flex-grow: 1;
}