forked from hackclub/map-2020
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
71 lines (64 loc) · 1.3 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
/*
font-face {
font-family: 'Phantom Sans';
src: url('https://hackclub.com/fonts/Phantom_Sans_0.6/Regular.woff')
format('woff'),
url('https://hackclub.com/fonts/Phantom_Sans_0.6/Regular.woff2')
format('woff2');
font-weight: normal;
font-style: normal;
font-display: swap;
}
*/
@font-face {
font-family: 'Phantom Sans';
src: url('https://hackclub.com/fonts/Phantom_Sans_0.6/Bold.woff')
format('woff'),
url('https://hackclub.com/fonts/Phantom_Sans_0.6/Bold.woff2')
format('woff2');
font-weight: bold;
font-style: normal;
font-display: swap;
}
body {
margin: 0;
background-color: #252429;
font-family: "Phantom Sans", system-ui, Roboto, sans-serif;
overflow: hidden;
}
svg {
cursor: move;
}
#banner {
background-color: #ec3750;
color: #fff;
pointer-events: none;
padding: 1rem 1.5rem;
border-radius: 999px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
max-width: calc(100% - 1.5rem);
text-align: center;
position: absolute;
top: 1rem;
left: 50%;
transform: translateX(-50%);
opacity: 0;
transition: opacity .25s ease-out;
}
@media (max-width: 32em) {
#banner {
top: auto;
bottom: 1rem;
}
}
.segment {
stroke: #f9fafc;
stroke-width: 1px;
fill: #e0e6ed;
}
.layer {
pointer-events: none;
}
#markers circle {
opacity: 0.75;
}