themeStyle.sass 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227
  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: $fontNotoBangla
  30. main
  31. height: 200vh
  32. padding-top: 4rem
  33. section
  34. padding: 4rem 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 container size
  42. .container
  43. @media screen and ( min-width: 1400px )
  44. max-width: 1360px
  45. // customize container size end
  46. // utility
  47. .section-title
  48. font-weight: 600
  49. color: $blackColor
  50. text-align: center
  51. margin-bottom: 1.2rem
  52. .section-sub-title
  53. color: $greyColor
  54. text-align: center
  55. font-size: 1.1rem
  56. margin-bottom: 2rem
  57. .img-container
  58. overflow: hidden
  59. img
  60. height: 100%
  61. width: 100%
  62. object-fit: cover
  63. object-position: center
  64. .link-btn
  65. margin: 0
  66. padding: .45rem 1.2rem !important
  67. background: $primaryColor
  68. border-color: $primaryColor
  69. border-width: 2px
  70. font-size: .9rem
  71. font-weight: 600
  72. box-shadow: none
  73. opacity: unset
  74. display: block
  75. height: unset
  76. width: fit-content
  77. &:hover
  78. background: $whiteColor
  79. color: $primaryColor
  80. .link-btn-outline
  81. margin: 0
  82. padding: .45rem 1.2rem !important
  83. color: $primaryColor
  84. border-color: $primaryColor
  85. background: $whiteColor
  86. border-width: 2px
  87. font-size: .9rem
  88. font-weight: 600
  89. box-shadow: none
  90. opacity: unset
  91. height: unset
  92. &:hover
  93. background: $primaryColor
  94. color: $whiteColor
  95. // utility end
  96. // navbar
  97. #navbar
  98. position: fixed
  99. top: 0
  100. left: 0
  101. width: 100%
  102. padding: .75rem 0
  103. font-family: $fontPopins
  104. background: $whiteColor
  105. .container-fluid
  106. display: flex
  107. justify-content: space-between
  108. align-items: center
  109. @media screen and ( max-width: 768px )
  110. flex-direction: column
  111. .nav-icons
  112. display: flex
  113. align-items: center
  114. @media screen and ( max-width: 768px )
  115. position: fixed
  116. top: 0
  117. left: 0
  118. right: 0
  119. justify-content: space-between
  120. width: 100%
  121. padding: 0 1rem
  122. background: $whiteColor
  123. height: 4rem
  124. .navbar-brand
  125. height: 3.5rem
  126. img
  127. height: 100%
  128. .res-btn
  129. font-size: 1.2rem
  130. padding: .25rem
  131. background: unset
  132. color: $blackColor
  133. border: none
  134. margin: 0
  135. width: unset
  136. height: fit-content
  137. width: fit-content
  138. display: none
  139. &:focus
  140. box-shadow: none
  141. @media screen and ( max-width: 768px )
  142. display: block
  143. .nav-links
  144. display: flex
  145. justify-content: center
  146. align-items: center
  147. gap: 1rem
  148. @media screen and ( max-width: 768px )
  149. background: $whiteColor
  150. display: block
  151. position: fixed
  152. top: 4rem
  153. left: 0
  154. right: 0
  155. min-height: calc( 100vh - 4rem )
  156. padding: 1rem
  157. overflow-y: auto
  158. transform: translateX(-200vw)
  159. transition: .75s
  160. li
  161. display: block
  162. color: #fff
  163. margin-top: 1rem !important
  164. li
  165. margin: unset
  166. padding: unset
  167. .link-item
  168. padding: .25rem .5rem
  169. margin: unset
  170. color: $blackLight
  171. font-size: .9rem
  172. font-weight: 600
  173. background: transparent
  174. &:hover
  175. color: $primaryColor
  176. .link-item.active
  177. color: $primaryColor
  178. .link-btn
  179. padding: .25rem .75rem !important
  180. body.show-mobile-menu
  181. @media screen and ( max-width: 768px )
  182. #navbar .nav-links
  183. transform: translateX(0px)
  184. main
  185. overflow-y: none
  186. // navbar end