_offresdeservices.scss 8.5 KB

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