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.

76 lines
1.0 KiB

3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
  1. svg {
  2. max-height: 90vh;
  3. width: 100%;
  4. }
  5. .link {
  6. stroke: #000;
  7. stroke-width: 1.5px;
  8. }
  9. .node {
  10. cursor: move;
  11. stroke: #000;
  12. stroke-width: .07vw;
  13. fill-rule: evenodd;
  14. }
  15. .node.fixed {
  16. stroke: #30dfdf;
  17. stroke-width: .05vw;
  18. }
  19. /* box */
  20. div#box {
  21. position: absolute;
  22. pointer-events: none;
  23. top: 0px;
  24. right: 0px;
  25. }
  26. /* visibility box */
  27. div.box_off {
  28. visibility: hidden;
  29. pointer-events: none;
  30. }
  31. div.box_on {
  32. visibility: visible;
  33. pointer-events: all;
  34. }
  35. /* box content */
  36. div#box_content {
  37. position: relative;
  38. /* cursor: text; change to something cool */
  39. width: 50vw;
  40. height: 50vh;
  41. z-index: 1000;
  42. background: #000;
  43. opacity: 85%;
  44. border: solid .2vw #30dfdf;
  45. border-radius: 8px;
  46. font-family: Helvetica, sans-serif; /* change */
  47. font-size: 2vh;
  48. padding: 2vh 2vw;
  49. text-align: right;
  50. color: #fff;
  51. }
  52. /* !! somehow adjust screenwidth for desktop (in js */
  53. /* @media(min-width: 768px) {
  54. #mobile_network {
  55. display: none;
  56. }
  57. } */