_section.scss 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  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. &:nth-child(3n+2){
  48. left: -2px;
  49. }
  50. &:nth-of-type(2){
  51. background: rgb(150, 150, 150);
  52. }
  53. &:nth-child(-n+3){
  54. padding: 0px 20px;
  55. }
  56. &:nth-child(3n+3){
  57. background: white;
  58. left: $L33;
  59. }
  60. &:nth-child(3n+4){
  61. background: white;
  62. right: -2px;
  63. }
  64. &:nth-child(n+5){
  65. top: $T50-25;
  66. margin-top: 2px;
  67. }
  68. &:nth-of-type(-n+3){
  69. & > div:nth-child(n+1){
  70. margin-bottom: 25px;
  71. }
  72. }
  73. }
  74. #links{
  75. canvas[resize] {
  76. width: 100vw;
  77. height: 100vh;
  78. }
  79. }
  80. #images{
  81. img{
  82. filter: grayscale(100%) contrast(1);
  83. transition: filter 0.5s;
  84. &:hover{
  85. filter: grayscale(0%);
  86. transition: filter 0.5s;
  87. }
  88. }
  89. }
  90. #reseaux-sociaux{
  91. svg{
  92. // width: 100vw;
  93. // height: 100vh;
  94. }
  95. }
  96. #streetmap{
  97. & > div:nth-of-type(1){
  98. height: 100%;
  99. }
  100. #mapid {
  101. width: 100vw;
  102. height: 100vh;
  103. .leaflet-marker-pane{
  104. img{
  105. transform: translate(-25px, -25px);
  106. }
  107. }
  108. }
  109. }
  110. }
  111. }