thumbnails.scss 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206
  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, .type_moment{
  46. font-family: 'truenoregular';
  47. font-size: 0.8rem;
  48. text-transform: uppercase;
  49. }
  50. & > .d-flex{
  51. margin-bottom: 0.5rem;
  52. }
  53. }
  54. // thumbnails publications
  55. &.publications{
  56. @media screen and (min-width: 768px) {
  57. width: calc(100% / 2 - #{$gutter} * 2);
  58. }
  59. @media screen and (min-width: 992px) {
  60. width: calc(100% / 3 - #{$gutter} * 2);
  61. }
  62. @media screen and (min-width: 1200px) {
  63. width: calc(100% / 4 - #{$gutter} * 2);
  64. }
  65. .__media{
  66. padding: 0.5rem 0 0.5rem 0.5rem;
  67. }
  68. .__wrap{
  69. padding: 0.5rem;
  70. }
  71. div > *{
  72. color:$color2;
  73. }
  74. }
  75. &.bibliographie{
  76. background: white!important;
  77. padding: 0.5rem;
  78. &.link_ext{
  79. @include shadow;
  80. }
  81. @media screen and (min-width: 768px) {
  82. width: calc(100% / 2 - #{$gutter} * 2);
  83. }
  84. @media screen and (min-width: 992px) {
  85. width: calc(100% / 3 - #{$gutter} * 2);
  86. }
  87. @media screen and (min-width: 1200px) {
  88. width: calc(100% / 4 - #{$gutter} * 2);
  89. }
  90. & > div * {
  91. color: $color2;
  92. &.__auteur *{
  93. font-size: 1.4rem;
  94. }
  95. &.__body{
  96. margin:1rem 0;
  97. }
  98. }
  99. a{
  100. text-decoration: underline;
  101. color: $color1;
  102. }
  103. }
  104. }
  105. // Page programme
  106. .container{
  107. &.programme{
  108. .thumbnails{
  109. @media screen and (min-width: 768px) {
  110. width: calc(100% / 2 - #{$gutter} * 2);
  111. margin: 0.5rem;
  112. }
  113. @media screen and (min-width: 992px) {
  114. width: calc(100% / 3 - #{$gutter} * 2);
  115. }
  116. .inter{
  117. margin-top: 0.5rem;
  118. span{
  119. color: $color2;
  120. font-size: 0.8rem;
  121. font-family: 'truenoregular_italic';
  122. text-transform: none!important;
  123. strong{
  124. font-family: 'truenobold_italic';
  125. }
  126. }
  127. }
  128. }
  129. }
  130. }
  131. // page moment
  132. .__ressources{
  133. .__publications{
  134. .publications{
  135. // margin: $gutter;
  136. .__media{
  137. padding: 0.5rem 0 0.5rem 0.5rem;
  138. }
  139. .__wrap{
  140. padding: 0.5rem;
  141. }
  142. @media screen and (min-width: 768px) {
  143. width: calc(100% / 2 - #{$gutter} * 2);
  144. }
  145. @media screen and (min-width: 992px) {
  146. width: calc(100% / 2 - #{$gutter} * 2);
  147. }
  148. @media screen and (min-width: 1200px) {
  149. width: calc(100% / 2 - #{$gutter} * 2);
  150. }
  151. }
  152. }
  153. .__bibliographie{
  154. .thumbnails{
  155. background: transparent;
  156. a{
  157. & > div{
  158. div, span, p{
  159. display: inline;
  160. background: white;
  161. }
  162. }
  163. }
  164. @media screen and (min-width: 768px) {
  165. width: calc(100% / 2 - #{$gutter} * 2);
  166. }
  167. @media screen and (min-width: 992px) {
  168. width: calc(100% / 2 - #{$gutter} * 2);
  169. }
  170. @media screen and (min-width: 1200px) {
  171. width: calc(100% / 2 - #{$gutter} * 2);
  172. }
  173. }
  174. }
  175. }
  176. // thumbnails participant
  177. .thumbnails_participants{
  178. figure{
  179. & > div{
  180. width: 100px;
  181. height: 100px;
  182. margin-left: 0.5rem;
  183. img{
  184. border-radius: 50%;
  185. width: 100%;
  186. height: 100%;
  187. object-fit: cover;
  188. }
  189. }
  190. figcaption{
  191. &.__info{
  192. padding: 4rem 0.5rem 0.5rem 0.5rem;
  193. margin-top: -3rem;
  194. background: white;
  195. .__name{
  196. text-transform: uppercase;
  197. }
  198. }
  199. }
  200. }
  201. }