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

2 years ago
  1. #mobile {
  2. display: flex;
  3. justify-content: center;
  4. align-items: flex-start;
  5. min-height: 85vh;
  6. }
  7. svg {
  8. width: 95%;
  9. height: auto;
  10. position: absolute;
  11. align-self: center;
  12. }
  13. .edges {
  14. stroke: #000;
  15. stroke-width: 1%;
  16. }
  17. .nodes {
  18. stroke: #afb3b6;
  19. }
  20. .nodes:active, .nodes:hover {
  21. animation: svg_pulse 2s ease-in-out forwards;
  22. }
  23. @keyframes svg_pulse {
  24. 0% {
  25. transform: scale(1);
  26. stroke: #00ffef;
  27. }
  28. 20% {
  29. transform: scale(1.01);
  30. }
  31. 80% {
  32. transform: scale(1);
  33. stroke: #7df9ff;
  34. }
  35. 80% {
  36. transform: scale(1.01);
  37. }
  38. 100% {
  39. transform: scale(1);
  40. stroke: #00ffef;
  41. }
  42. }
  43. .group_1:hover > #edge_1 {
  44. animation: glowing 2s ease-in forwards;
  45. }
  46. .group_1:hover > #edge_2 {
  47. animation: glowing 2s ease-in forwards;
  48. }
  49. .group_2:hover > #edge_3 {
  50. animation: glowing 2s ease-in forwards;
  51. }
  52. .group_2:hover > #edge_4 {
  53. animation: glowing 2s ease-in forwards;
  54. }
  55. .group_2:hover > #edge_5 {
  56. animation: glowing 2s ease-in forwards;
  57. }
  58. .group_2:hover > #edge_6 {
  59. animation: glowing 2s ease-in forwards;
  60. }
  61. @keyframes glowing {
  62. 0% {
  63. stroke: #00ffef;
  64. }
  65. 50% {
  66. stroke: #7df9ff;
  67. }
  68. 100% {
  69. stroke: #00ffef;
  70. }
  71. }