-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
103 lines (88 loc) · 1.91 KB
/
style.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
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
:root {
--shadow: 0px 0px 1px rgba(24, 39, 75, 0.24), 0px 4px 6px -4px rgba(24, 39, 75, 0.12), 0px 8px 8px -4px rgba(24, 39, 75, 0.08);
--radius: 8px;
}
body {
margin: 0;
padding: 0;
}
#map {
position: absolute;
top: 0;
bottom: 0;
width: 100%;
}
.marker {
background-image: url('/place.png');
background-size: cover;
width: 30px;
height: 30px;
border-radius: 50%;
cursor: pointer;
}
.mapboxgl-popup-content {
font: 400 15px/22px 'Inter', sans-serif;
padding: 0;
width: 160px;
box-shadow: var(--shadow);
border-radius: var(--radius);
}
.mapboxgl-popup-content img {
width: 100%;
}
.mapboxgl-popup-content .content {
padding: 10px;
}
.mapboxgl-popup-content .content a {
background-image: url('/google-maps.png');
background-repeat: no-repeat;
background-size: 25px;
background-position: left center;
padding-left: 30px;
margin: 10px 0;
text-decoration: none;
display: block;
}
.video-display {
position: fixed;
bottom: 0;
right: 0;
margin: 40px;
width: calc(100% - 80px);
max-width: 360px;
background-color: white;
border-radius: var(--radius);
font-family: 'Inter', sans-serif;
box-shadow: var(--shadow);
}
.video-display img {
border-radius: var(--radius) var(--radius) 0 0;
width: 100%;
}
.video-display .content {
padding: 10px;
}
.video-display .content a img {
width: 30px;
}
.video-display .content h3 {
margin: 0;
}
.video-display .yt-link {
background-image: url('/yt_icon_rgb.png');
background-repeat: no-repeat;
background-size: 25px;
background-position: left center;
padding-left: 30px;
text-decoration: none;
display: block;
}
.video-display .yt-link .sub-heading {
display: block;
font-size: 0.8rem;
color: rgba(0, 0, 0, 0.7);
}
.video-display .yt-link .heading {
display: block;
color: rgba(0, 0, 0);
}