themeStyle.sass 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291
  1. // poppins font
  2. @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap')
  3. //inter font
  4. @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap')
  5. // noto sherif bangla
  6. @import url('https://fonts.googleapis.com/css2?family=Noto+Serif+Bengali:wght@300;400;500;600;700;800;900&display=swap')
  7. $fontPopins: 'Poppins', sans-serif
  8. $fontInter: 'Inter', sans-serif
  9. $fontNotoBangla: 'Noto Serif Bengali', serif
  10. // colors
  11. $blackColor: rgba(0, 0, 0, 1)
  12. $blackLight: rgba(0, 0, 0, 0.8)
  13. $greyColor: rgba( 0, 0, 0, .6)
  14. $whiteColor: rgba(255, 255, 255, 1)
  15. $primaryColor: rgba(0, 38, 136, 1)
  16. $primaryLightColor: #ADBCFF
  17. $seconderyColor: rgba(203, 236, 71, 1)
  18. $thirdColor: rgba(173, 188, 255, 1)
  19. // shadows
  20. $shadow-1: 1px 2px 5px rgba(0, 46, 116, 0.25)
  21. *
  22. list-style: none
  23. text-decoration: none
  24. a
  25. opacity: 1
  26. body
  27. background: $whiteColor
  28. color: $blackColor
  29. font-family: $fontInter
  30. main
  31. height: 200vh
  32. padding-top: 4rem
  33. section
  34. padding: 5rem 0
  35. margin: unset
  36. h1,h2,h3,h4,h5,h6,p
  37. color: inherit
  38. font-family: inherit
  39. margin: unset
  40. text-shadow: unset
  41. // customize pico
  42. .row
  43. margin-top: unset
  44. .container
  45. @media screen and ( min-width: 1400px )
  46. max-width: 1360px
  47. // customize pico end
  48. // utility
  49. .section-title
  50. font-weight: 600
  51. color: $blackColor
  52. text-align: center
  53. margin-bottom: 1rem
  54. font-size: 2.2rem
  55. .section-sub-title
  56. color: $greyColor
  57. text-align: center
  58. font-size: 1.4rem
  59. margin-bottom: 2rem
  60. .img-container
  61. overflow: hidden
  62. img
  63. height: 100%
  64. width: 100%
  65. object-fit: cover
  66. object-position: center
  67. .link-btn
  68. margin: 0
  69. padding: .45rem 1.2rem !important
  70. background: $primaryColor
  71. border-color: $primaryColor
  72. border-width: 2px
  73. font-size: .9rem
  74. font-weight: 600
  75. box-shadow: none
  76. opacity: unset
  77. display: block
  78. height: unset
  79. width: fit-content
  80. &:hover
  81. background: $whiteColor
  82. color: $primaryColor
  83. .link-btn-outline
  84. margin: 0
  85. padding: .45rem 1.2rem !important
  86. color: $primaryColor
  87. border-color: $primaryColor
  88. background: $whiteColor
  89. border-width: 2px
  90. font-size: .9rem
  91. font-weight: 600
  92. box-shadow: none
  93. opacity: unset
  94. height: unset
  95. &:hover
  96. background: $primaryColor
  97. color: $whiteColor
  98. .single-course
  99. box-shadow: $shadow-1
  100. font-family: $fontInter
  101. .top-part
  102. height: 200px
  103. position: relative
  104. overflow: hidden
  105. .img-container
  106. height: 100%
  107. width: 100%
  108. .tag
  109. position: absolute
  110. left: 4%
  111. bottom: 4%
  112. padding: .1rem 1rem
  113. background: $seconderyColor
  114. font-size: .75rem
  115. font-weight: 700
  116. border-radius: 15px
  117. .details
  118. height: calc( 100% - 180px )
  119. padding: 1rem
  120. display: flex
  121. flex-direction: column
  122. gap: .75rem
  123. font-family: $fontInter
  124. line-height: 1.2
  125. background: $whiteColor
  126. .level
  127. font-size: .75rem
  128. font-weight: 500
  129. color: $primaryColor
  130. .title
  131. font-size: .9rem
  132. font-weight: 600
  133. text-decoration: none
  134. color: $blackColor
  135. cursor: pointer
  136. .stats
  137. font-size: .7rem
  138. color: $greyColor
  139. .price
  140. color: $primaryColor
  141. font-weight: 600
  142. font-size: 1rem
  143. text-align: right
  144. // utility end
  145. // navbar
  146. #navbar
  147. position: fixed
  148. top: 0
  149. left: 0
  150. width: 100%
  151. padding: .75rem 0
  152. font-family: $fontPopins
  153. background: $whiteColor
  154. z-index: 999
  155. .container-fluid
  156. display: flex
  157. justify-content: space-between
  158. align-items: center
  159. @media screen and ( max-width: 768px )
  160. flex-direction: column
  161. .nav-icons
  162. display: flex
  163. align-items: center
  164. @media screen and ( max-width: 768px )
  165. position: fixed
  166. top: 0
  167. left: 0
  168. right: 0
  169. justify-content: space-between
  170. width: 100%
  171. padding: 0 1rem
  172. background: $whiteColor
  173. height: 4rem
  174. .navbar-brand
  175. height: 3.5rem
  176. img
  177. height: 100%
  178. .res-btn
  179. font-size: 1.2rem
  180. padding: .25rem
  181. background: unset
  182. color: $blackColor
  183. border: none
  184. margin: 0
  185. width: unset
  186. height: fit-content
  187. width: fit-content
  188. display: none
  189. &:focus
  190. box-shadow: none
  191. @media screen and ( max-width: 768px )
  192. display: block
  193. .nav-links
  194. display: flex
  195. justify-content: center
  196. align-items: center
  197. gap: 1rem
  198. @media screen and ( max-width: 768px )
  199. background: $whiteColor
  200. display: block
  201. position: fixed
  202. top: 4rem
  203. left: 0
  204. right: 0
  205. min-height: calc( 100vh - 4rem )
  206. padding: 1rem
  207. overflow-y: auto
  208. transform: translateX(-200vw)
  209. transition: .75s
  210. li
  211. display: block
  212. color: #fff
  213. margin-top: 1rem !important
  214. li
  215. margin: unset
  216. padding: unset
  217. .link-item
  218. padding: .25rem .5rem
  219. margin: unset
  220. color: $blackLight
  221. font-size: .9rem
  222. font-weight: 600
  223. background: transparent
  224. &:hover
  225. color: $primaryColor
  226. .link-item.active
  227. color: $primaryColor
  228. .link-btn
  229. padding: .25rem .75rem !important
  230. body.show-mobile-menu
  231. @media screen and ( max-width: 768px )
  232. #navbar .nav-links
  233. transform: translateX(0px)
  234. main
  235. overflow-y: none
  236. // navbar end