thumbnails.scss 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295
  1. // thumbnails global
  2. section {
  3. article.thumbnails.programme {
  4. // border: 1px solid $lightgrey;
  5. overflow: hidden;
  6. &:hover{
  7. border: none;
  8. @include shadow;
  9. }
  10. // ///////////////// à enlever quand images
  11. // .__img{
  12. // display: none;
  13. // }
  14. // //////////////////////////////
  15. .d-flex{
  16. color: $color_orange;
  17. }
  18. .__content {
  19. span {
  20. color: $color2024 !important;
  21. font-size: 0.8rem;
  22. font-family: "Marianneregular_italic";
  23. text-transform: none !important;
  24. strong {
  25. font-family: "Mariannebold_italic";
  26. }
  27. }
  28. }
  29. }
  30. & > div:not(.__slide) {
  31. article.thumbnails.programme {
  32. a {
  33. display: block;
  34. width: 100%;
  35. height: 100%;
  36. background: white;
  37. @include shadow;
  38. }
  39. }
  40. }
  41. }
  42. .thumbnails {
  43. width: 100%;
  44. height: auto;
  45. background: white;
  46. border: 1px solid $lightgrey;
  47. margin: calc(#{$gutter}) 0;
  48. @media screen and (min-width: 768px) {
  49. margin: calc(#{$gutter});
  50. }
  51. &:not(.bibliographie):not(.programme) {
  52. @include shadow;
  53. }
  54. figure {
  55. height: 150px;
  56. margin: 0;
  57. }
  58. .__wrap {
  59. padding: 1rem;
  60. time,
  61. .type_moment {
  62. font-family: "Marianneregular";
  63. font-size: 0.8rem;
  64. text-transform: uppercase;
  65. }
  66. & > .d-flex {
  67. margin-bottom: 0.5rem;
  68. }
  69. }
  70. // thumbnails publications
  71. &.publications {
  72. @media screen and (min-width: 768px) {
  73. width: calc(100% / 2 - #{$gutter} * 2);
  74. }
  75. @media screen and (min-width: 992px) {
  76. width: calc(100% / 3 - #{$gutter} * 2);
  77. }
  78. @media screen and (min-width: 1200px) {
  79. width: calc(100% / 4 - #{$gutter} * 2);
  80. }
  81. .__media {
  82. padding: 0.5rem 0 0.5rem 0.5rem;
  83. .__img {
  84. width: 100px;
  85. }
  86. }
  87. .__wrap {
  88. padding: 0.5rem;
  89. }
  90. & > div {
  91. height: 100%;
  92. }
  93. div > * {
  94. color: $col_black;
  95. }
  96. a {
  97. display: block;
  98. height: 100%;
  99. }
  100. }
  101. &.bibliographie {
  102. background: white !important;
  103. padding: 0.5rem;
  104. &.link_ext {
  105. @include shadow;
  106. }
  107. @media screen and (min-width: 768px) {
  108. width: calc(100% / 2 - #{$gutter} * 2);
  109. }
  110. @media screen and (min-width: 992px) {
  111. width: calc(100% / 3 - #{$gutter} * 2);
  112. }
  113. @media screen and (min-width: 1200px) {
  114. width: calc(100% / 4 - #{$gutter} * 2);
  115. }
  116. & > div * {
  117. color: $col_black;
  118. &.__auteur * {
  119. font-size: 1.4rem;
  120. }
  121. &.__body {
  122. margin: 1rem 0;
  123. }
  124. }
  125. a {
  126. text-decoration: underline;
  127. color: $color2024;
  128. }
  129. }
  130. &.interviews {
  131. @media screen and (min-width: 768px) {
  132. width: calc(100% / 2 - #{$gutter} * 2);
  133. }
  134. @media screen and (min-width: 992px) {
  135. width: calc(100% / 3 - #{$gutter} * 2);
  136. }
  137. @media screen and (min-width: 1200px) {
  138. width: calc(100% / 4 - #{$gutter} * 2);
  139. }
  140. .__media {
  141. padding: 0.5rem 0 0.5rem 0.5rem;
  142. max-width: 50%;
  143. .__img {
  144. width: 100px;
  145. }
  146. }
  147. .__wrap {
  148. padding: 0.5rem;
  149. }
  150. & > div {
  151. height: 100%;
  152. }
  153. div > * {
  154. color: $col_black;
  155. }
  156. a {
  157. display: block;
  158. height: 100%;
  159. }
  160. }
  161. }
  162. // Page programme
  163. .container {
  164. &.programme {
  165. .thumbnails {
  166. height: 325px !important;
  167. @media screen and (min-width: 768px) {
  168. width: calc(100% / 2 - #{$gutter} * 2);
  169. margin: 0.5rem;
  170. }
  171. @media screen and (min-width: 992px) {
  172. width: calc(100% / 3 - #{$gutter} * 2);
  173. }
  174. .inter {
  175. margin-top: 0.5rem;
  176. span {
  177. color: $color2024;
  178. font-size: 0.8rem;
  179. font-family: "Marianneregular_italic";
  180. text-transform: none !important;
  181. strong {
  182. font-family: "Mariannebold_italic";
  183. }
  184. }
  185. }
  186. }
  187. }
  188. }
  189. // page moment
  190. .__ressources {
  191. .__publications {
  192. .publications {
  193. // margin: $gutter;
  194. .__media {
  195. padding: 0.5rem 0 0.5rem 0.5rem;
  196. }
  197. .__wrap {
  198. padding: 0.5rem;
  199. }
  200. @media screen and (min-width: 768px) {
  201. width: calc(100% / 2 - #{$gutter} * 2);
  202. }
  203. @media screen and (min-width: 992px) {
  204. width: calc(100% / 2 - #{$gutter} * 2);
  205. }
  206. @media screen and (min-width: 1200px) {
  207. width: calc(100% / 2 - #{$gutter} * 2);
  208. }
  209. }
  210. }
  211. .__bibliographie {
  212. .thumbnails {
  213. background: transparent;
  214. a {
  215. & > div {
  216. div,
  217. span,
  218. p {
  219. display: inline;
  220. background: white;
  221. }
  222. }
  223. }
  224. @media screen and (min-width: 768px) {
  225. width: calc(100% / 2 - #{$gutter} * 2);
  226. }
  227. @media screen and (min-width: 992px) {
  228. width: calc(100% / 2 - #{$gutter} * 2);
  229. }
  230. @media screen and (min-width: 1200px) {
  231. width: calc(100% / 2 - #{$gutter} * 2);
  232. }
  233. }
  234. }
  235. .__interviews {
  236. .interviews {
  237. // margin: $gutter;
  238. .__media {
  239. padding: 0.5rem 0 0.5rem 0.5rem;
  240. }
  241. .__wrap {
  242. padding: 0.5rem;
  243. }
  244. @media screen and (min-width: 768px) {
  245. width: calc(100% / 2 - #{$gutter} * 2);
  246. }
  247. @media screen and (min-width: 992px) {
  248. width: calc(100% / 2 - #{$gutter} * 2);
  249. }
  250. @media screen and (min-width: 1200px) {
  251. width: calc(100% / 2 - #{$gutter} * 2);
  252. }
  253. }
  254. }
  255. }
  256. // thumbnails participant
  257. .thumbnails_participants {
  258. figure {
  259. & > div {
  260. width: 100px;
  261. height: 100px;
  262. margin-left: 0.5rem;
  263. img {
  264. border-radius: 50%;
  265. width: 100%;
  266. height: 100%;
  267. object-fit: cover;
  268. }
  269. }
  270. figcaption {
  271. border: 1px solid $color2024;
  272. &.__info {
  273. padding: 4rem 0.5rem 0.5rem 0.5rem;
  274. margin-top: -3rem;
  275. background: white;
  276. .__name {
  277. text-transform: uppercase;
  278. color: $col_black !important;
  279. }
  280. }
  281. }
  282. }
  283. }