index.sass 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558
  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
  157. padding: 1rem 0
  158. .slider-buttons
  159. margin-top: .5rem
  160. display: flex
  161. justify-content: center
  162. gap: 1rem
  163. .new-course-prev, .new-course-next
  164. padding: .25rem .75rem
  165. background: $primaryColor
  166. border: none
  167. // app-download
  168. #app-download
  169. font-family: $fontNotoBangla
  170. color: $blackColor
  171. background: url(../images/6-download.svg) no-repeat center center/cover
  172. .feature-img
  173. order: 0
  174. img
  175. width: 100%
  176. @media screen and ( max-width: 767px )
  177. order: 1
  178. .details
  179. display: flex
  180. flex-direction: column
  181. justify-content: center
  182. .section-title, .section-sub-title
  183. text-align: left
  184. .download-btns
  185. display: flex
  186. align-items: center
  187. gap: .75rem
  188. a
  189. text-decoration: none
  190. height: 3.2rem
  191. img
  192. height: 100%
  193. // our-blog
  194. #our-blog
  195. font-family: $fontNotoBangla
  196. color: $blackColor
  197. background: url(../images/7-blog.svg) no-repeat center center/cover
  198. .link-btn
  199. margin: 2rem auto 0
  200. .blog-container
  201. margin: 2rem 0 2.5rem
  202. display: grid
  203. grid-template-columns: repeat(4, 1fr)
  204. grid-gap: 1rem
  205. @media screen and ( max-width: 992px )
  206. grid-template-columns: repeat(2, 1fr)
  207. @media screen and ( max-width: 767px )
  208. grid-template-columns: repeat(1, 1fr)
  209. .blog-single
  210. width: 100%
  211. height: 100%
  212. border: 1.5px solid $thirdColor
  213. display: flex
  214. flex-direction: column
  215. border-radius: 5px
  216. .img-container
  217. height: 100%
  218. flex: 3
  219. .details
  220. flex: 2
  221. padding: 1rem 1rem .5rem
  222. line-height: 1.4
  223. .title
  224. font-size: .95rem
  225. color: $blackColor
  226. text-decoration: none
  227. cursor: pointer
  228. font-weight: 600
  229. line-height: 1.2
  230. margin-bottom: .5rem
  231. display: block
  232. p
  233. font-size: .85rem
  234. color: $greyColor
  235. line-height: 1.7
  236. &:first-child
  237. grid-column: span 2
  238. grid-row: span 2
  239. .details
  240. padding-top: 1.5rem
  241. .title
  242. font-size: 1.3rem
  243. margin-bottom: 1rem
  244. p
  245. font-size: .9rem
  246. line-height: 1.7
  247. @media screen and ( max-width: 992px )
  248. grid-column: unset
  249. grid-row: unset
  250. .title
  251. font-size: 1rem
  252. p
  253. font-size: .85rem
  254. &:nth-child(4)
  255. grid-column: span 2
  256. flex-direction: row
  257. .img-container
  258. height: 100%
  259. flex: 1
  260. .details
  261. flex: 1
  262. p
  263. font-size: .8rem
  264. @media screen and ( max-width: 992px )
  265. grid-column: unset
  266. flex-direction: column
  267. .img-container
  268. flex: 3
  269. .details
  270. flex: 2
  271. // current-news
  272. #current-news
  273. font-family: $fontNotoBangla
  274. color: $whiteColor
  275. background: url(../images/8-news.svg) no-repeat center center/cover
  276. .section-title
  277. color: $whiteColor
  278. .link-btn-outline
  279. display: block
  280. width: fit-content
  281. margin: 2rem auto
  282. border-color: $whiteColor
  283. color: $whiteColor
  284. background: transparent
  285. .all-news
  286. margin: 2rem 0
  287. .single-news
  288. box-shadow: 2px 2px 5px $greyColor
  289. border-radius: 5px
  290. overflow: hidden
  291. .img-container
  292. height: 250px
  293. .details
  294. padding: 1rem 1rem 1.5rem
  295. background: $whiteColor
  296. color: $blackColor
  297. display: flex
  298. flex-direction: column
  299. gap: .5rem
  300. .title
  301. font-size: 1rem
  302. p
  303. font-size: .8rem
  304. .link
  305. font-size: .8rem
  306. font-weight: 700
  307. color: $primaryColor
  308. &:hover
  309. opacity: .8
  310. // feature sec
  311. #feature-sec
  312. padding: 0
  313. font-family: $fontNotoBangla
  314. .all-feature
  315. width: 100%
  316. display: flex
  317. @media screen and ( max-width: 992px )
  318. flex-direction: column
  319. .word-day, .memory
  320. flex: 1
  321. padding: 2rem
  322. .word-day
  323. background: $thirdColor
  324. .sub-heading
  325. text-align: center
  326. color: $whiteColor
  327. .heading
  328. display: block
  329. max-width: fit-content
  330. margin: 1rem auto
  331. .word-container
  332. min-height: 300px
  333. width: 54%
  334. margin: 1.5rem auto 0
  335. padding: 3rem 3rem 8% 12%
  336. background: $whiteColor
  337. color: $blackColor
  338. position: relative
  339. @media screen and ( max-width: 767px )
  340. width: 80%
  341. .realated-image
  342. width: 40%
  343. position: absolute
  344. bottom: 0
  345. left: -20%
  346. .word
  347. font-weight: 500
  348. font-size: 1.6rem
  349. margin-bottom: .5rem
  350. .meaning
  351. color: $primaryColor
  352. font-weight: 600
  353. margin-bottom: .25rem
  354. .synonyms, .antonyms
  355. font-size: .8rem
  356. color: $greyColor
  357. margin-top: 1rem
  358. strong
  359. color: $blackColor
  360. .desc
  361. margin-top: 1rem
  362. color: $greyColor
  363. font-size: .75rem
  364. .memory
  365. background: $memoryColor
  366. padding: 4rem 3rem 2.5rem
  367. width: 100%
  368. @media screen and ( max-width: 768px )
  369. padding: 1rem
  370. .title
  371. font-size: 1.8rem
  372. font-weight: 600
  373. text-align: center
  374. max-width: 500px
  375. margin: 0 auto
  376. .date
  377. font-size: 1.3rem
  378. color: $greyColor
  379. text-align: center
  380. margin-top: 2rem
  381. .memory-slider
  382. max-width: 600px
  383. margin: 3rem auto 0
  384. padding: .5rem 60px
  385. @media screen and ( max-width: 500px )
  386. max-width: 400px
  387. padding: 3rem
  388. margin-top: 1rem
  389. .memory-slider-next, .memory-slider-prev
  390. color: $primaryColor
  391. background: none
  392. border: none
  393. height: 2rem
  394. width: 2rem
  395. padding: .25rem
  396. &:focus
  397. box-shadow: none
  398. .single-memory
  399. box-shadow: $shadow-1
  400. display: flex
  401. width: 100%
  402. @media screen and ( max-width: 768px )
  403. flex-direction: column
  404. .img-container
  405. flex: 1
  406. @media screen and ( max-width: 768px )
  407. flex: unset
  408. height: 200px
  409. .detail
  410. flex: 2
  411. padding: .75rem
  412. @media screen and ( max-width: 768px )
  413. flex: unset
  414. .title
  415. text-align: left
  416. font-size: 1rem
  417. margin-bottom: .5rem
  418. p
  419. font-size: .75rem