index.sass 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536
  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. .infography
  67. margin-top: 3rem
  68. display: block
  69. width: 100%
  70. img
  71. width: 100%
  72. // course-catagory
  73. #course-catagory
  74. font-family: $fontNotoBangla !important
  75. color: $blackColor
  76. background: url(../images/3-jobcourse_catagory.svg) no-repeat center center/cover
  77. .section-title, .section-sub-title
  78. text-align: start
  79. .courses-short-desc
  80. .swiper-slide
  81. padding: 1rem 0
  82. height: max-content
  83. .single-course-short-desc
  84. font-family: $fontInter
  85. padding: .75rem 1rem
  86. border: 3px solid $primaryLightColor
  87. border-radius: unset
  88. display: flex
  89. flex-direction: column
  90. height: 100%
  91. @media screen and ( max-width: 767px )
  92. align-items: center
  93. justify-content: center
  94. h6
  95. font-size: 1rem
  96. .desc
  97. margin-top: .2rem
  98. font-size: .65rem
  99. color: $greyColor
  100. display: flex
  101. align-items: center
  102. gap: .25rem
  103. font-weight: 600
  104. span
  105. display: flex
  106. align-items: center
  107. gap: .25rem
  108. &::before
  109. content: ""
  110. background: $primaryLightColor
  111. height: 15px
  112. width: 15px
  113. padding: .15rem
  114. .course-container
  115. margin-top: 2rem
  116. margin-bottom: 2rem
  117. .link-btn
  118. margin-top: 1rem
  119. margin-left: auto
  120. margin-right: auto
  121. // why-studypress
  122. #why-studypress
  123. background: $thirdColor
  124. padding: 0
  125. // margin-bottom: 500px
  126. .section-title
  127. text-align: left
  128. font-weight: 500
  129. font-size: 2rem
  130. .details
  131. display: flex
  132. flex-direction: column
  133. justify-content: center
  134. ul
  135. li
  136. font-size: 1rem
  137. margin-bottom: 1rem
  138. color: $blackColor
  139. .slider
  140. display: flex
  141. align-items: center
  142. .why-slider-1, .why-slider-2
  143. .swiper-wrapper
  144. max-height: 600px
  145. .swiper-slide
  146. height: 60%
  147. @media screen and ( max-width: 768px )
  148. display: none
  149. // new course
  150. #new-course
  151. font-family: $fontNotoBangla
  152. color: $blackColor
  153. background: url(../images/5-courses.svg) no-repeat center center/cover
  154. .section-title, .section-sub-title
  155. text-align: left
  156. .new-course-slider
  157. padding: 1rem 0
  158. // app-download
  159. #app-download
  160. font-family: $fontNotoBangla
  161. color: $blackColor
  162. background: url(../images/6-download.svg) no-repeat center center/cover
  163. .feature-img
  164. order: 0
  165. img
  166. width: 100%
  167. @media screen and ( max-width: 767px )
  168. order: 1
  169. .details
  170. display: flex
  171. flex-direction: column
  172. justify-content: center
  173. .section-title, .section-sub-title
  174. text-align: left
  175. .download-btns
  176. display: flex
  177. align-items: center
  178. gap: .75rem
  179. a
  180. text-decoration: none
  181. height: 3.2rem
  182. img
  183. height: 100%
  184. // our-blog
  185. #our-blog
  186. font-family: $fontNotoBangla
  187. color: $blackColor
  188. background: url(../images/7-blog.svg) no-repeat center center/cover
  189. .link-btn
  190. margin: 2rem auto 0
  191. .blog-container
  192. margin: 2rem 0 2.5rem
  193. display: grid
  194. grid-template-columns: repeat(4, 1fr)
  195. grid-gap: 1rem
  196. @media screen and ( max-width: 992px )
  197. grid-template-columns: repeat(2, 1fr)
  198. @media screen and ( max-width: 767px )
  199. grid-template-columns: repeat(1, 1fr)
  200. .blog-single
  201. width: 100%
  202. height: 100%
  203. border: 1.5px solid $thirdColor
  204. display: flex
  205. flex-direction: column
  206. border-radius: 5px
  207. .img-container
  208. height: 100%
  209. flex: 3
  210. .details
  211. flex: 2
  212. padding: 1rem 1rem .5rem
  213. line-height: 1.4
  214. .title
  215. font-size: .95rem
  216. color: $blackColor
  217. text-decoration: none
  218. cursor: pointer
  219. font-weight: 600
  220. line-height: 1.2
  221. margin-bottom: .5rem
  222. display: block
  223. p
  224. font-size: .85rem
  225. color: $greyColor
  226. line-height: 1.7
  227. &:first-child
  228. grid-column: span 2
  229. grid-row: span 2
  230. .details
  231. padding-top: 1.5rem
  232. .title
  233. font-size: 1.3rem
  234. margin-bottom: 1rem
  235. p
  236. font-size: .9rem
  237. line-height: 1.7
  238. @media screen and ( max-width: 992px )
  239. grid-column: unset
  240. grid-row: unset
  241. .title
  242. font-size: 1rem
  243. p
  244. font-size: .85rem
  245. &:nth-child(4)
  246. grid-column: span 2
  247. flex-direction: row
  248. .img-container
  249. height: 100%
  250. flex: 1
  251. .details
  252. flex: 1
  253. p
  254. font-size: .8rem
  255. @media screen and ( max-width: 992px )
  256. grid-column: unset
  257. flex-direction: column
  258. .img-container
  259. flex: 3
  260. .details
  261. flex: 2
  262. // current-news
  263. #current-news
  264. font-family: $fontNotoBangla
  265. color: $whiteColor
  266. background: url(../images/8-news.svg) no-repeat center center/cover
  267. .section-title
  268. color: $whiteColor
  269. .link-btn-outline
  270. display: block
  271. width: fit-content
  272. margin: 2rem auto
  273. border-color: $whiteColor
  274. color: $whiteColor
  275. background: transparent
  276. .all-news
  277. margin: 2rem 0
  278. .single-news
  279. box-shadow: 2px 2px 5px $greyColor
  280. border-radius: 5px
  281. overflow: hidden
  282. .img-container
  283. height: 250px
  284. .details
  285. padding: 1rem 1rem 1.5rem
  286. background: $whiteColor
  287. color: $blackColor
  288. display: flex
  289. flex-direction: column
  290. gap: .5rem
  291. .title
  292. font-size: 1rem
  293. p
  294. font-size: .8rem
  295. .link
  296. font-size: .8rem
  297. font-weight: 700
  298. color: $primaryColor
  299. &:hover
  300. opacity: .8
  301. // feature sec
  302. #feature-sec
  303. padding: 0
  304. font-family: $fontNotoBangla
  305. .all-feature
  306. width: 100%
  307. display: flex
  308. @media screen and ( max-width: 992px )
  309. flex-direction: column
  310. .word-day, .memory
  311. flex: 1
  312. padding: 2rem
  313. .word-day
  314. background: $thirdColor
  315. .sub-heading
  316. text-align: center
  317. color: $whiteColor
  318. .heading
  319. display: block
  320. max-width: fit-content
  321. margin: 1rem auto
  322. .word-container
  323. min-height: 300px
  324. width: 54%
  325. margin: 1.5rem auto 0
  326. padding: 3rem 3rem 8% 12%
  327. background: $whiteColor
  328. color: $blackColor
  329. position: relative
  330. @media screen and ( max-width: 767px )
  331. width: 60%
  332. .realated-image
  333. width: 40%
  334. position: absolute
  335. bottom: 0
  336. left: -20%
  337. .word
  338. font-weight: 500
  339. font-size: 1.6rem
  340. margin-bottom: .5rem
  341. .meaning
  342. color: $primaryColor
  343. font-weight: 600
  344. margin-bottom: .25rem
  345. .synonyms, .antonyms
  346. font-size: .8rem
  347. color: $greyColor
  348. margin-top: 1rem
  349. strong
  350. color: $blackColor
  351. .desc
  352. margin-top: 1rem
  353. color: $greyColor
  354. font-size: .75rem
  355. .memory
  356. background: $memoryColor
  357. padding: 4rem 3rem 2.5rem
  358. width: 100%
  359. .title
  360. font-size: 1.8rem
  361. font-weight: 600
  362. text-align: center
  363. max-width: 500px
  364. margin: 0 auto
  365. .date
  366. font-size: 1.3rem
  367. color: $greyColor
  368. text-align: center
  369. margin-top: 2rem
  370. .memory-slider
  371. max-width: 600px
  372. margin: 3rem auto 0
  373. padding: .5rem 60px
  374. @media screen and ( max-width: 500px )
  375. max-width: 400px
  376. .memory-slider-next, .memory-slider-prev
  377. color: $primaryColor
  378. background: none
  379. border: none
  380. height: 2rem
  381. width: 2rem
  382. padding: .25rem
  383. &:focus
  384. box-shadow: none
  385. .single-memory
  386. box-shadow: $shadow-1
  387. display: flex
  388. width: 100%
  389. .img-container
  390. flex: 1
  391. .detail
  392. flex: 2
  393. padding: .75rem
  394. .title
  395. text-align: left
  396. font-size: 1rem
  397. margin-bottom: .5rem
  398. p
  399. font-size: .75rem