thumbnails.scss 4.2 KB

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