thumbnails.scss 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377
  1. header{
  2. display: none;
  3. }
  4. // thumbnails global
  5. .thumbnails{
  6. width: 100%;
  7. height: auto;
  8. background: white;
  9. margin: 0.5rem 0;
  10. @include shadow;
  11. figure{
  12. height: 150px;
  13. margin: 0;
  14. }
  15. .__wrap{
  16. padding: 1rem;
  17. & > .d-flex{
  18. margin-bottom: 0.5rem;
  19. }
  20. }
  21. // thumbnails publications
  22. &.publications{
  23. .__media{
  24. padding: 1rem 0 1rem 1rem;
  25. }
  26. @media screen and (min-width: 768px) {
  27. width: calc(100% / 2 - #{$gutter1} * 2);
  28. }
  29. @media screen and (min-width: 992px) {
  30. width: calc(100% / 3 - #{$gutter1} * 2);
  31. }
  32. @media screen and (min-width: 1200px) {
  33. width: calc(100% / 4 - #{$gutter1} * 2);
  34. }
  35. }
  36. }
  37. // thumbnails slides
  38. .__slide{
  39. .thumbnails{
  40. max-width: 380px;
  41. }
  42. }
  43. // Page programme
  44. .container{
  45. &.programme{
  46. .thumbnails{
  47. @media screen and (min-width: 768px) {
  48. width: calc(100% / 2 - #{$gutter1} * 2);
  49. margin: 0.5rem;
  50. }
  51. @media screen and (min-width: 992px) {
  52. width: calc(100% / 3 - #{$gutter1} * 2);
  53. }
  54. // @media screen and (min-width: 1200px) {
  55. // width: calc(100% / 4 - #{$gutter1} * 2);
  56. // }
  57. }
  58. }
  59. }
  60. // @media screen and (min-width: 992px) {
  61. // .programme{
  62. // .row{
  63. // margin: $gutter1 calc(-#{$gutter1});
  64. // }
  65. // .thumbnails{
  66. // width: calc( 50% - #{$gutter1} * 2);
  67. // margin: 0 $gutter1;
  68. // }
  69. // }
  70. // .thumbnails{
  71. // &.publications{
  72. // width: calc(100% / 4 - #{$gutter1} * 4);
  73. // }
  74. // }
  75. // }
  76. // .thumbnails{
  77. // margin: 1rem 0rem;
  78. // // max-width: 300px;
  79. // min-width: 250px;
  80. // height: auto;
  81. // width: calc(100% / 4 );
  82. // background: white;
  83. // transform: scale(1);
  84. // @include shadow;
  85. // a{
  86. // display: block;
  87. // height: 100%;
  88. // }
  89. // .__content{
  90. // margin-top: 1rem;
  91. // }
  92. // &.programme{
  93. // .__wrap{
  94. // padding: 1rem;
  95. // }
  96. // }
  97. // &.publications{
  98. // width: 100%;
  99. // .__media{
  100. // padding: 1rem;
  101. // figure{
  102. // height: 100%;
  103. // img{
  104. // width: 100%;
  105. // height: 100%;
  106. // object-fit: cover;
  107. // }
  108. // }
  109. // }
  110. // .__content{
  111. // margin: 1rem 1rem 1rem 0;
  112. // }
  113. // }
  114. // }
  115. //
  116. // .thumbnails{
  117. // figure{
  118. // height: 120px;
  119. // margin: 0;
  120. // img{
  121. // width: 100%;
  122. // height: 100%;
  123. // object-fit: cover;
  124. // }
  125. // }
  126. // }
  127. //
  128. // .programme{
  129. // .row{
  130. // margin: 0;
  131. // }
  132. // .thumbnails{
  133. // width: 100%;
  134. // margin: 0;
  135. // figure{
  136. // height: 150px;
  137. // }
  138. // }
  139. // }
  140. //
  141. //
  142. //
  143. //
  144. // .container {
  145. // &.programme{
  146. // .views{
  147. // section{
  148. // .row{
  149. // margin: 1rem 0;
  150. // }
  151. // }
  152. // }
  153. // .thumbnails{
  154. // width: 100%;
  155. // margin: 1rem 0;
  156. // }
  157. // }
  158. // @media screen and (min-width: 768px) {
  159. // &.programme{
  160. // .row{
  161. // .thumbnails{
  162. // width: calc( 50% - #{$gutter1} * 2);
  163. // // min-width: calc( 50% - #{$gutter1} * 2);
  164. // margin: 0 $gutter1;
  165. // }
  166. // }
  167. // }
  168. // }
  169. // @media screen and (min-width: 992px) {
  170. // &.programme{
  171. // .row{
  172. // .thumbnails{
  173. // width: calc( (100% / 3) - #{$gutter1} * 3);
  174. // // min-width: calc( 50% - #{$gutter1} * 2);
  175. // margin: 0 $gutter1;
  176. // }
  177. // }
  178. // }
  179. // }
  180. // @media screen and (min-width: 1200px) {
  181. // &.programme{
  182. // .row{
  183. // .thumbnails{
  184. // width: calc( (100% / 4) - #{$gutter1} * 4);
  185. // // min-width: calc( 50% - #{$gutter1} * 2);
  186. // margin: 0 $gutter1;
  187. // }
  188. // }
  189. // }
  190. // }
  191. //
  192. // .thumbnails_participants{
  193. // figure{
  194. // & > div{
  195. // width: 100px;
  196. // height: 100px;
  197. // margin-left: 0.5rem;
  198. //
  199. // img{
  200. // border-radius: 50%;
  201. // width: 100%;
  202. // height: 100%;
  203. // object-fit: cover;
  204. // }
  205. // }
  206. // figcaption{
  207. // &.__info{
  208. // padding: 4rem 0.5rem 0.5rem 0.5rem;
  209. // margin-top: -3rem;
  210. // background: white;
  211. // .__name{
  212. // text-transform: uppercase;
  213. // }
  214. // .__qualite{
  215. //
  216. // }
  217. // }
  218. // }
  219. // }
  220. // }
  221. //
  222. // article{
  223. // .__publications{
  224. // & > div{
  225. // article{
  226. // width: 100%;
  227. // @include shadow;
  228. // figure{
  229. // padding: 1rem;
  230. // .__media{
  231. // margin-right: 1rem;
  232. // }
  233. // figcaption {
  234. // width: 80%;
  235. // }
  236. // }
  237. // }
  238. // }
  239. // }
  240. // .__bibliographie{
  241. // & > div{
  242. // article{
  243. // width: 100%;
  244. // a{
  245. // & > div {
  246. // p, span, div{
  247. // display: inline;
  248. // background: white;
  249. // }
  250. // }
  251. // }
  252. // }
  253. // }
  254. // }
  255. // }
  256. //
  257. //
  258. // &.publications{
  259. // section{
  260. // article{
  261. // width: 100%;
  262. // @include shadow;
  263. // figure{
  264. // padding: 1rem;
  265. // .__media{
  266. // margin-right: 1rem;
  267. // }
  268. // figcaption {
  269. // width: 80%;
  270. // }
  271. // }
  272. // }
  273. // }
  274. // }
  275. // &.bilbiographie{
  276. // article{
  277. // width: 100%;
  278. // a{
  279. // & > div {
  280. // p, span, div{
  281. // display: inline;
  282. // background: white;
  283. // }
  284. // }
  285. // }
  286. // }
  287. // }
  288. // }
  289. //
  290. // @media screen and (min-width: 992px) {
  291. // article{
  292. // .__publications{
  293. // & > div{
  294. // margin: 0 calc(-#{$gutter1});
  295. // article{
  296. // width: calc( 50% - #{$gutter1} * 2);
  297. // margin: 0 $gutter1;
  298. // @include shadow;
  299. // figure{
  300. // padding: 1rem;
  301. // .__media{
  302. // margin-right: 1rem;
  303. // }
  304. // figcaption {
  305. // width: 80%;
  306. // }
  307. // }
  308. // }
  309. // }
  310. // }
  311. // .__bibliographie{
  312. // & > div{
  313. // margin: 0 calc(-#{$gutter1});
  314. // article{
  315. // width: calc( 100% / 3 - #{$gutter1} * 3);
  316. // margin: 0 $gutter1;
  317. // figure{
  318. // padding: 1rem;
  319. // .__media{
  320. // margin-right: 1rem;
  321. // }
  322. // figcaption {
  323. // width: 80%;
  324. // }
  325. // }
  326. // }
  327. // }
  328. // }
  329. // }
  330. //
  331. // .container {
  332. // &.publications{
  333. // section{
  334. // article{
  335. // width: calc( 50% - #{$gutter1} * 2);
  336. // margin: 0 $gutter1;
  337. // @include shadow;
  338. // figure{
  339. // padding: 1rem;
  340. // .__media{
  341. // margin-right: 1rem;
  342. // }
  343. // figcaption {
  344. // width: 80%;
  345. // }
  346. // }
  347. // }
  348. // }
  349. // .views{
  350. // &.__publications{
  351. // article{
  352. // width: calc( 25% - #{$gutter1} * 4);
  353. // }
  354. // }
  355. // }
  356. // }
  357. // &.bibliographie{
  358. // article{
  359. // width: calc( 100% / 3 - #{$gutter1} * 3);
  360. // margin: 0 $gutter1;
  361. // figure{
  362. // padding: 1rem;
  363. // .__media{
  364. // margin-right: 1rem;
  365. // }
  366. // figcaption {
  367. // width: 80%;
  368. // }
  369. // }
  370. // }
  371. // }
  372. // }
  373. // }