thumbnails.scss 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157
  1. header{
  2. display: none;
  3. }
  4. // thumbnails global
  5. .thumbnails{
  6. width: 100%;
  7. height: auto;
  8. background: white;
  9. margin: $gutter1;
  10. &:not(.bibliographie){
  11. @include shadow;
  12. }
  13. figure{
  14. height: 150px;
  15. margin: 0;
  16. }
  17. .__wrap{
  18. padding: 1rem;
  19. & > .d-flex{
  20. margin-bottom: 0.5rem;
  21. }
  22. }
  23. // thumbnails publications
  24. &.publications{
  25. @media screen and (min-width: 768px) {
  26. width: calc(100% / 2 - #{$gutter1} * 2);
  27. }
  28. @media screen and (min-width: 992px) {
  29. width: calc(100% / 3 - #{$gutter1} * 2);
  30. }
  31. @media screen and (min-width: 1200px) {
  32. width: calc(100% / 4 - #{$gutter1} * 2);
  33. }
  34. .__media{
  35. padding: 0.5rem 0 0.5rem 0.5rem;
  36. }
  37. .__wrap{
  38. padding: 0.5rem;
  39. }
  40. }
  41. &.bibliographie{
  42. @media screen and (min-width: 768px) {
  43. width: calc(100% / 2 - #{$gutter1} * 2);
  44. }
  45. @media screen and (min-width: 992px) {
  46. width: calc(100% / 3 - #{$gutter1} * 2);
  47. }
  48. @media screen and (min-width: 1200px) {
  49. width: calc(100% / 4 - #{$gutter1} * 2);
  50. }
  51. a{
  52. & > div * {
  53. display: inline;
  54. background: white;
  55. color: $color2;
  56. }
  57. }
  58. }
  59. }
  60. // thumbnails slides
  61. .__slide{
  62. .thumbnails{
  63. max-width: 380px;
  64. @media screen and (min-width: 768px) {
  65. width: calc(100% / 2 - #{$gutter1} * 2);
  66. }
  67. @media screen and (min-width: 992px) {
  68. width: calc(100% / 3 - #{$gutter1} * 2);
  69. }
  70. @media screen and (min-width: 1200px) {
  71. width: calc(100% / 4 - #{$gutter1} * 2);
  72. }
  73. }
  74. }
  75. // Page programme
  76. .container{
  77. &.programme{
  78. .thumbnails{
  79. @media screen and (min-width: 768px) {
  80. width: calc(100% / 2 - #{$gutter1} * 2);
  81. margin: 0.5rem;
  82. }
  83. @media screen and (min-width: 992px) {
  84. width: calc(100% / 3 - #{$gutter1} * 2);
  85. }
  86. // @media screen and (min-width: 1200px) {
  87. // width: calc(100% / 4 - #{$gutter1} * 2);
  88. // }
  89. }
  90. }
  91. }
  92. // page moment
  93. .__ressources{
  94. .__publications{
  95. .publications{
  96. .__media{
  97. padding: 0.5rem 0 0.5rem 0.5rem;
  98. }
  99. .__wrap{
  100. padding: 0.5rem;
  101. }
  102. @media screen and (min-width: 768px) {
  103. width: calc(100% / 2 - #{$gutter1});
  104. }
  105. @media screen and (min-width: 992px) {
  106. width: calc(100% / 2 - #{$gutter1});
  107. }
  108. @media screen and (min-width: 1200px) {
  109. width: calc(100% / 2 - #{$gutter1});
  110. }
  111. }
  112. }
  113. .__bibliographie{
  114. .thumbnails{
  115. background: transparent;
  116. a{
  117. & > div{
  118. div, span, p{
  119. display: inline;
  120. background: white;
  121. }
  122. }
  123. }
  124. }
  125. }
  126. }
  127. // thumbnails participant
  128. .thumbnails_participants{
  129. figure{
  130. & > div{
  131. width: 100px;
  132. height: 100px;
  133. margin-left: 0.5rem;
  134. img{
  135. border-radius: 50%;
  136. width: 100%;
  137. height: 100%;
  138. object-fit: cover;
  139. }
  140. }
  141. figcaption{
  142. &.__info{
  143. padding: 4rem 0.5rem 0.5rem 0.5rem;
  144. margin-top: -3rem;
  145. background: white;
  146. .__name{
  147. text-transform: uppercase;
  148. }
  149. }
  150. }
  151. }
  152. }