-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.css
43 lines (41 loc) · 1.1 KB
/
index.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
body { margin: 0; padding: 0; }
#ui-bar.stowed ~ #story { margin-left: 2.5em;}
#story { margin: 0; margin-left: 20em; }
#passages { max-width: 100vw; }
#map { height: 100vh; height: 100dvh }
.mapboxgl-ctrl-group button.mapboxgl-ctrl-geolocate { display: none }
.popup {color: black}
.popup .mapboxgl-popup-content {
background: #fefabc linear-gradient(150deg, #efec88 0%, #fefabc 100%);
border: 1px solid #cccccc;
box-shadow: 0px 2px 4px rgba(0,0,0,0.3);
transform: rotate(4deg);
font-family: 'DPDorkDiary', cursive;
text-align: center;
border-bottom-right-radius:60px 5px;
hyphens: auto;
line-height: 1.5rem;
}
.popup .mapboxgl-popup-content::before {
content: "";
background-color: rgba(0,0,0,0.025);
position: absolute;
width: 100%;
left: 0px;
top: 0;
height: 40px;
z-index: -1;
}
.popup .mapboxgl-popup-content::after {
content:"";
position: absolute;
bottom: 0;
right: -4px;
width: 100%;
height: 140px;
background-image: linear-gradient(173deg, rgba(0,0,0,0) 92%,
rgba(0,0,0,0.4) 100%);
transform: rotate(6deg);
z-index: -1;
filter: blur(2px);
}