thumbnails.scss 5.7 KB

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