server actix for cannabinieri website
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

107 lines
1.3 KiB

#mobile {
display: flex;
justify-content: center;
align-items: flex-start;
min-height: 85vh;
}
svg {
width: 95%;
height: auto;
position: absolute;
align-self: center;
}
.edges {
stroke: #000;
stroke-width: 1%;
}
.nodes {
stroke: #afb3b6;
}
.nodes:active, .nodes:hover {
animation: svg_pulse 2s ease-in-out forwards;
}
@keyframes svg_pulse {
0% {
transform: scale(1);
stroke: #00ffef;
}
20% {
transform: scale(1.01);
}
80% {
transform: scale(1);
stroke: #7df9ff;
}
80% {
transform: scale(1.01);
}
100% {
transform: scale(1);
stroke: #00ffef;
}
}
.group_1:hover > #edge_1 {
animation: glowing 2s ease-in forwards;
}
.group_1:hover > #edge_2 {
animation: glowing 2s ease-in forwards;
}
.group_2:hover > #edge_3 {
animation: glowing 2s ease-in forwards;
}
.group_2:hover > #edge_4 {
animation: glowing 2s ease-in forwards;
}
.group_2:hover > #edge_5 {
animation: glowing 2s ease-in forwards;
}
.group_2:hover > #edge_6 {
animation: glowing 2s ease-in forwards;
}
@keyframes glowing {
0% {
stroke: #00ffef;
}
50% {
stroke: #7df9ff;
}
100% {
stroke: #00ffef;
}
}