blog-archive.sass 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204
  1. @import ./themeStyle
  2. section
  3. padding: 2rem 0 1.5rem
  4. .page-title
  5. font-family: $fontInter
  6. margin-top: 2.5rem
  7. text-align: left
  8. font-weight: 600
  9. padding-bottom: 1.5rem
  10. border-bottom: 3px solid $thirdColor
  11. strong
  12. color: $primaryColor
  13. // archive-hero
  14. #archive-hero
  15. display: grid
  16. grid-template-columns: repeat(3, 1fr)
  17. padding: 0 0 2rem
  18. gap: 1rem
  19. @media screen and ( max-width: 768px )
  20. grid-template-columns: repeat(1, 1fr)
  21. .single-item
  22. box-shadow: $shadow-1
  23. display: flex
  24. flex-direction: column
  25. .img-container
  26. flex: auto
  27. .details
  28. height: fit-content
  29. background: $whiteColor
  30. padding: .75rem
  31. .title
  32. line-height: 1.4
  33. font-size: .85rem
  34. font-weight: 500
  35. color: $blackColor
  36. font-family: $fontNotoBangla
  37. text-decoration: none
  38. &:hover
  39. opacity: .7
  40. &:first-child
  41. grid-column: span 2
  42. grid-row: span 2
  43. @media screen and ( max-width: 768px )
  44. grid-column: unset
  45. grid-row: unset
  46. // single-item-container
  47. .single-item-archive-wraper
  48. .archive-title
  49. color: $blackColor
  50. display: flex
  51. align-items: center
  52. gap: 1rem
  53. font-family: $fontInter
  54. font-weight: 600
  55. &::after
  56. content: ""
  57. background: $thirdColor
  58. flex: auto
  59. padding: .1rem
  60. .link-btn
  61. display: block
  62. width: fit-content
  63. margin: 2rem auto
  64. #single-item-container
  65. font-family: $fontNotoBangla
  66. font-family: $fontInter
  67. margin-top: 1rem
  68. .single-item
  69. box-shadow: $shadow-1
  70. height: 100%
  71. border-radius: 3px
  72. overflow: hidden
  73. display: flex
  74. flex-direction: column
  75. .img-container
  76. height: 180px
  77. @media screen and ( max-width: 768px )
  78. height: 220px
  79. .details
  80. flex: auto
  81. padding: .75rem .75rem 1rem
  82. line-height: 1.4
  83. display: flex
  84. flex-direction: column
  85. gap: .25rem
  86. .tags
  87. font-size: .6rem
  88. font-weight: 600
  89. color: $primaryColor
  90. .title
  91. font-size: .8rem
  92. line-height: 1.2
  93. color: $blackColor
  94. font-weight: 700
  95. text-decoration: none
  96. &:hover
  97. color: $primaryColor
  98. .item-date
  99. font-size: .55rem
  100. color: $greyColor
  101. font-weight: 600
  102. .desc
  103. color: $greyColor
  104. font-size: .65rem
  105. // side-section
  106. #side-section
  107. padding-top: 0
  108. display: flex
  109. flex-direction: column
  110. gap: 1.5rem
  111. .side-item-title
  112. background-color: $thirdColor
  113. color: $blackColor
  114. text-align: left
  115. margin-bottom: .5rem
  116. padding: .25rem .75rem
  117. font-size: 1rem
  118. .single-item
  119. display: flex
  120. padding-bottom: .75rem
  121. border-bottom: 2px solid $thirdColor
  122. .img-container
  123. flex: 2
  124. img
  125. width: 100%
  126. .details
  127. flex: 4
  128. padding: .25rem .75rem
  129. .title
  130. display: block
  131. font-size: .8rem
  132. line-height: 1.4
  133. color: $blackColor
  134. font-weight: 500
  135. text-decoration: none
  136. &:hover
  137. opacity: .8
  138. .single-testimonial
  139. display: flex
  140. padding-bottom: .75rem
  141. border-bottom: 2px solid $thirdColor
  142. .img-container
  143. flex: 2
  144. img
  145. width: 100%
  146. .details
  147. flex: 4
  148. padding: .25rem .75rem
  149. .testimonial
  150. display: block
  151. font-size: .65rem
  152. line-height: 1.2
  153. color: $greyColor
  154. font-weight: 500
  155. text-decoration: none
  156. .name, .ocupation
  157. margin: unset
  158. margin-top: .15rem
  159. font-weight: 500
  160. font-size: .7rem
  161. text-align: right
  162. // add container
  163. .add-container
  164. width: 100%