-
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathmap.css
More file actions
43 lines (37 loc) · 614 Bytes
/
map.css
File metadata and controls
43 lines (37 loc) · 614 Bytes
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
.map {
position: fixed;
top: calc(var(--head-height) + var(--mobile-nav-height));
right: 0;
left: var(--nav-width);
transform: translateX(100%);
height: 100%;
bottom: 0;
border: 0;
padding: 0;
transition: transform .3s ease;
z-index: 1;
h1 {
display: none
}
}
.map-toggle {
order: 100;
flex: 1;
text-align: right;
font-size: 0.9rem;
display: none;
}
body.with-map .map {
transform: translateX(0);
}
#map-canvas, #map-canvas iframe {
width: 100%;
height: 100%;
border: 0;
}
@media (min-width: 80em) {
.map {
left: auto;
width: var(--map-width);
}
}