_themes.scss 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174
  1. .page-node-type-theme, .page-node-type-projet{
  2. //tmp hidden
  3. .block-region-first{
  4. visibility: hidden;
  5. }
  6. .block-region-third{
  7. margin-top: 30rem;
  8. }
  9. #node\:title:before{
  10. clear: both;
  11. display: block;
  12. width: 100%;
  13. font-size: $font-small;
  14. text-transform: uppercase;
  15. margin-bottom: .8rem;
  16. }
  17. ///
  18. .field_programme{
  19. display: inline-block;
  20. background: gray;
  21. margin-bottom: 1rem;
  22. color: white;
  23. font-weight: 600;
  24. padding: .3rem .5rem;
  25. a{
  26. text-decoration: none;
  27. }
  28. }
  29. &.programme-1{
  30. .field_programme{
  31. background: $col-1;
  32. }
  33. }
  34. &.programme-2{
  35. .field_programme{
  36. background: $col-2;
  37. }
  38. }
  39. &.programme-3{
  40. .field_programme{
  41. background: $col-eur;
  42. }
  43. }
  44. &.programme-4{
  45. .field_programme{
  46. background: $col-met;
  47. }
  48. }
  49. &.programme-5{
  50. .field_programme{
  51. background: $col-mond;
  52. }
  53. }
  54. &.programme-6{
  55. .field_programme{
  56. background: $col-ter;
  57. }
  58. }
  59. &.programme-7{
  60. .field_programme{
  61. background: $col-met;
  62. }
  63. }
  64. ///
  65. #node\:title{
  66. margin: 0;
  67. font-size: $font-large;
  68. line-height: 1.3;
  69. font-weight: 600;
  70. margin-bottom: 1rem;
  71. }
  72. #node\:field_image,.field_diaporama{
  73. width: 150%;
  74. margin-bottom: 1rem;
  75. img{
  76. width: 100%;
  77. }
  78. }
  79. .block-region-bottom{
  80. #node\:field_projets_lies{
  81. h2{
  82. text-align: center;
  83. }
  84. .field_projets_lies{
  85. display: grid;
  86. grid-template-columns: repeat(5, 1fr);
  87. column-gap: 1rem;
  88. padding: 0 10%;
  89. }
  90. article{
  91. .body{
  92. display: none;
  93. }
  94. }
  95. }
  96. }
  97. //équipe tmp
  98. #node\:field_equipes{
  99. .field_equipes{
  100. .paragraph{
  101. display: grid;
  102. .field_membres{
  103. grid-row: 2;
  104. >div:first-child{
  105. display: none;
  106. }
  107. .paragraph{
  108. display: block !important;
  109. .field_nom{
  110. display: inline-block;
  111. width: auto;
  112. >div:first-child{
  113. display: none;
  114. }
  115. div:nth-of-type(2){
  116. display: inline-block;
  117. width: auto;
  118. }
  119. }
  120. .field_prenom{
  121. display: inline-block;
  122. >div:first-child{
  123. display: none;
  124. }
  125. div:nth-of-type(2){
  126. display: inline-block;
  127. width: auto;
  128. }
  129. }
  130. .field_fonction{
  131. >div:first-child{
  132. display: none;
  133. }
  134. }
  135. margin-bottom: 1rem;
  136. }
  137. margin-bottom: 1rem;
  138. }
  139. .field_type_equipe{
  140. grid-row: 1;
  141. font-weight: 600;
  142. font-size: $font-medium;
  143. margin-bottom: .5rem;
  144. div:first-child{
  145. display: none;
  146. }
  147. }
  148. }
  149. }
  150. }
  151. }
  152. .page-node-type-projet{
  153. #node\:title:before{
  154. content: "ville";
  155. }
  156. }
  157. .page-node-type-theme{
  158. #node\:title:before{
  159. content: "théme";
  160. }
  161. }