_section.scss 2.3 KB

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