_home.scss 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203
  1. .home-page-layout-content{
  2. .layout--onecol{
  3. width: 90%;
  4. margin: auto;
  5. font-size: 1.3rem;
  6. font-weight: 400;
  7. font-style: normal;
  8. h4{
  9. font-size: 5rem;
  10. font-weight: normal;
  11. margin: 0;
  12. @media(max-width: 891px){
  13. font-size: 4rem;
  14. }
  15. @media(max-width: 520px){
  16. font-size: 3rem;
  17. }
  18. }
  19. h5{
  20. font-size: 5rem;
  21. font-weight: 900;
  22. margin: 0;
  23. line-height: 0.6;
  24. @media(max-width: 891px){
  25. font-size: 4rem;
  26. line-height: 0.9;
  27. }
  28. @media(max-width: 520px){
  29. font-size: 3rem;
  30. }
  31. }
  32. img{
  33. height: auto;
  34. padding-top: 2rem ;
  35. padding-bottom: 2rem ;
  36. }
  37. .block-region-content{
  38. display: grid;
  39. grid-column: repeat(2, 1fr);
  40. @media(max-width: 891px){
  41. display: flex;
  42. flex-direction: column;
  43. }
  44. .block-views-blockhome-block-1{
  45. grid-column: 1 /span 2;
  46. grid-row: 1;
  47. margin-bottom: 2rem;
  48. @media(max-width: 500px){
  49. img{
  50. width: -moz-available;
  51. }
  52. }
  53. }
  54. // block Appel à candidature
  55. .block-block-content5ae07b35-3c0b-48f5-b51b-f0f0e4c1765f{
  56. /////////////// arrêt canndidatures phase 1
  57. display: none !important;
  58. ///////////////
  59. grid-column: 1;
  60. grid-row: 2 /span 2;
  61. width: 80%;
  62. border: solid $yellow-puca 1px;
  63. background-color: $white-button;
  64. font-weight: 800;
  65. padding: 2rem;
  66. margin-right: 1rem;
  67. @media(max-width: 891px){
  68. margin-bottom: 1rem;
  69. // margin: auto;
  70. }
  71. h2{
  72. margin-top: 0;
  73. margin-bottom: 0;
  74. text-transform: lowercase;
  75. font-weight: 900;
  76. line-height: 1rem;
  77. font-size:1.8rem ;
  78. }
  79. .field--name-field-description{
  80. margin-top: 0;
  81. font-size: 2.3rem !important;
  82. line-height: 2.2rem;
  83. p{
  84. margin-top: 0.8rem;
  85. }
  86. }
  87. .field--type-link{
  88. padding: 0;
  89. margin: 0;
  90. border: none;
  91. font-weight: 400;
  92. background-color: inherit;
  93. .field__item {
  94. ::after{
  95. justify-self: unset;
  96. padding-left: 1rem;
  97. content: url(../images/noun-arrow-1569918.svg);
  98. }
  99. }
  100. }
  101. }
  102. .block-block-content5ae07b35-3c0b-48f5-b51b-f0f0e4c1765f:hover{
  103. background-color: $yellow-puca;
  104. .field--type-link{
  105. .field__item {
  106. ::after{
  107. justify-self: unset;
  108. padding-left: 1rem;
  109. content: url(../images/noun-arrow-1569918_hover.svg);
  110. }
  111. }
  112. }
  113. }
  114. /// block télécharger le cahier des charges
  115. .block-block-content08189a6a-2ca1-42c3-a780-d7ad0c65619d{
  116. /////////////// arrêt canndidatures phase 1
  117. display: none !important;
  118. ///////////////
  119. margin-bottom: 1rem;
  120. grid-column: 2;
  121. grid-row: 2;
  122. width: 90%;
  123. // height: fit-content;
  124. display: flex;
  125. justify-content: flex-end;
  126. align-items: center;
  127. @media(max-width: 891px){
  128. width: 90%;
  129. }
  130. @media(max-width: 520px){
  131. width: 100%;
  132. }
  133. .field--type-file{
  134. width: 100%;
  135. margin: 0;
  136. @media(max-width: 891px){
  137. width: 100%;
  138. }
  139. }
  140. :hover{
  141. background-color: $yellow-puca;
  142. }
  143. }
  144. /// block télécharger la fiche candidature
  145. .block-block-content259faa3e-f66e-4776-9f4e-9a3aa26e8252{
  146. /////////////// arrêt canndidatures phase 1
  147. display: none !important;
  148. ///////////////
  149. grid-column: 2;
  150. grid-row: 3;
  151. width: 90%;
  152. display: flex;
  153. justify-content: flex-end;
  154. align-items: center;
  155. @media(max-width: 891px){
  156. width: 90%;
  157. }
  158. @media(max-width: 520px){
  159. width: 100%;
  160. }
  161. .field--type-file{
  162. width: 100%;
  163. margin: 0;
  164. @media(max-width: 891px){
  165. width: 100%;
  166. }
  167. }
  168. :hover{
  169. background-color: $yellow-puca;
  170. }
  171. }
  172. .block-views-blockhome-block-2{
  173. grid-column: 1 /span 2;
  174. grid-row: 4;
  175. margin-top: 2rem;
  176. }
  177. }
  178. }
  179. }