_offresdeservices.scss 8.3 KB

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