themeStyle.sass 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213
  1. // poppins font
  2. @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap')
  3. // noto bangla
  4. @import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Bengali:wght@300;400;500;600;700;800;900&display=swap')
  5. // trio bangla
  6. @import url('https://fonts.googleapis.com/css2?family=Tiro+Bangla&display=swap')
  7. $fontPopins: 'Poppins', sans-serif
  8. $fontBangla: 'Noto Sans Bengali', sans-serif
  9. $fontTrioBangla: 'Tiro Bangla', 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. $seconderyColor: rgba(203, 236, 71, 1)
  17. $thirdColor: rgba(173, 188, 255, 1)
  18. // shadows
  19. $shadow-1: 1px 2px 5px rgba(0, 46, 116, 0.25)
  20. *
  21. list-style: none
  22. text-decoration: none
  23. a
  24. opacity: 1
  25. body
  26. background: $whiteColor
  27. color: $blackColor
  28. font-family: $fontTrioBangla
  29. main
  30. height: 200vh
  31. padding-top: 4rem
  32. section
  33. padding: 4rem 0
  34. margin: unset
  35. h1,h2,h3,h4,h5,h6,p
  36. color: inherit
  37. font-family: inherit
  38. margin: unset
  39. // utility
  40. .section-title
  41. font-weight: 600
  42. color: $blackColor
  43. text-align: center
  44. margin-bottom: 1.2rem
  45. .section-sub-title
  46. color: $greyColor
  47. text-align: center
  48. font-size: 1.1rem
  49. margin-bottom: 2rem
  50. .img-container
  51. overflow: hidden
  52. img
  53. height: 100%
  54. width: 100%
  55. object-fit: cover
  56. object-position: center
  57. .link-btn
  58. margin: 0 !important
  59. padding: .25rem 1rem !important
  60. background: $primaryColor
  61. border-color: $primaryColor
  62. border-width: 2px
  63. font-size: .9rem
  64. font-weight: 600
  65. box-shadow: none
  66. opacity: unset
  67. display: block
  68. height: unset
  69. &:hover
  70. background: $whiteColor
  71. color: $primaryColor
  72. .link-btn-outline
  73. margin: 0 !important
  74. padding: .25rem 1rem !important
  75. color: $primaryColor
  76. border-color: $primaryColor
  77. background: $whiteColor
  78. border-width: 2px
  79. font-size: .9rem
  80. font-weight: 600
  81. box-shadow: none
  82. opacity: unset
  83. height: unset
  84. &:hover
  85. background: $primaryColor
  86. color: $whiteColor
  87. // utility end
  88. // navbar
  89. #navbar
  90. position: fixed
  91. top: 0
  92. left: 0
  93. width: 100%
  94. padding: .75rem 0
  95. font-family: $fontPopins
  96. background: $whiteColor
  97. .container-fluid
  98. display: flex
  99. justify-content: space-between
  100. align-items: center
  101. @media screen and ( max-width: 768px )
  102. flex-direction: column
  103. .nav-icons
  104. display: flex
  105. align-items: center
  106. @media screen and ( max-width: 768px )
  107. position: fixed
  108. top: 0
  109. left: 0
  110. right: 0
  111. justify-content: space-between
  112. width: 100%
  113. padding: 0 1rem
  114. background: $whiteColor
  115. height: 4rem
  116. .navbar-brand
  117. height: 3.5rem
  118. img
  119. height: 100%
  120. .res-btn
  121. font-size: 1.2rem
  122. padding: .25rem
  123. background: unset
  124. color: $blackColor
  125. border: none
  126. margin: 0
  127. width: unset
  128. height: fit-content
  129. width: fit-content
  130. display: none
  131. &:focus
  132. box-shadow: none
  133. @media screen and ( max-width: 768px )
  134. display: block
  135. .nav-links
  136. display: flex
  137. justify-content: center
  138. align-items: center
  139. gap: 1rem
  140. @media screen and ( max-width: 768px )
  141. background: $whiteColor
  142. display: block
  143. position: fixed
  144. top: 4rem
  145. left: 0
  146. right: 0
  147. min-height: calc( 100vh - 4rem )
  148. padding: 1rem
  149. overflow-y: auto
  150. transform: translateX(-200vw)
  151. transition: .75s
  152. li
  153. display: block
  154. color: #fff
  155. margin-top: 1rem !important
  156. li
  157. margin: unset
  158. padding: unset
  159. .link-item
  160. padding: .25rem .5rem
  161. margin: unset
  162. color: $blackLight
  163. font-size: .9rem
  164. font-weight: 600
  165. background: transparent
  166. &:hover
  167. color: $primaryColor
  168. .link-item.active
  169. color: $primaryColor
  170. body.show-mobile-menu
  171. @media screen and ( max-width: 768px )
  172. #navbar .nav-links
  173. transform: translateX(0px)
  174. main
  175. overflow-y: none
  176. // navbar end