inject.less 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189
  1. .inject{
  2. display: flex;
  3. margin-bottom: 25px;
  4. width: 100%;
  5. .illustration{
  6. width: 250px;
  7. min-width: 250px;
  8. display: flex;
  9. align-items: center;
  10. margin-right: 30px;
  11. .picture-cont-16x9{
  12. margin: 0;
  13. }
  14. }
  15. .meta{
  16. border-top: 1px solid #eeeeee;
  17. border-bottom: 1px solid #eee;
  18. padding: 20px 20px 20px 0;
  19. .title{
  20. line-height: 24px;
  21. margin: 0;
  22. a{
  23. color: #222;
  24. font: 700 22px "Golos Text",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Ubuntu,Arial,sans-serif;
  25. }
  26. }
  27. }
  28. @media(max-width: @size-mobile){
  29. flex-wrap: wrap;
  30. border-top: 1px solid #eeeeee;
  31. border-bottom: 1px solid #eee;
  32. .illustration{
  33. width: 100%;
  34. min-width: 100%;
  35. margin-right: 0;
  36. padding-top:20px;
  37. }
  38. .meta{
  39. border-top: none;
  40. border-bottom: none;
  41. padding: 20px 0 20px 0;
  42. .title{
  43. a{
  44. font-size: 18px;
  45. }
  46. }
  47. }
  48. }
  49. }
  50. .inject1{
  51. display: block;
  52. margin-bottom: 5px;
  53. width: 320px;
  54. min-width: 320px;
  55. float:left;
  56. clear:both;
  57. padding-top: 13px;
  58. margin-right: 20px;
  59. .illustration{
  60. width: 100%;
  61. min-width: 320px;
  62. display: flex;
  63. padding-top: 10px;
  64. border-top: 3px solid #eeeeee;
  65. .picture-cont-16x9{
  66. margin: 0;
  67. }
  68. }
  69. .meta{
  70. border-bottom: 1px solid #eee;
  71. padding: 14px 14px 15px 0;
  72. .title{
  73. line-height: 22px;
  74. margin: 0;
  75. a{
  76. color: #222;
  77. font: 600 20px "Golos Text",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Ubuntu,Arial,sans-serif;
  78. }
  79. p{
  80. font-size: 14px;
  81. color: #888;
  82. font-weight: normal;
  83. margin-top:5px;
  84. }
  85. }
  86. }
  87. @media(max-width: @size-mobile){
  88. flex-wrap: wrap;
  89. border-top: 1px solid #eeeeee;
  90. border-bottom: 1px solid #eee;
  91. float:none;
  92. margin-right: 0px;
  93. .illustration{
  94. width: 100%;
  95. min-width: 100%;
  96. margin-right: 0;
  97. padding-top:20px;
  98. }
  99. .meta{
  100. border-top: none;
  101. border-bottom: none;
  102. padding: 20px 0 20px 0;
  103. .title{
  104. a{
  105. font-size: 18px;
  106. }
  107. }
  108. }
  109. }
  110. }
  111. .inject2{
  112. z-index: 1;
  113. text-align: left;
  114. display: flex;
  115. align-items: flex-end;
  116. justify-content: flex-start;
  117. align-content: flex-end;
  118. flex-wrap: wrap;
  119. overflow: hidden;
  120. position: relative;
  121. margin-bottom:30px;
  122. .illustration{
  123. width: 100%;
  124. min-width: 600px;
  125. display: flex;
  126. padding-top: 10px;
  127. border-top: 3px solid #eeeeee;
  128. .picture-cont-16x9{
  129. margin: 0;
  130. filter: brightness(0.6);
  131. }
  132. }
  133. .meta{
  134. position: absolute;
  135. bottom: 0;
  136. left: 0;
  137. color: #fff;
  138. padding: 0 30px;
  139. border-bottom: 1px solid #eee;
  140. .title{
  141. line-height: 30px;
  142. margin-bottom: 10px;
  143. a{
  144. color: #fff;
  145. font: 700 28px/32px "Golos Text",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Ubuntu,Arial,sans-serif;
  146. }
  147. }
  148. .breadcrumbs{
  149. a{
  150. color: #fffefe8c;
  151. font: 400 12px "Golos Text",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Ubuntu,Arial,sans-serif;
  152. }
  153. }
  154. .lead{
  155. font-size: 16px;
  156. line-height: 150%;
  157. padding-bottom: 15px;
  158. color: hsla(0,0%,100%,.8);
  159. }
  160. }
  161. @media(max-width: @size-mobile){
  162. flex-wrap: wrap;
  163. border-top: 1px solid #eeeeee;
  164. border-bottom: 1px solid #eee;
  165. margin-bottom: 5px;
  166. .illustration{
  167. width: 100%;
  168. min-width: 100%;
  169. margin-right: 0;
  170. padding-top:20px;
  171. }
  172. .breadcrumbs, .lead{
  173. display:none;
  174. }
  175. .meta{
  176. position:relative;
  177. border-top: none;
  178. border-bottom: none;
  179. padding: 0;
  180. .title{
  181. font: 700 22px "Golos Text",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Ubuntu,Arial,sans-serif;
  182. a{
  183. color: #222;
  184. font-size: 18px;
  185. }
  186. }
  187. }
  188. }
  189. }