_section.scss 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158
  1. body{
  2. overflow: hidden;
  3. }
  4. section{
  5. position: absolute;
  6. left: $header-width;
  7. width: auto;
  8. .content{
  9. display: flex;
  10. width: 100%;
  11. height: 100vh;
  12. p{
  13. margin: 1rem 0;
  14. }
  15. h2 ~ p{
  16. margin-bottom: 0!important;
  17. }
  18. h2 + p, h3 +p{
  19. margin: 0!important;
  20. }
  21. a{
  22. text-decoration: underline;
  23. &::after{
  24. @include background-nav-content;
  25. @include background-link('../images/fleche.svg');
  26. transition: all 1s;
  27. }
  28. &:hover{
  29. &::after{
  30. transition: all 1s;
  31. margin: auto 0px 1px 10px;
  32. }
  33. }
  34. }
  35. & > div:not(#recherche-artistique){
  36. filter: blur(5px);
  37. transition: all 2s;
  38. color: grey;
  39. }
  40. & > .net{
  41. filter: blur(0px)!important;
  42. transition: filter 0.5s!important;
  43. color: black!important;
  44. }
  45. & > div{
  46. overflow-y: auto;
  47. // width: $column-width;
  48. width: calc(50vw - 10rem);
  49. // min-width:$header-width;
  50. // max-width: $header-width * 3;
  51. h3:first-of-type{
  52. padding-top: 0px!important;
  53. }
  54. }
  55. & > div:not(#recherche-artistique){
  56. padding: 0 20px;
  57. }
  58. img{
  59. width: 100%;
  60. height: auto;
  61. }
  62. }
  63. #recherche-artistique.net > div:first-child{
  64. filter: blur(0px)!important;
  65. transition: filter 0.5s!important;
  66. color: black!important;
  67. }
  68. #recherche-artistique{
  69. display: inline-flex;
  70. width: 200rem;
  71. // width: calc(100% - 20rem);
  72. // min-width:$header-width *3;
  73. // max-width: $header-width * 9;
  74. & > .net{
  75. filter: blur(0px)!important;
  76. transition: filter 0.5s!important;
  77. color: black!important;
  78. }
  79. & > div{
  80. filter: blur(5px);
  81. transition: filter 2s;
  82. color: grey;
  83. overflow-y: auto;
  84. padding: 0 20px;
  85. }
  86. #commentaire-philosophe{
  87. ul{
  88. & > li{
  89. & > ul{
  90. max-height: 0;
  91. visibility: hidden;
  92. transition: all 0.5s;
  93. opacity: 0;
  94. & > li{
  95. &::before{
  96. @include background-nav-b('../images/point.svg');
  97. @include background-nav-content;
  98. }
  99. & > ol{
  100. max-height: 0;
  101. visibility: hidden;
  102. transition: all 0.5s;
  103. opacity: 0;
  104. & > li{
  105. // margin: -8px 0;
  106. // color: transparent;
  107. // transition: color 1s;
  108. &::before{
  109. // visibility: visible!important;
  110. @include background-nav-b('../images/point.svg');
  111. @include background-nav-content;
  112. }
  113. }
  114. }
  115. }
  116. }
  117. &:hover{
  118. & > ul{
  119. max-height: 300px;
  120. visibility: visible;
  121. transition: all 1s;
  122. opacity: 1;
  123. margin-left: 30px;
  124. & > li{
  125. &:hover{
  126. & > ol{
  127. max-height: 300px;
  128. visibility: visible;
  129. transition: all 1s;
  130. opacity: 1;
  131. margin-left: 30px;
  132. & > li{
  133. // &:hover{
  134. // color: black;
  135. // transition: color 1s;
  136. // }
  137. }
  138. }
  139. }
  140. }
  141. }
  142. }
  143. }
  144. }
  145. }
  146. }
  147. }
  148. .mCSB_container{
  149. padding-bottom: 20px;
  150. }