Add meetups, improve map

This commit is contained in:
Dennis Reimann
2021-09-22 09:43:38 +02:00
parent 74eb67bbea
commit 2e2bb086c1
5 changed files with 95 additions and 32 deletions

View File

@@ -1,25 +1,66 @@
@keyframes pulse {
0% { transform: scale(.75); }
1% { transform: scale(1.5); }
3% { transform: scale(.75); }
}
#meetups {
@media (--up_to_L) {
& #map {
& #map {
@media (--up_to_L) {
margin-top: var(--space-xl);
& img {
display: none;
}
}
}
@media (--L_and_up) {
& #map {
@media (--L_and_up) {
position: relative;
margin-top: var(--space-xxl);
& h2 {
display: none;
}
& img {
display: block;
width: 100%;
}
& ul {
margin: 0;
list-style: none;
}
& li {
position: absolute;
& .region {
display: none;
&.official {
color: var(--color-accent);
}
&:not(.official) {
color: var(--color-secondary);
}
& a {
color: inherit;
}
& .dot {
content: '';
position: absolute;
top: .3rem;
left: -1.25rem;
background: radial-gradient(currentColor 0%, rgba(255, 255, 255, 0) 100%);
animation-timing-function: linear;
animation-iteration-count: infinite;
will-change: transform;
transform-origin: 50%;
border-radius: 50%;
width: 1rem;
height: 1rem;
transform: scale(.75);
animation-name: pulse;
}
}
}