index.sass 8.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362
  1. // importing theme style
  2. @import ./themeStyle
  3. // hero-banner
  4. #hero-banner
  5. font-family: $fontNotoBangla !important
  6. color: $blackColor
  7. background: url(../images/hero-background.svg) no-repeat center center/cover
  8. .hero-content
  9. align-items: center
  10. min-height: 70vh
  11. .hero-title
  12. font-weight: 500
  13. font-size: 2.5rem
  14. font-family: $fontNotoBangla
  15. line-height: 1.2
  16. margin-bottom: 1.5rem
  17. @media screen and ( max-width: 768px )
  18. font-size: 1.5rem
  19. margin-bottom: .75rem
  20. .hero-paragraph
  21. line-height: 1.7
  22. font-size: 1.3rem
  23. margin-bottom: 2rem
  24. @media screen and ( max-width: 768px )
  25. font-size: .9rem
  26. .hero-desc
  27. order: 0
  28. @media screen and ( max-width: 992px )
  29. order: 1
  30. .hero-image
  31. @media screen and ( max-width: 768px )
  32. height: 240px
  33. text-align: center
  34. img
  35. height: 100%
  36. .statistics
  37. display: flex
  38. align-items: center
  39. gap: 1rem
  40. .single-statistics
  41. color: $greyColor
  42. text-align: center
  43. padding-right: 1rem
  44. border-right: 5px solid $seconderyColor
  45. &:last-child
  46. border-right: none
  47. .count
  48. margin-bottom: .2rem
  49. font-size: 1.3rem
  50. @media screen and ( max-width: 768px )
  51. font-size: .9rem
  52. p
  53. margin-bottom: 0
  54. @media screen and ( max-width: 768px )
  55. font-size: .75rem
  56. .hero-links
  57. margin-top: 2rem
  58. display: flex
  59. flex-wrap: wrap
  60. gap: .75rem
  61. // feature
  62. #feature
  63. font-family: $fontNotoBangla !important
  64. color: $blackColor
  65. background: url(../images/2-features.svg) no-repeat center center/cover
  66. // course-catagory
  67. #course-catagory
  68. font-family: $fontNotoBangla !important
  69. color: $blackColor
  70. background: url(../images/3-jobcourse_catagory.svg) no-repeat center center/cover
  71. .section-title, .section-sub-title
  72. text-align: start
  73. .courses-short-desc
  74. .swiper-slide
  75. padding: 1rem 0
  76. height: max-content
  77. .single-course-short-desc
  78. font-family: $fontInter
  79. padding: .75rem 1rem
  80. border: 3px solid $primaryLightColor
  81. border-radius: unset
  82. display: flex
  83. flex-direction: column
  84. height: 100%
  85. @media screen and ( max-width: 767px )
  86. align-items: center
  87. justify-content: center
  88. h6
  89. font-size: 1rem
  90. .desc
  91. margin-top: .2rem
  92. font-size: .65rem
  93. color: $greyColor
  94. display: flex
  95. align-items: center
  96. gap: .25rem
  97. font-weight: 600
  98. span
  99. display: flex
  100. align-items: center
  101. gap: .25rem
  102. &::before
  103. content: ""
  104. background: $primaryLightColor
  105. height: 15px
  106. width: 15px
  107. padding: .15rem
  108. .course-container
  109. margin-top: 2rem
  110. margin-bottom: 2rem
  111. .link-btn
  112. margin-top: 1rem
  113. margin-left: auto
  114. margin-right: auto
  115. // why-studypress
  116. #why-studypress
  117. background: $thirdColor
  118. padding: 0
  119. // margin-bottom: 500px
  120. .section-title
  121. text-align: left
  122. font-weight: 500
  123. font-size: 2rem
  124. .details
  125. display: flex
  126. flex-direction: column
  127. justify-content: center
  128. ul
  129. list-style-image: url("../images/round-ok-icon.svg") !important
  130. list-style-position: inside
  131. li
  132. font-size: 1.3rem
  133. margin-bottom: 1rem
  134. .slider
  135. display: flex
  136. align-items: center
  137. .why-slider-1, .why-slider-2
  138. .swiper-wrapper
  139. max-height: 600px
  140. .swiper-slide
  141. height: 60%
  142. @media screen and ( max-width: 768px )
  143. display: none
  144. // new course
  145. #new-course
  146. font-family: $fontNotoBangla
  147. color: $blackColor
  148. background: url(../images/5-courses.svg) no-repeat center center/cover
  149. .section-title, .section-sub-title
  150. text-align: left
  151. .new-course-slider
  152. padding: 1rem 0
  153. // app-download
  154. #app-download
  155. font-family: $fontNotoBangla
  156. color: $blackColor
  157. background: url(../images/6-download.svg) no-repeat center center/cover
  158. .feature-img
  159. order: 0
  160. img
  161. width: 100%
  162. @media screen and ( max-width: 767px )
  163. order: 1
  164. .details
  165. display: flex
  166. flex-direction: column
  167. justify-content: center
  168. .section-title, .section-sub-title
  169. text-align: left
  170. .download-btns
  171. display: flex
  172. align-items: center
  173. gap: .75rem
  174. a
  175. text-decoration: none
  176. height: 3.2rem
  177. img
  178. height: 100%
  179. // our-blog
  180. #our-blog
  181. font-family: $fontNotoBangla
  182. color: $blackColor
  183. background: url(../images/7-blog.svg) no-repeat center center/cover
  184. .link-btn
  185. margin: 2rem auto 0
  186. .blog-container
  187. margin: 2rem 0 2.5rem
  188. display: grid
  189. grid-template-columns: repeat(4, 1fr)
  190. grid-gap: 1rem
  191. @media screen and ( max-width: 992px )
  192. grid-template-columns: repeat(2, 1fr)
  193. @media screen and ( max-width: 767px )
  194. grid-template-columns: repeat(1, 1fr)
  195. .blog-single
  196. width: 100%
  197. height: 100%
  198. border: 1.5px solid $thirdColor
  199. display: flex
  200. flex-direction: column
  201. border-radius: 5px
  202. .img-container
  203. height: 100%
  204. flex: 3
  205. .details
  206. flex: 2
  207. padding: 1rem 1rem .5rem
  208. line-height: 1.4
  209. .title
  210. font-size: .95rem
  211. color: $blackColor
  212. text-decoration: none
  213. cursor: pointer
  214. font-weight: 600
  215. line-height: 1.2
  216. margin-bottom: .5rem
  217. display: block
  218. p
  219. font-size: .85rem
  220. color: $greyColor
  221. line-height: 1.7
  222. &:first-child
  223. grid-column: span 2
  224. grid-row: span 2
  225. .details
  226. padding-top: 1.5rem
  227. .title
  228. font-size: 1.3rem
  229. margin-bottom: 1rem
  230. p
  231. font-size: .9rem
  232. line-height: 1.7
  233. @media screen and ( max-width: 992px )
  234. grid-column: unset
  235. grid-row: unset
  236. .title
  237. font-size: 1rem
  238. p
  239. font-size: .85rem
  240. &:nth-child(4)
  241. grid-column: span 2
  242. flex-direction: row
  243. .img-container
  244. height: 100%
  245. flex: 1
  246. .details
  247. flex: 1
  248. p
  249. font-size: .8rem
  250. @media screen and ( max-width: 992px )
  251. grid-column: unset
  252. flex-direction: column
  253. .img-container
  254. flex: 3
  255. .details
  256. flex: 2
  257. // current-news
  258. #current-news
  259. font-family: $fontNotoBangla
  260. color: $blackColor
  261. background: url(../images/8-news.svg) no-repeat center center/cover
  262. .section-title
  263. color: $whiteColor
  264. .link-btn-outline
  265. display: block
  266. width: fit-content
  267. margin: 2rem auto
  268. border-color: $whiteColor
  269. color: $whiteColor
  270. background: transparent