_offresdeservices.scss 8.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180
  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. background: $white;
  47. }
  48. // grille offres
  49. .view-content{
  50. display: flex;
  51. flex-wrap: wrap;
  52. margin-top: 3rem;
  53. .views-row{
  54. width: 50%;
  55. .node-type-offre_de_service{
  56. // display: flex;
  57. // flex-direction: column;
  58. border: 2px solid $blue-light;
  59. padding: 1rem;
  60. height: fit-content;
  61. margin-bottom: 1rem;
  62. background-color: $white;
  63. margin-right: 1rem;
  64. height: 200px;
  65. div:first-of-type{
  66. display: grid;
  67. grid-template-columns: 1fr auto 1fr;
  68. grid-template-rows: repeat(6 auto);
  69. .field--name-field-type-de-protagoniste{
  70. grid-column: 1 / span 3;
  71. grid-row: 1;
  72. margin-bottom: 1rem;
  73. text-transform: uppercase;
  74. font-weight: 800;
  75. font-size: 00.8rem;
  76. }
  77. .field--name-field-photo{
  78. grid-column: 1;
  79. grid-row: 2 / span 6;
  80. margin-right: 1rem;
  81. max-height: 170px;
  82. img{
  83. max-width: 100%;
  84. object-fit: cover;
  85. height: auto;
  86. max-height: 95%;
  87. }
  88. }
  89. .field--name-field-prenom{
  90. grid-column: 2;
  91. grid-row: 2;
  92. padding-right: 0.5rem;
  93. text-transform: uppercase;
  94. font-weight: 800;
  95. font-size: 1rem;
  96. }
  97. .field--name-field-nom{
  98. grid-column: 3;
  99. grid-row: 2;
  100. text-transform: uppercase;
  101. font-weight: 800;
  102. font-size: 1rem;
  103. }
  104. .field--name-field-structure{
  105. grid-column: 2 / span 3;
  106. grid-row: 3;
  107. text-transform: uppercase;
  108. font-weight: 800;
  109. font-size: 0.8rem;
  110. }
  111. .field--name-title{
  112. grid-column: 2 / span 3;
  113. grid-row: 4;
  114. font-size: 1.3rem;
  115. a{
  116. color: $black;
  117. }
  118. }
  119. .field--name-field-localisation{
  120. grid-column: 2 / span 3;
  121. grid-row: 5;
  122. text-transform: uppercase;
  123. font-weight: 800;
  124. font-size: 00.8rem;
  125. }
  126. .field--name-field-date-de-proposition{
  127. display: inline-flex;
  128. grid-column: 2 / span 3;
  129. grid-row: 6;
  130. font-size: 0.8rem;
  131. padding-top: 1rem;
  132. justify-content: space-between;
  133. align-items: center;
  134. &::after{
  135. content: url("../images/pictos/noun_Arrow_3771902.svg");
  136. align-self: end;
  137. }
  138. }
  139. }
  140. }
  141. }
  142. }
  143. }
  144. }
  145. }
  146. }
  147. }
  148. }
  149. }