Нет описания
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

_blog.scss 8.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471
  1. /*------------------*
  2. # Blog Pages
  3. *------------------*/
  4. /* 10. Blog Section CSS */
  5. .blog-title {
  6. margin: 25px 0px 0px;
  7. .title {
  8. color: $color-dark;
  9. font-size: 34px;
  10. font-weight: fontweight(medium);
  11. line-height: 1;
  12. padding-bottom: 20px;
  13. margin-bottom: 20px;
  14. position: relative;
  15. display: block;
  16. border-bottom: 1px solid $border-color;
  17. text-transform: capitalize;
  18. &::before {
  19. content: "";
  20. position: absolute;
  21. left: 0;
  22. bottom: -1px;
  23. width: 60px;
  24. height: 2px;
  25. background: $theme-color;
  26. }
  27. }
  28. }
  29. /* blog left sidebar */
  30. .sidebar-widget .post-title {
  31. font-size: 20px;
  32. padding-bottom: 20px;
  33. margin-bottom: 20px;
  34. font-weight: fontweight(bold);
  35. position: relative;
  36. display: block;
  37. border-bottom: 1px solid $border-color;
  38. text-transform: capitalize;
  39. &::before {
  40. content: "";
  41. position: absolute;
  42. left: 0;
  43. bottom: -1px;
  44. width: 60px;
  45. height: 2px;
  46. background: $theme-color;
  47. }
  48. }
  49. .blog-search-form .form-control {
  50. height: 46px;
  51. border: 2px solid $theme-color;
  52. padding-right: 22%;
  53. @include max-screen(1200, 1500) {
  54. padding-right: 25%;
  55. }
  56. @include max-screen(992, 1199) {
  57. padding-right: 30%;
  58. }
  59. @include max-screen(768, 991) {
  60. padding-right: 10%;
  61. }
  62. @include max-screen(576, 767) {
  63. padding-right: 15%;
  64. }
  65. font-size: 14px;
  66. }
  67. .blog-media-list .sub-title {
  68. font-size: 14px;
  69. font-weight: fontweight(bold);
  70. }
  71. .post-thumb img {
  72. width: 90px;
  73. height: 90px;
  74. object-fit: cover;
  75. object-position: center;
  76. }
  77. .object-fit-none {
  78. object-fit: none;
  79. }
  80. .font-style-normal {
  81. font-style: normal !important;
  82. }
  83. .section-title.underline-shape {
  84. & h2 {
  85. font-weight: 700;
  86. font-size: 30px;
  87. }
  88. }
  89. .comment-section {
  90. margin-top: 30px;
  91. padding-top: 30px;
  92. border-top: 1px solid $border-color;
  93. }
  94. .comment-section .title {
  95. text-transform: capitalize;
  96. color: $color-dark;
  97. line-height: 24px;
  98. font-weight: fontweight(medium);
  99. font-size: 1.25rem;
  100. margin-bottom: 0.5rem;
  101. }
  102. .comment-section .sub-title {
  103. text-transform: capitalize;
  104. color: $color-dark;
  105. line-height: 24px;
  106. font-weight: fontweight(medium);
  107. font-size: 1.25rem;
  108. margin-bottom: 0.5rem;
  109. }
  110. .comment-section span {
  111. display: block;
  112. text-transform: capitalize;
  113. }
  114. .comment-section p {
  115. margin: 30px 0;
  116. font-size: 14px;
  117. }
  118. .reply {
  119. color: $color-dark;
  120. }
  121. .reply:hover {
  122. color: $theme-color;
  123. }
  124. .avatar {
  125. margin: 20px 0;
  126. }
  127. .section-title.underline-shape {
  128. position: relative;
  129. }
  130. .blog-post-media {
  131. overflow: hidden;
  132. margin-bottom: 20px;
  133. }
  134. .blog-image img {
  135. width: 100%;
  136. height: 300px;
  137. object-fit: cover;
  138. object-position: center;
  139. }
  140. .single-blog.blog-image img {
  141. height: auto;
  142. }
  143. .blog-post-media iframe {
  144. width: 100%;
  145. position: relative;
  146. height: 300px;
  147. }
  148. .blog-title {
  149. font-size: 30px;
  150. font-weight: 600;
  151. }
  152. .blog-title a:hover {
  153. color: $theme-color;
  154. }
  155. .blog-page-meta li a:hover {
  156. color: $theme-color;
  157. }
  158. .blog-page-meta li {
  159. display: inline-block;
  160. }
  161. .blog-page-meta li a {
  162. display: block;
  163. color: #565656;
  164. }
  165. .blog-page-meta li:first-child:after {
  166. position: absolute;
  167. top: 50%;
  168. right: -9px;
  169. left: auto;
  170. background: #555;
  171. content: "";
  172. width: 1px;
  173. height: 12px;
  174. margin-top: -6px;
  175. }
  176. .blog-page-meta li {
  177. display: inline-block;
  178. position: relative;
  179. }
  180. .blog-page-meta li:first-child {
  181. margin-right: 15px;
  182. }
  183. .blog-page-meta {
  184. margin: 10px 0;
  185. }
  186. .blog-post-content-inner p {
  187. margin: 20px 0;
  188. padding-top: 20px;
  189. border-top: 1px solid#ebebeb;
  190. }
  191. .blog-post-content-inner .read-more-btn:hover {
  192. color: $theme-color;
  193. padding-left: 5px;
  194. }
  195. .blog-gallery .slick-arrow i {
  196. font-size: 26px;
  197. color: #333;
  198. }
  199. .blog-gallery .slick-arrow {
  200. position: absolute;
  201. top: 50%;
  202. left: 0;
  203. -webkit-transform: translateY(-50%);
  204. -moz-transform: translateY(-50%);
  205. -ms-transform: translateY(-50%);
  206. -o-transform: translateY(-50%);
  207. transform: translateY(-50%);
  208. z-index: 99;
  209. opacity: 0;
  210. visibility: hidden;
  211. -webkit-transition: all 0.3s linear;
  212. -moz-transition: all 0.3s linear;
  213. -ms-transition: all 0.3s linear;
  214. -o-transition: all 0.3s linear;
  215. transition: all 0.3s linear;
  216. cursor: pointer;
  217. }
  218. .blog-gallery .slick-arrow.next {
  219. left: auto;
  220. right: 0;
  221. }
  222. .blog-gallery:hover .slick-arrow {
  223. visibility: visible;
  224. opacity: 1;
  225. left: 20px;
  226. }
  227. .blog-gallery:hover .slick-arrow.next {
  228. left: auto;
  229. right: 20px;
  230. }
  231. .blog-gallery .slick-slide img {
  232. width: 100%;
  233. height: 300px;
  234. object-fit: cover;
  235. object-position: center;
  236. }
  237. .single-post-content p {
  238. margin: 0 0 25px;
  239. }
  240. .single-post-content p.quate-speech {
  241. margin-left: 15px;
  242. @include min-screen(992) {
  243. margin-left: 60px;
  244. }
  245. padding: 10px 15px;
  246. line-height: 26px;
  247. font-style: italic;
  248. border-left: 3px solid$theme-color;
  249. }
  250. .tag-list li {
  251. display: inline-block;
  252. margin-left: 5px;
  253. color: $color-dark;
  254. }
  255. .tag-list li a {
  256. color: #565656;
  257. }
  258. .tag-list li a:hover {
  259. color: $theme-color;
  260. }
  261. .social li {
  262. display: inline-block;
  263. margin-left: 10px;
  264. font-size: 16px;
  265. color: $color-dark;
  266. }
  267. .social li a {
  268. color: #565656;
  269. }
  270. .social li a:hover {
  271. color: $theme-color;
  272. }
  273. span.title {
  274. font-weight: 700;
  275. color: $color-dark;
  276. }
  277. .blog-related-post .blog-title {
  278. font-size: 18px;
  279. @include max-screen(1024) {
  280. font-size: 18px;
  281. }
  282. }
  283. .blog-related-post {
  284. padding: 40px 0 30px 0;
  285. @include max-screen(767) {
  286. padding: 40px 0 0px 0;
  287. }
  288. border-top: 1px solid#ebebeb;
  289. border-bottom: 1px solid#ebebeb;
  290. }
  291. .blog-single-tags-share {
  292. margin-bottom: 35px;
  293. }
  294. .comment-area .review-content {
  295. padding: 30px;
  296. border: 1px solid #ebebeb;
  297. }
  298. .comment-area {
  299. margin-top: 35px;
  300. }
  301. .comment-heading {
  302. font-size: 24px;
  303. text-transform: capitalize;
  304. font-weight: 600;
  305. margin: 0 0 40px;
  306. }
  307. .blog-comment-form .comment-heading {
  308. margin: 0 0 10px;
  309. }
  310. .blog-comment-form p {
  311. margin: 0 0 30px;
  312. }
  313. .review-name {
  314. h4 {
  315. font-size: 18px;
  316. margin-bottom: 15px;
  317. }
  318. }
  319. .single-form input,
  320. .single-form textarea {
  321. padding: 2px 10px 2px 20px;
  322. background: transparent;
  323. border: 1px solid #e6e6e6;
  324. color: #333;
  325. }
  326. .single-form input {
  327. height: 45px;
  328. -webkit-box-shadow: none;
  329. box-shadow: none;
  330. padding-left: 10px;
  331. font-size: 14px;
  332. color: $color-dark;
  333. width: 100%;
  334. margin-bottom: 15px;
  335. outline: none;
  336. }
  337. .single-form textarea {
  338. height: 180px;
  339. padding: 20px 10px 2px 20px;
  340. margin-bottom: 20px;
  341. width: 100%;
  342. outline: none;
  343. }
  344. .single-form input[type="submit"] {
  345. padding: 0 55px !important;
  346. line-height: 48px;
  347. width: auto;
  348. height: 48px;
  349. font-size: 15px;
  350. font-weight: 600;
  351. border: none;
  352. box-shadow: none;
  353. text-transform: uppercase;
  354. background: $theme-color !important;
  355. color: #fff !important;
  356. transition: all 300ms linear;
  357. margin-top: 15px;
  358. margin-bottom: 0;
  359. }
  360. .single-form input[type="submit"]:hover {
  361. background: $color-dark !important;
  362. color: #fff !important;
  363. }
  364. .single-blog .blog-post-content-inner {
  365. padding: 30px 0 0;
  366. }
  367. .comment-area .single-review.child-review {
  368. margin-bottom: 70px;
  369. }
  370. .single-review .review-img {
  371. -webkit-box-flex: 0;
  372. -ms-flex: 0 0 90px;
  373. flex: 0 0 90px;
  374. margin: 0 15px 0 0;
  375. }
  376. .single-review {
  377. display: -webkit-box;
  378. display: -ms-flexbox;
  379. display: flex;
  380. margin: 0 0 50px;
  381. @include max-screen(767) {
  382. flex-direction: column;
  383. }
  384. }
  385. .single-review .review-img {
  386. -webkit-box-flex: 0;
  387. -ms-flex: 0 0 90px;
  388. flex: 0 0 90px;
  389. margin: 0 15px 0 0;
  390. @include max-screen(767) {
  391. margin-bottom: 30px;
  392. }
  393. }
  394. .single-review {
  395. img {
  396. max-width: 120px;
  397. }
  398. }
  399. .single-form {
  400. label {
  401. margin-bottom: 15px;
  402. }
  403. }
  404. .grid-view-list,
  405. .grid-view {
  406. .product-thumbnail {
  407. @include max-screen(767) {
  408. width: 100%;
  409. }
  410. a {
  411. display: block;
  412. .second-img {
  413. @include max-screen(767) {
  414. right: 0;
  415. }
  416. }
  417. }
  418. img {
  419. display: block;
  420. margin: 0 auto 20px;
  421. width: 100%;
  422. }
  423. }
  424. }
  425. .grid-view-list {
  426. .product-thumbnail {
  427. img {
  428. @include min-screen(767) {
  429. margin-bottom: 0;
  430. }
  431. }
  432. }
  433. }
  434. /********************************
  435. Blog Section End
  436. ********************************/