thumbnails.scss 3.4 KB

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