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.

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