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.

189 lines
2.5 KiB

2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
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: #8693AB;
  19. }
  20. .nodes:active, .nodes:hover {
  21. animation: svg_pulse 2s ease-in-out forwards;
  22. }
  23. #circle_one:active {
  24. opacity: 100% !important;
  25. }
  26. @keyframes svg_pulse {
  27. 0% {
  28. transform: scale(1);
  29. stroke: #8693AB;
  30. }
  31. 20% {
  32. transform: scale(1.01);
  33. }
  34. 80% {
  35. transform: scale(1);
  36. stroke: #BDD4E7;
  37. }
  38. 80% {
  39. transform: scale(1.01);
  40. }
  41. 100% {
  42. transform: scale(1);
  43. stroke: #8693AB;
  44. }
  45. }
  46. .group_1:hover > #edge_1 {
  47. animation: glowing 2s ease-in forwards;
  48. }
  49. .group_1:active > #edge_1 {
  50. animation: glowing 2s ease-in forwards;
  51. }
  52. .group_1:hover > #edge_2 {
  53. animation: glowing 2s ease-in forwards;
  54. }
  55. .group_1:active > #edge_2 {
  56. animation: glowing 2s ease-in forwards;
  57. }
  58. .group_2:hover > #edge_3 {
  59. animation: glowing 2s ease-in forwards;
  60. }
  61. .group_2:active > #edge_3 {
  62. animation: glowing 2s ease-in forwards;
  63. }
  64. .group_2:hover > #edge_4 {
  65. animation: glowing 2s ease-in forwards;
  66. }
  67. .group_2:active > #edge_4 {
  68. animation: glowing 2s ease-in forwards;
  69. }
  70. .group_2:hover > #edge_5 {
  71. animation: glowing 2s ease-in forwards;
  72. }
  73. .group_2:active > #edge_5 {
  74. animation: glowing 2s ease-in forwards;
  75. }
  76. .group_2:hover > #edge_6 {
  77. animation: glowing 2s ease-in forwards;
  78. }
  79. .group_2:active > #edge_6 {
  80. animation: glowing 2s ease-in forwards;
  81. }
  82. .group_3:hover > #edge_7 {
  83. animation: glowing 2s ease-in forwards;
  84. }
  85. .group_3:active > #edge_7 {
  86. animation: glowing 2s ease-in forwards;
  87. }
  88. .group_3:hover > #edge_8 {
  89. animation: glowing 2s ease-in forwards;
  90. }
  91. .group_3:active > #edge_8 {
  92. animation: glowing 2s ease-in forwards;
  93. }
  94. .group_4:hover > #edge_9 {
  95. animation: glowing 2s ease-in forwards;
  96. }
  97. .group_4:active > #edge_9 {
  98. animation: glowing 2s ease-in forwards;
  99. }
  100. .group_5:hover > #edge_10 {
  101. animation: glowing 2s ease-in forwards;
  102. }
  103. .group_5:active > #edge_10 {
  104. animation: glowing 2s ease-in forwards;
  105. }
  106. @keyframes glowing {
  107. 0% {
  108. stroke: #8693AB;
  109. }
  110. 50% {
  111. stroke: #BDD4E7;
  112. }
  113. 100% {
  114. stroke: #8693AB;
  115. }
  116. }
  117. @media (min-width: 768px) {
  118. svg {
  119. max-height: 100vh;
  120. max-width: 65vw;
  121. }
  122. }