thumbnails.scss 4.2 KB

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