暫無描述
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

_post_details.scss 2.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  1. /*--------------------------------------------------------------
  2. 23. Post Details
  3. ----------------------------------------------------------------*/
  4. .cs_post_details_meta {
  5. display: flex;
  6. flex-wrap: wrap;
  7. margin-bottom: 10px;
  8. > span {
  9. position: relative;
  10. &:not(:last-child) {
  11. padding-right: 14px;
  12. margin-right: 14px;
  13. &::after {
  14. content: '';
  15. height: 12px;
  16. width: 1px;
  17. background-color: #5e5e5e;
  18. opacity: 0.2;
  19. position: absolute;
  20. right: 0;
  21. top: 5px;
  22. }
  23. }
  24. }
  25. }
  26. .cs_post_details {
  27. h1 {
  28. font-size: 50px;
  29. line-height: 1.4em;
  30. font-weight: 700;
  31. margin-bottom: 40px;
  32. @media (max-width: 1199px) {
  33. font-size: 46px;
  34. }
  35. @media (max-width: 991px) {
  36. font-size: 36px;
  37. }
  38. }
  39. h2 {
  40. font-size: 28px;
  41. line-height: 1.4em;
  42. font-weight: 600;
  43. margin-bottom: 15px;
  44. @media (max-width: 991px) {
  45. font-size: 24px;
  46. }
  47. }
  48. p {
  49. margin-bottom: 35px;
  50. }
  51. img {
  52. margin-bottom: 40px;
  53. }
  54. ul {
  55. list-style: none;
  56. padding: 0;
  57. margin: 0 0 35px 0;
  58. li {
  59. padding-left: 20px;
  60. position: relative;
  61. &:not(:last-child) {
  62. margin-bottom: 5px;
  63. }
  64. &::before {
  65. content: '';
  66. position: absolute;
  67. height: 5px;
  68. width: 5px;
  69. border-radius: 50%;
  70. left: 5px;
  71. top: 10px;
  72. background-color: currentColor;
  73. }
  74. }
  75. }
  76. > *:last-child {
  77. margin-bottom: 0;
  78. }
  79. }
  80. .cs_post_details_share_wrap,
  81. .cs_post_details_tags_wrap {
  82. display: flex;
  83. gap: 12px;
  84. align-items: center;
  85. h4 {
  86. margin: 0;
  87. }
  88. }
  89. .cs_post_details_share {
  90. display: flex;
  91. gap: 15px;
  92. }
  93. .cs_post_details_bottom {
  94. display: flex;
  95. gap: 10px 30px;
  96. justify-content: space-between;
  97. }
  98. .cs_author_thumb {
  99. flex: none;
  100. height: 150px;
  101. width: 150px;
  102. border-radius: 50%;
  103. overflow: hidden;
  104. img {
  105. height: 100%;
  106. width: 100%;
  107. object-fit: cover;
  108. }
  109. }
  110. .cs_author_card {
  111. display: flex;
  112. align-items: center;
  113. gap: 30px 50px;
  114. padding: 50px 0;
  115. border-top: 1px solid $border;
  116. border-bottom: 1px solid $border;
  117. @media (max-width: 767px) {
  118. flex-direction: column;
  119. text-align: center;
  120. gap: 25px;
  121. }
  122. }
  123. .cs_author_social {
  124. display: flex;
  125. gap: 10px;
  126. @media (max-width: 767px) {
  127. justify-content: center;
  128. }
  129. a {
  130. width: 35px;
  131. height: 35px;
  132. color: $primary;
  133. border: 1px solid $primary;
  134. border-radius: 50%;
  135. &:hover {
  136. background-color: $primary;
  137. color: #fff;
  138. }
  139. }
  140. }
  141. .cs_author_title {
  142. margin-bottom: 10px;
  143. }