thumbnails.scss 4.1 KB

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