BCB Bank static website
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 
 
 

391 linhas
5.4 KiB

  1. @import '_colors';
  2. @import 'custom_fonts';
  3. *, *:before, *:after {
  4. -webkit-tap-highlight-color: transparent;
  5. box-sizing: border-box;
  6. }
  7. * {
  8. margin: 0;
  9. padding: 0;
  10. box-sizing: border-box;
  11. }
  12. a {
  13. color: inherit;
  14. text-decoration: none;
  15. }
  16. html, body {
  17. font-family: open-sans;
  18. &.non-scrollable {
  19. overflow: hidden;
  20. }
  21. }
  22. mark {
  23. background-color: transparent;
  24. }
  25. .temp-intro,
  26. #footer {
  27. background-color: $dark_brown;
  28. display: flex;
  29. justify-content: space-between;
  30. padding: 15px 0;
  31. color: $dark_gray;
  32. font-size: $other_size;
  33. .temp-name {
  34. margin-left: 125px;
  35. @media screen and (max-width: 1024px) {
  36. margin-left: 20px;
  37. }
  38. mark {
  39. color: white;
  40. font-weight: bold;
  41. letter-spacing: 0.8px;
  42. }
  43. }
  44. .temp-social {
  45. display: flex;
  46. margin-right: 125px;
  47. @media screen and (max-width: 1024px) {
  48. margin-right: 20px;
  49. }
  50. li {
  51. list-style: none;
  52. align-self: center;
  53. padding: 0 10px;
  54. font-size: 12px;
  55. }
  56. }
  57. small {
  58. font-size: $other_size;
  59. @media screen and (max-width: 1024px) {
  60. display: block;
  61. text-align: center;
  62. padding: 5px 0;
  63. }
  64. &:first-child {
  65. margin-left: 125px;
  66. @media screen and (max-width: 1024px) {
  67. margin: 0;
  68. }
  69. }
  70. &:last-child {
  71. margin-right: 125px;
  72. @media screen and (max-width: 1024px) {
  73. margin: 0;
  74. }
  75. }
  76. mark {
  77. color: $light_gray;
  78. }
  79. }
  80. }
  81. #footer {
  82. @media screen and (max-width: 1024px) {
  83. display: block
  84. }
  85. }
  86. #page-header {
  87. height: $header_height;
  88. position: sticky;
  89. display: flex;
  90. top: 0;
  91. left: 0;
  92. background-color: white;
  93. z-index: 100;
  94. transition: height 500ms linear;
  95. @media screen and (max-width: 1024px) {
  96. height: $header_height_scroll;
  97. }
  98. &.minimize {
  99. height: $header_height_scroll;
  100. padding: 10px 0;
  101. }
  102. .inner-header {
  103. width: 90%;
  104. display: flex;
  105. justify-content: space-between;
  106. margin: 0 auto;
  107. align-self: center;
  108. @media screen and (max-width: 1024px) {
  109. width: 100%;
  110. justify-content: none;
  111. }
  112. }
  113. .temp-brand {
  114. display: flex;
  115. align-self: center;
  116. width: auto;
  117. justify-content: center;
  118. cursor: pointer;
  119. @media screen and (max-width: 1024px) {
  120. justify-content: unset;
  121. width: calc(100% -55px);
  122. }
  123. figure {
  124. margin-right: 15px;
  125. width: 60px;
  126. height: 60px;
  127. img {
  128. width: 100%;
  129. height: 100%;
  130. }
  131. }
  132. h1 {
  133. font-size: 20px;
  134. align-self: center;
  135. letter-spacing: -0.65px;
  136. font-family: 'Archivo Black', sans-serif;
  137. @media screen and (max-width: 1024px) {
  138. font-size: 15px;
  139. }
  140. mark {
  141. color: $blue;
  142. }
  143. }
  144. }
  145. #desktop-navigation-menu {
  146. width: 55%;
  147. align-self: center;
  148. font-size: $paragraph_size;
  149. @media screen and (max-width: 1024px) {
  150. display: none;
  151. }
  152. ul {
  153. display: flex;
  154. justify-content: space-between;
  155. li {
  156. list-style: none;
  157. color: $dark_gray;
  158. &.active {
  159. color: $blue;
  160. }
  161. }
  162. }
  163. }
  164. #mobile-hamburger-menu {
  165. display: none;
  166. position: relative;
  167. height: 25px;
  168. @media screen and (max-width: 1024px) {
  169. width: 45px;
  170. }
  171. &.active {
  172. .icon-line {
  173. transform: rotate(45deg) translate(2px, 10px);
  174. &:after {
  175. transform: rotate(-95deg) translate(20px, 2px);
  176. }
  177. &:before {
  178. opacity: 0;
  179. }
  180. }
  181. }
  182. @media screen and (max-width: 1024px) {
  183. display: block;
  184. align-self: center;
  185. }
  186. .icon-line {
  187. display: inline-block;
  188. width: 35px;
  189. height: 5px;
  190. background-color: black;
  191. position: absolute;
  192. transition: transform 500ms ease;
  193. &:before,
  194. &:after {
  195. content: '';
  196. display: inline-block;
  197. width: 35px;
  198. height: 5px;
  199. position: absolute;
  200. }
  201. &:before {
  202. top: 200%;
  203. background-color: $blue;
  204. transition: opacity 500ms ease;
  205. }
  206. &:after {
  207. top: 400%;
  208. background-color: black;
  209. transition: transform 500ms ease;
  210. }
  211. }
  212. }
  213. }
  214. #mobile-nav-menu {
  215. display: none;
  216. @media screen and (max-width: 1024px) {
  217. display: block;
  218. height: 0;
  219. overflow: hidden;
  220. position: sticky;
  221. top: 10vh;
  222. z-index: 5;
  223. background-color: white;
  224. transition: height 500ms ease;
  225. &.show {
  226. height: 90vh;
  227. ul {
  228. margin-top: 50px;
  229. }
  230. li {
  231. opacity: 1;
  232. }
  233. }
  234. ul {
  235. li {
  236. list-style: none;
  237. font-size: $heading_size;
  238. text-align: center;
  239. padding: 10px 0;
  240. opacity: 0;
  241. transition: opacity 500ms ease;
  242. }
  243. }
  244. }
  245. }
  246. .temp-contact-info {
  247. background-color: $white_shade;
  248. border-top: 1px solid $light_gray;
  249. color: $brown;
  250. ul {
  251. display: flex;
  252. width: 80%;
  253. margin: 0 auto;
  254. @media screen and (max-width: 1024px) {
  255. width: 100%;
  256. }
  257. .owl-item {
  258. img {
  259. width: 10%;
  260. }
  261. }
  262. li {
  263. list-style: none;
  264. border-left: 2px solid $light_gray;
  265. font-size: $other_size;
  266. display: flex;
  267. justify-content: center;
  268. width: 35%;
  269. padding: 20px 0;
  270. @media screen and (max-width: 1024px) {
  271. width: 40%;
  272. .contact-content {
  273. display: none;
  274. }
  275. img {
  276. width: 35%;
  277. }
  278. &.active {
  279. width: 100%;
  280. img {
  281. width: 10%;
  282. }
  283. .contact-content {
  284. display: block;
  285. }
  286. }
  287. }
  288. &:last-child {
  289. border-right: 2px solid $light_gray;
  290. }
  291. img {
  292. width: 10%;
  293. align-self: center;
  294. @media screen and (max-width: 1024px) {
  295. width: 30%;
  296. }
  297. }
  298. .contact-content {
  299. margin-left: 20px;
  300. color: $dark_gray;
  301. span {
  302. display: block;
  303. &:last-child {
  304. color: $blue;
  305. }
  306. }
  307. a {
  308. display: block;
  309. color: $blue;
  310. }
  311. }
  312. }
  313. }
  314. }