thumbnails.scss 5.8 KB

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