_offresdeservices.scss 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178
  1. .offresdeservices{
  2. .layout-content{
  3. .region-content{
  4. #block-contenudelapageprincipale{
  5. span{
  6. padding-top: 3rem;
  7. padding-bottom: 3rem;
  8. vertical-align: middle;
  9. color: $white;
  10. h2{
  11. margin: 0;
  12. padding-top: 2rem;
  13. height: 4rem;
  14. background: $blue-light;
  15. font-family: "Source Code Pro";
  16. text-transform: uppercase;
  17. padding-left: 13%;
  18. }
  19. }
  20. .layout--onecol{
  21. .block-region-content{
  22. background: url('../images/pictos/carre-contour-bleu_programme.svg');
  23. background-repeat: no-repeat;
  24. // background-position-y: 20vh;
  25. max-width: 100vw;
  26. background-size: cover;
  27. // texte présentation
  28. .block-config-pages-block{
  29. margin: 2rem;
  30. margin-top: 4rem;
  31. .field--name-field-introduction{
  32. width: 65%;
  33. margin: auto;
  34. background: $white;
  35. }
  36. }
  37. .block-views-blockoffres-de--block-1{
  38. .view-display-id-block_1{
  39. width: 65%;
  40. margin: auto;
  41. }
  42. // bandeau filtes
  43. .view-filters{
  44. }
  45. // grille offres
  46. .view-content{
  47. display: flex;
  48. flex-wrap: wrap;
  49. margin-top: 3rem;
  50. .views-row{
  51. width: 50%;
  52. .node-type-offre_de_service{
  53. // display: flex;
  54. // flex-direction: column;
  55. border: 2px solid $blue-light;
  56. padding: 1rem;
  57. height: fit-content;
  58. margin-bottom: 1rem;
  59. background-color: $white;
  60. margin-right: 1rem;
  61. height: 200px;
  62. div:first-of-type{
  63. display: grid;
  64. grid-template-columns: 1fr auto 1fr;
  65. grid-template-rows: repeat(6 auto);
  66. .field--name-field-type-de-protagoniste{
  67. grid-column: 1 / span 3;
  68. grid-row: 1;
  69. margin-bottom: 1rem;
  70. text-transform: uppercase;
  71. font-weight: 800;
  72. font-size: 00.8rem;
  73. }
  74. .field--name-field-photo{
  75. grid-column: 1;
  76. grid-row: 2 / span 6;
  77. margin-right: 1rem;
  78. max-height: 170px;
  79. img{
  80. max-width: 100%;
  81. object-fit: cover;
  82. height: auto;
  83. max-height: 95%;
  84. }
  85. }
  86. .field--name-field-prenom{
  87. grid-column: 2;
  88. grid-row: 2;
  89. padding-right: 0.5rem;
  90. text-transform: uppercase;
  91. font-weight: 800;
  92. font-size: 1rem;
  93. }
  94. .field--name-field-nom{
  95. grid-column: 3;
  96. grid-row: 2;
  97. text-transform: uppercase;
  98. font-weight: 800;
  99. font-size: 1rem;
  100. }
  101. .field--name-field-structure{
  102. grid-column: 2 / span 3;
  103. grid-row: 3;
  104. text-transform: uppercase;
  105. font-weight: 800;
  106. font-size: 0.8rem;
  107. }
  108. .field--name-title{
  109. grid-column: 2 / span 3;
  110. grid-row: 4;
  111. font-size: 1.3rem;
  112. a{
  113. color: $black;
  114. }
  115. }
  116. .field--name-field-localisation{
  117. grid-column: 2 / span 3;
  118. grid-row: 5;
  119. text-transform: uppercase;
  120. font-weight: 800;
  121. font-size: 00.8rem;
  122. }
  123. .field--name-field-date-de-proposition{
  124. display: inline-flex;
  125. grid-column: 2 / span 3;
  126. grid-row: 6;
  127. font-size: 0.8rem;
  128. padding-top: 1rem;
  129. justify-content: space-between;
  130. align-items: center;
  131. &::after{
  132. content: url("../images/pictos/noun_Arrow_3771902.svg");
  133. align-self: end;
  134. }
  135. }
  136. }
  137. }
  138. }
  139. }
  140. }
  141. }
  142. }
  143. }
  144. }
  145. }
  146. }