BCB Bank static website
Não pode escolher mais do que 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.
 
 
 
 

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