_blog.scss 8.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435
  1. .blog-one {
  2. padding: 120px 0;
  3. &__single {
  4. position: relative;
  5. margin-bottom: 30px;
  6. &:hover {
  7. .blog-one__more-link {
  8. color: #fff;
  9. opacity: 1;
  10. }
  11. .blog-one__image>img {
  12. opacity: 0.5;
  13. }
  14. .blog-one__content {
  15. box-shadow: 0px 20px 20px 0px rgba(0, 0, 0, 0.03);
  16. }
  17. }
  18. }
  19. &__image {
  20. position: relative;
  21. background-color: $thm-black;
  22. border-top-left-radius: 5px;
  23. border-top-right-radius: 5px;
  24. >img {
  25. border-top-left-radius: 5px;
  26. border-top-right-radius: 5px;
  27. width: 100%;
  28. transition: all .4s ease;
  29. }
  30. }
  31. &__content {
  32. border-style: solid;
  33. border-width: 1px;
  34. border-color: rgb(239, 239, 239);
  35. background-color: rgb(255, 255, 255);
  36. border-top: 0;
  37. transition: all .4s ease;
  38. border-bottom-left-radius: 5px;
  39. border-bottom-right-radius: 5px;
  40. padding: 0 50px;
  41. padding-top: 45px;
  42. padding-bottom: 40px;
  43. }
  44. &__meta {
  45. margin: 0;
  46. display: flex;
  47. align-items: center;
  48. li {
  49. display: flex;
  50. align-items: center;
  51. line-height: 1em;
  52. +li {
  53. &:before {
  54. content: '.';
  55. color: #74727a;
  56. font-size: 14px;
  57. font-weight: 400;
  58. margin-left: 10px;
  59. margin-right: 10px;
  60. }
  61. }
  62. a {
  63. color: #74727a;
  64. font-size: 14px;
  65. font-weight: 400;
  66. transition: all .4s ease;
  67. &:hover {
  68. color: $thm-base-color;
  69. }
  70. }
  71. }
  72. }
  73. &__title {
  74. font-weight: 500;
  75. font-size: 24px;
  76. line-height: 36px;
  77. color: $thm-black;
  78. margin: 0;
  79. margin-top: 5px;
  80. margin-bottom: 15px;
  81. a {
  82. color: inherit;
  83. transition: all .4s ease;
  84. &:hover {
  85. color: $thm-base-color;
  86. }
  87. }
  88. }
  89. &__link {
  90. color: #ff4eb5;
  91. font-size: 14px;
  92. font-weight: 500;
  93. line-height: 1em;
  94. text-transform: uppercase;
  95. letter-spacing: .2em;
  96. transition: all .4s ease;
  97. &:hover {
  98. color: $thm-black;
  99. }
  100. }
  101. &__more-link {
  102. font-size: 33px;
  103. color: #fff;
  104. position: absolute;
  105. top: 50%;
  106. left: 50%;
  107. transform: translate(-50%, -50%);
  108. opacity: 0;
  109. transition: color .4s ease, opacity .4s ease;
  110. }
  111. .post-pagination {
  112. margin-top: 40px;
  113. }
  114. }
  115. .blog-details {
  116. padding: 120px 0;
  117. .blog-one__single {
  118. margin-bottom: 0;
  119. }
  120. .blog-one__title {
  121. font-size: 30px;
  122. font-weight: 500;
  123. line-height: 1.2em;
  124. margin-bottom: 28px;
  125. }
  126. .blog-one__content {
  127. padding-left: 50px;
  128. padding-right: 50px;
  129. border-radius: 0;
  130. box-shadow: none !important;
  131. }
  132. .blog-one__text {
  133. margin-bottom: 0;
  134. font-size: 16px;
  135. line-height: 34px;
  136. }
  137. .blog-one__text+.blog-one__text {
  138. margin-top: 30px;
  139. }
  140. &__content-title {
  141. margin: 0;
  142. color: $thm-black;
  143. font-size: 30px;
  144. font-weight: 500;
  145. margin-bottom: 40px;
  146. }
  147. .share-block {
  148. display: flex;
  149. align-items: center;
  150. justify-content: space-between;
  151. padding: 50px;
  152. border: 1px solid #efefef;
  153. border-top: 0;
  154. border-bottom-left-radius: 5px;
  155. border-bottom-right-radius: 5px;
  156. .left-block {
  157. p {
  158. margin: 0;
  159. color: $thm-black;
  160. font-size: 24px;
  161. font-weight: 400;
  162. a {
  163. color: $thm-text-color;
  164. font-size: 16px;
  165. font-weight: 400;
  166. transition: all .4s ease;
  167. margin-left: 5px;
  168. letter-spacing: 0;
  169. &:hover {
  170. color: $thm-black;
  171. }
  172. }
  173. }
  174. }
  175. .social-block {
  176. display: flex;
  177. align-items: center;
  178. a {
  179. width: 56px;
  180. height: 56px;
  181. border-radius: 50%;
  182. background-color: $thm-base-color;
  183. text-align: center;
  184. line-height: 56px;
  185. color: #fff;
  186. background-size: 200% auto;
  187. font-size: 18px;
  188. transition: all .4s ease;
  189. +a {
  190. margin-left: 10px;
  191. }
  192. &:hover {
  193. background-position: right center;
  194. }
  195. &.fa-facebook-square {
  196. background-image: linear-gradient(40deg, rgb(255, 169, 92) 0%, rgb(255, 67, 192) 51%, rgb(255, 169, 92) 100%);
  197. }
  198. &.fa-twitter {
  199. background-image: linear-gradient(40deg, rgb(13, 184, 255) 0%, rgb(243, 50, 255) 51%, rgb(13, 184, 255) 100%);
  200. }
  201. &.fa-instagram {
  202. background-image: linear-gradient(40deg, rgb(57, 174, 255) 0%, rgb(60, 255, 83) 51%, rgb(57, 174, 255) 100%);
  203. }
  204. &.fa-pinterest-p {
  205. background-image: linear-gradient(40deg, rgb(255, 112, 62) 0%, rgb(255, 236, 78) 51%, rgb(255, 112, 62) 100%);
  206. }
  207. }
  208. }
  209. }
  210. &__author {
  211. border: 1px solid #efefef;
  212. padding: 60px 60px;
  213. margin-top: 50px;
  214. margin-bottom: 60px;
  215. border-radius: 5px;
  216. &-image,
  217. &-content {
  218. display: table-cell;
  219. vertical-align: top;
  220. }
  221. &-image {
  222. width: 169px;
  223. >img {
  224. width: 100%;
  225. border-radius: 5px;
  226. }
  227. }
  228. &-content {
  229. padding-left: 40px;
  230. h3,
  231. p {
  232. margin: 0;
  233. }
  234. h3 {
  235. color: $thm-black;
  236. font-size: 20px;
  237. margin-bottom: 20px;
  238. font-weight: 500;
  239. }
  240. p {
  241. font-size: 16px;
  242. line-height: 30px;
  243. color: $thm-text-color;
  244. margin-bottom: 0px;
  245. }
  246. a {
  247. font-size: 16px;
  248. font-weight: 400;
  249. line-height: 34px;
  250. color: $thm-base-color;
  251. transition: all .4s ease;
  252. &:hover {
  253. color: $thm-black;
  254. }
  255. }
  256. }
  257. }
  258. }
  259. .comment-one {
  260. margin-bottom: 60px;
  261. &__single {
  262. border-bottom: 1px solid #efefef;
  263. padding-bottom: 50px;
  264. }
  265. &__single+&__single {
  266. margin-top: 60px;
  267. }
  268. &__image,
  269. &__content {
  270. display: table-cell;
  271. vertical-align: top;
  272. }
  273. &__image {
  274. width: 90px;
  275. .inner-block {
  276. width: 100%;
  277. border-radius: 50%;
  278. overflow: hidden;
  279. >img {
  280. width: 100%;
  281. }
  282. }
  283. }
  284. &__content {
  285. padding-left: 40px;
  286. }
  287. &__author {
  288. margin: 0;
  289. font-size: 20px;
  290. font-weight: 500;
  291. color: $thm-black;
  292. }
  293. &__date {
  294. color: $thm-base-color;
  295. font-size: 16px;
  296. font-weight: 400;
  297. line-height: 1em;
  298. margin: 0;
  299. margin-top: 15px;
  300. margin-bottom: 25px;
  301. }
  302. &__date-sep {
  303. display: inline-block;
  304. vertical-align: middle;
  305. margin-left: 12px;
  306. margin-right: 12px;
  307. }
  308. &__text {
  309. color: $thm-text-color;
  310. font-size: 16px;
  311. line-height: 34px;
  312. margin: 0;
  313. }
  314. &__reply {
  315. padding: 8px 30px;
  316. }
  317. &__top-left,
  318. &__top-right {
  319. display: table-cell;
  320. vertical-align: top;
  321. }
  322. }
  323. .reply-form {
  324. input,
  325. textarea {
  326. border: none;
  327. outline: none;
  328. width: 100%;
  329. display: block;
  330. height: 70px;
  331. color: $thm-text-color;
  332. font-size: 16px;
  333. padding-left: 30px;
  334. border-style: solid;
  335. border-width: 1px;
  336. border-color: rgb(239, 239, 239);
  337. border-radius: 5px;
  338. background-color: rgb(254, 251, 244);
  339. margin-bottom: 30px;
  340. @include placeholder() {
  341. color: $thm-text-color;
  342. }
  343. }
  344. textarea {
  345. height: 232px;
  346. padding-top: 20px;
  347. }
  348. &__btn {}
  349. }
  350. .blog-one__home {
  351. padding-bottom: 90px;
  352. }