thumbnails.scss 3.9 KB

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