-
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathstyle.css
More file actions
93 lines (83 loc) · 1.81 KB
/
style.css
File metadata and controls
93 lines (83 loc) · 1.81 KB
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
@import url(https://api.mapbox.com/mapbox-gl-js/v2.5.1/mapbox-gl.css);
* {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica,
Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';
}
h1,
p {
background: linear-gradient(
160deg,
rgba(0, 0, 0, 0.4),
#000,
rgba(0, 0, 0, 0.6)
);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
text-shadow: 0 2px 30px rgba(0, 0, 0, 0.3), 1px 1px 3px rgba(0, 0, 0, 0.1);
-webkit-text-stroke: 0.5px black;
}
a {
text-underline-offset: 1px;
text-decoration-thickness: 2px;
}
p {
line-height: 1.5;
}
button {
font-family: inherit;
font-size: inherit;
}
#map {
position: fixed;
top: 0;
bottom: 0;
left: 0;
right: 0;
}
#warning {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
padding: 1em;
}
#warning:before {
pointer-events: none;
z-index: -1;
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
content: '';
background-color: rgba(255, 255, 255, 0.5);
-webkit-mask: linear-gradient(black 25%, transparent);
mask: linear-gradient(black 25%, transparent);
-webkit-backdrop-filter: blur(30px) saturate(2);
backdrop-filter: blur(30px) saturate(2);
}
#warning > * {
max-width: 600px;
}
#warning button {
padding: 1em 2em;
font-weight: bold;
appearance: none;
-webkit-appearance: none;
border-radius: 999px;
border: 0;
background-color: rgba(255, 255, 255, 0.7);
backdrop-filter: blur(30px) saturate(2);
box-shadow: 2px 2px 20px rgba(255, 255, 255, 0.5), inset 0 1px 2px #fff;
cursor: pointer;
transition: all 0.1s ease-in-out;
}
#warning button:hover,
#warning button:focus {
background-color: rgba(255, 255, 255, 0.9);
}
#warning button:active {
transform: scale(0.95);
background-color: rgba(0, 0, 0, 0.1);
}