_section.scss 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. body{
  2. overflow: hidden;
  3. background:rgb(230, 230, 230);
  4. }
  5. #page{
  6. height: 100%;
  7. .navbar{
  8. width: 100%;
  9. height: 50px;
  10. }
  11. #start{
  12. width: 100%;
  13. height: calc(100% - 50px);
  14. position: relative;
  15. .handler{
  16. width: 50px;
  17. height: 50px;
  18. border-radius: 25px;
  19. position: absolute;
  20. top: 50%;
  21. z-index: 999;
  22. cursor: grab;
  23. }
  24. .hand1{
  25. left : calc((100%/3));
  26. margin-left: -26px;
  27. margin-top: -24px;
  28. }
  29. .hand2{
  30. left: calc((100%/3) * 2);
  31. margin-left: -25px;
  32. margin-top: -24px;
  33. img{
  34. margin-left: 1px;
  35. }
  36. }
  37. .mouseDown{
  38. cursor: grabbing;
  39. }
  40. .blocs{
  41. position: absolute;
  42. overflow-y: auto;
  43. margin: 0;
  44. width: $W33;
  45. min-width: 200px;
  46. height: $H50-25;
  47. z-index: 998;
  48. &:nth-child(3n+2){
  49. left: -2px;
  50. }
  51. &:nth-of-type(2){
  52. background: rgb(150, 150, 150);
  53. }
  54. &:nth-child(-n+3){
  55. padding: 0px 20px;
  56. }
  57. &:nth-child(3n+3){
  58. background: white;
  59. left: $L33;
  60. }
  61. &:nth-child(3n+4){
  62. background: white;
  63. right: -2px;
  64. }
  65. &:nth-child(n+5){
  66. top: $T50-25;
  67. margin-top: 2px;
  68. }
  69. &:nth-of-type(-n+3){
  70. & > div:nth-child(n+1){
  71. margin-bottom: 25px;
  72. }
  73. }
  74. }
  75. #reseaux-sociaux{
  76. canvas[resize] {
  77. width: 100vw;
  78. height: 100vh;
  79. }
  80. }
  81. #images{
  82. img{
  83. filter: grayscale(100%) contrast(1);
  84. transition: filter 0.5s;
  85. &:hover{
  86. filter: grayscale(0%);
  87. transition: filter 0.5s;
  88. }
  89. }
  90. }
  91. #links{
  92. z-index: 997!important;
  93. display: flex;
  94. svg{
  95. position: fixed;
  96. top: -33%;
  97. left: -55%;
  98. }
  99. }
  100. #streetmap{
  101. #mapid{
  102. filter: grayscale(100%) contrast(1);
  103. }
  104. & > div:nth-of-type(1){
  105. height: 100%;
  106. }
  107. #mapid {
  108. width: 100vw;
  109. height: 100vh;
  110. .leaflet-marker-pane{
  111. transform: translate(-25px, -25px);
  112. }
  113. }
  114. }
  115. }
  116. }