_section.scss 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  1. #start{
  2. margin-top: 40px;
  3. //home
  4. & > #items{
  5. & > .item{
  6. -webkit-box-pack: justify!important;
  7. -ms-flex-pack: justify!important;
  8. justify-content: space-between!important;
  9. }
  10. }
  11. .item{
  12. display: -webkit-box;
  13. display: -ms-flexbox;
  14. display: flex;
  15. -ms-flex-wrap: wrap;
  16. flex-wrap: wrap;
  17. -ms-flex-pack: distribute;
  18. justify-content: space-around;
  19. .card{
  20. position: relative;
  21. width: calc((100% / 3) - 3.5px);
  22. overflow-y: hidden;
  23. padding-bottom: 5px;
  24. &:nth-child(3n+2){
  25. margin: 0 5px;
  26. }
  27. .card-image:hover{
  28. -webkit-transition: all 0.6s;
  29. transition: all 0.6s;
  30. background-color: rgb(0, 255, 0);
  31. img{
  32. -webkit-transition: all .6s;
  33. transition: all .6s;
  34. mix-blend-mode: multiply;
  35. opacity: .95;
  36. }
  37. & ~ .card-title{
  38. top: 50%;
  39. left: 50%;
  40. opacity: 1;
  41. -webkit-transition: all 1s;
  42. transition: all 1s;
  43. }
  44. }
  45. .card-title{
  46. pointer-events: none;
  47. position: absolute;
  48. left: 50%;
  49. top: 50%;
  50. opacity: 0;
  51. -webkit-transition: all 1s;
  52. transition: all 1s;
  53. -webkit-transform: translate(-50% , -50%);
  54. transform: translate(-50% , -50%);
  55. text-align: center;
  56. }
  57. }
  58. }
  59. //pageprojet
  60. .content-item{
  61. .e-content{
  62. display: -webkit-box;
  63. display: -ms-flexbox;
  64. display: flex;
  65. height: 100%;
  66. }
  67. .media{
  68. width: calc((100% / 3) * 2);
  69. }
  70. .content{
  71. width: calc(100% / 3);
  72. min-width: 400px;
  73. height: calc(100vh - 40px);
  74. .txt{
  75. position: fixed;
  76. right: 0;
  77. width: calc(100% / 3);
  78. min-width: 400px;
  79. height: calc(100% - 90px);
  80. padding: 20px 30px 0px 30px;
  81. overflow-x: auto;
  82. h3{
  83. margin: 0px 0 10px 0;
  84. }
  85. }
  86. .taxonomy{
  87. width: calc(100% / 3);
  88. min-width: 400px;
  89. height: auto;
  90. background: white;
  91. position:fixed;
  92. bottom: 0;
  93. border-top: 2px solid black;
  94. span{
  95. display: -webkit-box;
  96. display: -ms-flexbox;
  97. display: flex;
  98. -ms-flex-wrap: wrap;
  99. flex-wrap: wrap;
  100. margin: auto 0;
  101. padding-bottom: 10px;
  102. a{
  103. margin: 10px 10px 0 10px;
  104. &:first-child{
  105. margin-left: 30px!important;
  106. }
  107. }
  108. }
  109. }
  110. }
  111. }
  112. //page news
  113. .news{
  114. width: calc(100% / 7 );
  115. min-width: 340px;
  116. height: auto;
  117. padding: 20px;
  118. h3{
  119. pointer-events: none;
  120. margin-bottom: 10px;
  121. }
  122. }
  123. .about{
  124. width: calc(100% / 3 );
  125. min-width: 400px;
  126. height: auto;
  127. padding: 20px;
  128. h3{
  129. pointer-events: none;
  130. margin-bottom: 10px;
  131. }
  132. }
  133. }