_offresdeservices.scss 8.3 KB

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