_section.scss 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226
  1. .full{
  2. z-index: 999;
  3. position: fixed;
  4. top: 0;
  5. left: 0;
  6. width: 100%;
  7. height: 100%;
  8. overflow: hidden;
  9. & > div{
  10. z-index: 999;
  11. position: absolute;
  12. width: 100%;
  13. top: 100px;
  14. text-align: center;
  15. & > p{
  16. display: inline-block;
  17. a{
  18. color: lime;
  19. font-weight: bold;
  20. text-decoration: underline;
  21. margin: 0 10px;
  22. &::after{
  23. background: none;
  24. }
  25. }
  26. }
  27. }
  28. & > img{
  29. position: absolute;
  30. top: 0;
  31. left: 0;
  32. width: 100%;
  33. height: 100%;
  34. object-fit: cover;
  35. }
  36. }
  37. #start{
  38. margin-top: 40px;
  39. //home
  40. .item{
  41. display: -webkit-box;
  42. display: -ms-flexbox;
  43. display: flex;
  44. -ms-flex-wrap: wrap;
  45. flex-wrap: wrap;
  46. -ms-flex-pack: distribute;
  47. .card{
  48. position: relative;
  49. width: calc((100% / 3) - 3.5px);
  50. overflow-y: hidden;
  51. padding-bottom: 5px;
  52. &:nth-child(3n+2){
  53. margin: 0 5px;
  54. }
  55. .card-image{
  56. filter: grayscale(100%);
  57. -webkit-filter: grayscale(100%);
  58. -moz-filter: grayscale(100%);
  59. -ms-filter: grayscale(100%);
  60. -o-filter: grayscale(100%);
  61. -webkit-transition: all 1s ease;
  62. transition: all 1s ease;
  63. }
  64. .card-subtitle{
  65. a{
  66. padding: 0px 7px;
  67. background-color: rgba(0, 255, 0,0.5);
  68. }
  69. }
  70. .card-image:hover{
  71. filter: grayscale(0%);
  72. -webkit-filter: grayscale(0%);
  73. -moz-filter: grayscale(0%);
  74. -ms-filter: grayscale(0%);
  75. -o-filter: grayscale(0%);
  76. -webkit-transition: all 1s ease;
  77. transition: all 1s ease;
  78. img{
  79. -webkit-transition: all .6s;
  80. transition: all .6s;
  81. mix-blend-mode: multiply;
  82. opacity: .95;
  83. }
  84. & ~ .card-title{
  85. top: 50%;
  86. left: 50%;
  87. opacity: 1;
  88. -webkit-transition: all 1s;
  89. transition: all 1s;
  90. }
  91. }
  92. .card-title{
  93. pointer-events: none;
  94. position: absolute;
  95. left: 50%;
  96. top: 50%;
  97. opacity: 0;
  98. -webkit-transition: all 1s;
  99. transition: all 1s;
  100. -webkit-transform: translate(-50% , -50%);
  101. transform: translate(-50% , -50%);
  102. text-align: center;
  103. }
  104. }
  105. }
  106. //pageprojet
  107. .content-item{
  108. .e-content{
  109. display: -webkit-box;
  110. display: -ms-flexbox;
  111. display: flex;
  112. height: 100%;
  113. }
  114. .media{
  115. width: calc((100% / 3) * 2);
  116. img:not(:last-child){
  117. margin-bottom: 5px;
  118. }
  119. .grav-vimeo{
  120. position: relative;
  121. padding-bottom: 56.25%;
  122. height: 0;
  123. overflow: hidden;
  124. padding-top: 0!important;
  125. max-width: 100%;
  126. height: auto;
  127. iframe, object, embed{
  128. position: absolute;
  129. top: 0;
  130. left: 0;
  131. width: 100%;
  132. height: 100%;
  133. }
  134. }
  135. video{
  136. width: 100%;
  137. height: auto;
  138. }
  139. }
  140. .content{
  141. width: calc(100% / 3);
  142. min-width: 400px;
  143. height: calc(100vh - 40px);
  144. .txt{
  145. position: fixed;
  146. right: 0;
  147. width: calc(100% / 3);
  148. min-width: 400px;
  149. height: calc(100% - 90px);
  150. padding: 20px 30px 0px 30px;
  151. overflow-x: auto;
  152. &::-webkit-scrollbar {
  153. width: 12px;
  154. }
  155. /* Track */
  156. &::-webkit-scrollbar-track {
  157. -webkit-box-shadow: inset 0 0 6px white;
  158. border-radius: 10px;
  159. }
  160. /* Handle */
  161. &::-webkit-scrollbar-thumb {
  162. border-radius: 10px;
  163. background: white;
  164. -webkit-box-shadow: inset 0 0 0px white;
  165. }
  166. h3{
  167. margin: 0px 0 10px 0;
  168. }
  169. }
  170. .taxonomy{
  171. width: calc(100% / 3);
  172. min-width: 400px;
  173. height: auto;
  174. background: white;
  175. position:fixed;
  176. bottom: 0;
  177. border-top: 2px solid black;
  178. .tags{
  179. display: -webkit-box;
  180. display: -ms-flexbox;
  181. display: flex;
  182. -ms-flex-wrap: wrap;
  183. flex-wrap: wrap;
  184. margin: auto 0;
  185. padding-bottom: 10px;
  186. a{
  187. margin: 10px 10px 0 10px;
  188. &:first-child{
  189. margin-left: 30px!important;
  190. }
  191. }
  192. }
  193. }
  194. }
  195. }
  196. //page news
  197. .e-content.news,
  198. .e-content.publications{
  199. display: inline-flex;
  200. width: 100%;
  201. flex-wrap: wrap;
  202. }
  203. .news{
  204. width: calc(100% / 5 );
  205. min-width: 340px;
  206. height: auto;
  207. padding: 20px;
  208. h3{
  209. pointer-events: none;
  210. margin-bottom: 10px;
  211. }
  212. }
  213. .about{
  214. width: calc(100% / 3 );
  215. min-width: 400px;
  216. height: auto;
  217. padding: 20px;
  218. h3{
  219. pointer-events: none;
  220. margin-bottom: 10px;
  221. }
  222. }
  223. }