thumbnails.scss 4.3 KB

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