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.

265 lines
3.4 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
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. cursor: pointer;
  20. }
  21. .nodes:active, .nodes:hover {
  22. animation: svg_pulse 2s ease-in-out forwards;
  23. }
  24. @keyframes svg_pulse {
  25. 0% {
  26. transform: scale(1);
  27. stroke: #8693AB;
  28. fill-opacity: 100%;
  29. }
  30. 20% {
  31. transform: scale(1.01);
  32. }
  33. 80% {
  34. transform: scale(1);
  35. stroke: #BDD4E7;
  36. }
  37. 80% {
  38. transform: scale(1.01);
  39. }
  40. 100% {
  41. transform: scale(1);
  42. stroke: #8693AB;
  43. fill-opacity: 100%;
  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_1:hover > #edge_11 {
  59. animation: glowing 2s ease-in forwards;
  60. }
  61. .group_1:active > #edge_11 {
  62. animation: glowing 2s ease-in forwards;
  63. }
  64. .group_2:hover > #edge_3 {
  65. animation: glowing 2s ease-in forwards;
  66. }
  67. .group_2:active > #edge_3 {
  68. animation: glowing 2s ease-in forwards;
  69. }
  70. .group_2:hover > #edge_4 {
  71. animation: glowing 2s ease-in forwards;
  72. }
  73. .group_2:active > #edge_4 {
  74. animation: glowing 2s ease-in forwards;
  75. }
  76. .group_2:hover > #edge_5 {
  77. animation: glowing 2s ease-in forwards;
  78. }
  79. .group_2:active > #edge_5 {
  80. animation: glowing 2s ease-in forwards;
  81. }
  82. .group_2:hover > #edge_6 {
  83. animation: glowing 2s ease-in forwards;
  84. }
  85. .group_2:active > #edge_6 {
  86. animation: glowing 2s ease-in forwards;
  87. }
  88. .group_3:hover > #edge_7 {
  89. animation: glowing 2s ease-in forwards;
  90. }
  91. .group_3:active > #edge_7 {
  92. animation: glowing 2s ease-in forwards;
  93. }
  94. .group_3:hover > #edge_8 {
  95. animation: glowing 2s ease-in forwards;
  96. }
  97. .group_3:active > #edge_8 {
  98. animation: glowing 2s ease-in forwards;
  99. }
  100. .group_3:hover > #edge_10 {
  101. animation: glowing 2s ease-in forwards;
  102. }
  103. .group_3:active > #edge_10 {
  104. animation: glowing 2s ease-in forwards;
  105. }
  106. .group_4:hover > #edge_9 {
  107. animation: glowing 2s ease-in forwards;
  108. }
  109. .group_4:active > #edge_9 {
  110. animation: glowing 2s ease-in forwards;
  111. }
  112. .group_5:hover > #edge_10 {
  113. animation: glowing 2s ease-in forwards;
  114. }
  115. .group_5:active > #edge_10 {
  116. animation: glowing 2s ease-in forwards;
  117. }
  118. @keyframes glowing {
  119. 0% {
  120. stroke: #8693AB;
  121. }
  122. 50% {
  123. stroke: #BDD4E7;
  124. }
  125. 100% {
  126. stroke: #8693AB;
  127. }
  128. }
  129. @media (min-width: 0 ) {
  130. #tablet {
  131. display: none;
  132. }
  133. }
  134. @media (min-width: 768px) {
  135. svg {
  136. max-height: 70vh;
  137. width: 100vw;
  138. }
  139. #mobile {
  140. display: none;
  141. }
  142. #tablet {
  143. display: block;
  144. }
  145. }
  146. @media (min-width: 768px) {
  147. svg {
  148. max-height: 70vh;
  149. width: 100vw;
  150. }
  151. }
  152. @media (min-width: 1000px) {
  153. svg {
  154. max-height: 75vh;
  155. width: 55vw;
  156. margin-left: 7.5vw;
  157. }
  158. }
  159. @media (min-height: 1070px) {
  160. svg {
  161. max-height: 64vh;
  162. }
  163. }
  164. @media (min-height: 840px) and (max-width: 768px) {
  165. svg {
  166. max-height: 90vh;
  167. top: 20vh;
  168. }
  169. }