-
Notifications
You must be signed in to change notification settings - Fork 0
/
moma_map.css
71 lines (56 loc) · 1.26 KB
/
moma_map.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
/* Basic reset */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Avenir Next', sans-serif;
color: #333;
background-color: #fff;
}
#worldMap {
width: 100%;
height: 90vh; /* Adjust height to take up most of the page */
margin-top: 20px;
}
#mapText {
position: absolute;
top: 300px; /* Adjust this value to move the text down */
left: 80px;
font-size: 16px;
font-weight: 300;
max-width: 300px;
line-height: 1.5;
color: #000; /* Make the text darker */
z-index: 1000;
}
#mapText p {
margin-bottom: 10px; /* Add margin between paragraphs */
}
#mapText a {
text-decoration: none;
color: #000; /* Make the link text darker */
font-weight: 400;
border-bottom: 1px solid #333;
}
.popup {
display: block;
position: absolute;
background: white;
border: 1px solid black;
padding: 10px;
z-index: 1000; /* Ensure it appears above other elements */
pointer-events: auto; /* Enable interaction with popup */
}
.popup a {
pointer-events: auto; /* Ensure links are clickable */
}
.tooltip {
position: absolute;
background-color: white;
border: 1px solid black;
padding: 5px;
pointer-events: none;
z-index: 1000;
}