_start.scss 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. #start{
  2. section{
  3. position: relative;
  4. margin-top: -10px;
  5. margin-bottom: 100px;
  6. padding-top: 5px;
  7. & > h2, & > h3{
  8. text-align: center;
  9. }
  10. h3{
  11. width: 100%;
  12. }
  13. }
  14. h2{
  15. text-align: center;
  16. width: 350px;
  17. background: white;
  18. z-index: 1;
  19. margin: auto;
  20. margin-top: -35px;
  21. }
  22. .filet{
  23. z-index: -1;
  24. width: auto;
  25. height: 2px;
  26. background: black;
  27. }
  28. #home{
  29. width: 60%;
  30. margin: 0 auto 100px auto;
  31. }
  32. #metier{
  33. background: #bd9a8428;
  34. display: inline-flex;
  35. flex-wrap: wrap;
  36. justify-content: space-around;
  37. .block{
  38. width: 35%;
  39. min-width: 350px;
  40. &:nth-of-type(n+3){
  41. position: relative;
  42. .title{
  43. position: absolute;
  44. z-index: 1;
  45. transform: rotate(-35deg);
  46. background: red;
  47. }
  48. .img{
  49. height: auto;
  50. position: relative;
  51. .content{
  52. position: absolute;
  53. top: 0;
  54. left: 0;
  55. display: none;
  56. height: 100%;
  57. background: #0f265cff;
  58. opacity: 0.9;
  59. p,ul,li{
  60. color: white;
  61. }
  62. }
  63. &:hover{
  64. .content{
  65. display: block;
  66. }
  67. }
  68. }
  69. }
  70. }
  71. }
  72. #référence{
  73. background: #fff59b8c;
  74. }
  75. #contact{
  76. display: inline-flex;
  77. width: 100%;
  78. p{
  79. &:nth-of-type(1){
  80. width: 60%;
  81. }
  82. &:nth-of-type(2){
  83. width: 40%;
  84. }
  85. }
  86. .block{
  87. display: none;
  88. }
  89. }
  90. }