-
Notifications
You must be signed in to change notification settings - Fork 17
/
style.css
160 lines (133 loc) · 2.27 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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
html,
body,
#viewDiv,
#container {
padding: 0;
margin: 0;
height: 100%;
width: 100%;
color: #323232;
font-family: "Avenir Next","Helvetica Neue",Helvetica,Arial,sans-serif;
}
body {
background: radial-gradient(#12bff2, #0269a1);
}
#viewDiv canvas {
filter: saturate(1.2) drop-shadow(0 0 20px white);
}
/* popup styling */
.esri-popup__content {
margin: 0;
}
.esri-popup__header-title {
font-size: 18px;
}
.esri-popup__footer {
display: none;
}
.esri-feature__main-container .popupImage {
max-height: 250px;
overflow: hidden;
}
.popupImage > img {
width: 100%;
}
.popupImageCaption {
text-align: center;
font-size: 0.9em;
padding: 0.1em 1.5em 0;
}
.popupDescription {
padding: 2em;
}
p.info {
margin-bottom: 2em;
font-size: 1.1em;
}
.popupDescription > p:last-child {
margin-bottom: 0;
}
.popupCredits {
font-size: 0.8em;
padding: 0 2.5em 0.5em 2.5em;
}
.esri-attribution__sources a {
color: #323232;
}
/* intro and about page */
#viewDiv {
filter: blur(10px);
transition: filter 0.4s;
}
#container {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
display: flex;
justify-content: center;
align-items: center;
padding: 1em;
box-sizing: border-box;
}
#introDiv {
position: relative;
width: 60%;
max-width: 700px;
min-height: 350px;
flex: 1;
background-color: #fff;
padding: 3em;
box-sizing: border-box;
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}
#introDiv h1 {
margin-top: 0;
margin-bottom: 1em;
}
#introDiv p {
line-height: 1.5em;
}
#container a:hover {
color: white;
background: rgb(2, 105, 161);
}
#container a {
color: rgb(2, 105, 161);
text-decoration: none;
font-weight: bold;
}
button.esri-icon-close {
position: absolute;
top: 1.5em;
right: 1.5em;
background: transparent;
border: none;
cursor: pointer;
}
#about {
color: white;
box-shadow: none;
cursor: pointer;
}
.hidden {
display: none;
}
#start-globe {
border-radius: 0.2em;
padding: 0.8em 1.5em;
font-size: 1em;
margin: 2em auto;
display: block;
border: 1px solid rgba(2, 105, 161, 1);
background: transparent;
color: rgba(2, 105, 161, 1);
}
#start-globe:hover {
color: white;
background: rgb(2, 105, 161);
border: 1px solid white;
transition: all 0.5s;
cursor: pointer;
}