thumbnails.scss 5.4 KB

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