_section.scss 1.8 KB

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