BCB Bank static website
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 

639 行
8.8 KiB

  1. @import '_colors';
  2. @import 'custom_fonts';
  3. section {
  4. h3 {
  5. font-size: $heading_size;
  6. font-family: 'Archivo Black', sans-serif;
  7. line-height: 1.2;
  8. color: $dark_brown;
  9. @media screen and (max-width: 1024px) {
  10. text-align: center;
  11. }
  12. mark {
  13. color: $blue;
  14. }
  15. }
  16. p {
  17. color: $dark_gray;
  18. font-size: $paragraph_size;
  19. letter-spacing: 0.8px;
  20. }
  21. figure {
  22. width: 50%;
  23. img {
  24. width: 100%;
  25. height: 100%;
  26. }
  27. }
  28. .description {
  29. width: 50%;
  30. align-self: center;
  31. @media screen and (max-width: 1024px) {
  32. width: 100%;
  33. }
  34. p {
  35. line-height: 1.8;
  36. }
  37. }
  38. }
  39. #home {
  40. box-shadow: 0 8px 20px -6px $gray;
  41. display: flex;
  42. height: 80vh;
  43. @media screen and (max-width: 1024px) {
  44. flex-direction: column;
  45. }
  46. p {
  47. padding: 30px 0;
  48. width: 75%;
  49. @media screen and (max-width: 1024px) {
  50. margin: 0 auto;
  51. }
  52. }
  53. figure {
  54. opacity: 1;
  55. transition: opacity 500ms ease;
  56. text-align: center;
  57. align-self: flex-end;
  58. @media screen and (max-width: 1024px) {
  59. width: 100%;
  60. margin-top: 30px;
  61. }
  62. &.hide {
  63. opacity: 0;
  64. }
  65. img {
  66. width: 90%;
  67. }
  68. }
  69. .description {
  70. overflow-x: hidden;
  71. p,
  72. button {
  73. position: relative;
  74. left: 0;
  75. opacity: 1;
  76. transition: left 500ms ease, opacity 500ms ease;
  77. }
  78. h3 {
  79. opacity: 1;
  80. left: 0;
  81. position: relative;
  82. transition: left 500ms ease, opacity 500ms ease;
  83. @media screen and (max-width: 1024px) {
  84. position: absolute;
  85. left: 50%;
  86. width: 100%;
  87. transform: translateX(-50%);
  88. }
  89. }
  90. p {
  91. transition-delay: 500ms;
  92. }
  93. button {
  94. transition-delay: 1000ms;
  95. }
  96. &.hide {
  97. h3,
  98. p,
  99. button {
  100. left: 10%;
  101. opacity: 0;
  102. }
  103. }
  104. }
  105. button {
  106. border: none;
  107. background-color: $blue;
  108. color: white;
  109. padding: 20px 30px;
  110. outline: none;
  111. font-size: $paragraph_size;
  112. cursor: pointer;
  113. @media screen and (max-width: 1024px) {
  114. display: block;
  115. margin: 0 auto;
  116. margin-bottom: 40px;
  117. }
  118. .fas {
  119. padding-left: 12px;
  120. font-size: 14px;
  121. position: relative;
  122. left: 0;
  123. transition: left 500ms ease;
  124. }
  125. &:hover {
  126. .fas {
  127. left: 10px;
  128. }
  129. }
  130. }
  131. }
  132. #home,
  133. #about {
  134. position: relative;
  135. @media screen and (max-width: 1024px) {
  136. padding-top: 100px;
  137. }
  138. h3 {
  139. @media screen and (max-width: 1024px) {
  140. position: absolute;
  141. top: 35px;
  142. left: 50%;
  143. transform: translateX(-50%);
  144. width: 100%;
  145. }
  146. }
  147. }
  148. #about {
  149. background-color: $lightest_gray;
  150. display: block;
  151. margin-bottom: 225px;
  152. @media screen and (max-width: 1024px) {
  153. margin-bottom: 50px;
  154. }
  155. .wrapper {
  156. width: 85%;
  157. margin: 0 auto;
  158. display: flex;
  159. justify-content: space-around;
  160. @media screen and (max-width: 1024px) {
  161. flex-direction: column-reverse;
  162. padding-bottom: 30px;
  163. }
  164. a {
  165. display: inline-block;
  166. margin: 10px 0;
  167. button {
  168. color: white;
  169. padding: 10px 15px;
  170. background-color: $blue;
  171. border: none;
  172. font-size: 16px;
  173. cursor: pointer;
  174. outline: none;
  175. transition: background-color 500ms ease;
  176. &:hover {
  177. background-color: $dark_brown;
  178. }
  179. }
  180. }
  181. }
  182. figure {
  183. width: 35%;
  184. position: relative;
  185. left: 6%;
  186. opacity: 0;
  187. transition: left 1000ms ease, opacity 1000ms ease;
  188. &.show {
  189. left: 0;
  190. opacity: 1;
  191. }
  192. @media screen and (max-width: 1024px) {
  193. width: 100%;
  194. display: block;
  195. margin: 0 auto;
  196. }
  197. img {
  198. transform: scale(1.3);
  199. top: 25%;
  200. position: relative;
  201. width: 100%;
  202. @media screen and (max-width: 1024px) {
  203. transform: scale(1);
  204. }
  205. }
  206. }
  207. .description {
  208. opacity: 0;
  209. transition: opacity 1000ms ease;
  210. width: 55%;
  211. @media screen and (max-width: 1024px) {
  212. width: 100%;
  213. }
  214. &.show {
  215. opacity: 1;
  216. }
  217. }
  218. p {
  219. padding: 14px 0;
  220. &:nth-of-type(1) {
  221. font-style: italic;
  222. font-weight: bold;
  223. color: black;
  224. }
  225. }
  226. }
  227. #service {
  228. display: block;
  229. h3 {
  230. text-align: center;
  231. }
  232. p {
  233. width: 50%;
  234. margin: 0 auto;
  235. text-align: center;
  236. padding: 20px 0 40px;
  237. line-height: 1.8;
  238. @media screen and (max-width: 1024px) {
  239. width: 90%;
  240. }
  241. }
  242. .owl-service {
  243. width: 82%;
  244. margin: 0 auto;
  245. display: block;
  246. @media screen and (max-width: 1024px) {
  247. width: 100%;
  248. }
  249. li {
  250. list-style: none;
  251. background-color: $lightest_gray;
  252. width: 90%;
  253. margin: 0 auto;
  254. .inner-contents {
  255. padding-top: 20px;
  256. img {
  257. width: 50px;
  258. height: 50px;
  259. display: block;
  260. margin: 0 auto;
  261. padding-top: 20px;
  262. }
  263. p {
  264. width: 90%;
  265. margin: 0 auto;
  266. font-size: 14px;
  267. }
  268. .title {
  269. text-align: center;
  270. padding-top: 20px;
  271. color: $dark_brown;
  272. font-size: $other_size;
  273. font-weight: bold;
  274. }
  275. }
  276. }
  277. }
  278. .service-carousel-btn {
  279. margin: 20px auto;
  280. text-align: center;
  281. padding: 20px 0;
  282. i {
  283. font-size: 16px;
  284. padding: 0 10px;
  285. color: $blue;
  286. cursor: pointer;
  287. }
  288. }
  289. }
  290. #branches {
  291. background-color: $lightest_gray;
  292. padding: 20px 0;
  293. h3 {
  294. text-align: center;
  295. padding: 20px 0;
  296. }
  297. p {
  298. text-align: center;
  299. width: 50%;
  300. margin: 0 auto;
  301. @media screen and (max-width: 1024px) {
  302. width: 90%;
  303. }
  304. }
  305. .owl-branches {
  306. width: 80%;
  307. margin: 0 auto;
  308. height: 55vh;
  309. @media screen and (max-width: 1024px) {
  310. width: 100%;
  311. }
  312. .owl-item-branches {
  313. width: 97%;
  314. background-color: white;
  315. margin: 50px 0;
  316. @media screen and (max-width: 1024px) {
  317. width: 90%;
  318. margin: 50px auto;
  319. }
  320. figure {
  321. width: 100%;
  322. height: 90%;
  323. img {
  324. width: 100%;
  325. height: 100%;
  326. object-fit: cover;
  327. }
  328. }
  329. .description {
  330. margin: 0 20px;
  331. padding: 10px 0;
  332. .person-name,
  333. .person-info {
  334. font-size: $other_size;
  335. font-weight: bold;
  336. }
  337. .person-info {
  338. padding: 2px 0;
  339. color: $dark_gray;
  340. }
  341. .person-name {
  342. color: $blue;
  343. }
  344. }
  345. }
  346. }
  347. .branches-carousel-btn {
  348. text-align: center;
  349. padding-bottom: 30px;
  350. position: relative;
  351. z-index: 2;
  352. i {
  353. padding: 10px;
  354. background-color: $light_gray;
  355. color: $brown;
  356. margin: 0 0 0 12px;
  357. cursor: pointer;
  358. @media screen and (max-width: 1024px) {
  359. margin: 50px 0 0 12px;
  360. }
  361. }
  362. }
  363. }
  364. #enquiry {
  365. background: linear-gradient($blue, $dark_blue);
  366. h3 {
  367. text-align: center;
  368. color: white;
  369. padding: 60px 0 30px;
  370. }
  371. p {
  372. width: 50%;
  373. margin: 0 auto;
  374. text-align: center;
  375. color: $white_shade;
  376. line-height: 1.8;
  377. @media screen and (max-width: 1024px) {
  378. width: 90%;
  379. }
  380. }
  381. form {
  382. fieldset {
  383. border: none;
  384. width: 35%;
  385. margin: 0 auto;
  386. padding: 30px 0;
  387. @media screen and (max-width: 1024px) {
  388. width: 90%;
  389. }
  390. input {
  391. background-color: transparent;
  392. border: 2px solid white;
  393. padding: 8px 18px;
  394. clear: both;
  395. width: 48%;
  396. margin: 10px 0;
  397. &:nth-child(even) {
  398. float: right;
  399. }
  400. }
  401. ::-webkit-input-placeholder {
  402. color: $white_shade;
  403. @media screen and (max-width: 1024px) {
  404. padding-left: 13px;
  405. }
  406. }
  407. ::-moz-placeholder {
  408. color: $white_shade;
  409. @media screen and (max-width: 1024px) {
  410. padding-left: 13px;
  411. }
  412. }
  413. :-ms-input-placeholder {
  414. color: $white_shade;
  415. @media screen and (max-width: 1024px) {
  416. padding-left: 13px;
  417. }
  418. }
  419. :-moz-placeholder {
  420. color: $white_shade;
  421. @media screen and (max-width: 1024px) {
  422. padding-left: 13px;
  423. }
  424. }
  425. textarea {
  426. background-color: transparent;
  427. border: 2px solid white;
  428. width: 100%;
  429. padding: 8px;
  430. font-family: open-sans;
  431. }
  432. button {
  433. display: block;
  434. margin: 20px auto;
  435. padding: 8px 18px;
  436. width: 40%;
  437. background-color: transparent;
  438. border: none;
  439. border: 2px solid white;
  440. color: white;
  441. font-size: $other_size;
  442. }
  443. }
  444. }
  445. }
  446. #contact {
  447. padding: 30px 0;
  448. h3 {
  449. text-align: center;
  450. padding: 10px 0 20px;
  451. }
  452. p {
  453. width: 50%;
  454. margin: 0 auto;
  455. text-align: center;
  456. line-height: 1.8;
  457. @media screen and (max-width: 1024px) {
  458. width: 90%;
  459. }
  460. }
  461. .inner-container {
  462. display: flex;
  463. width: 80%;
  464. margin: 40px auto;
  465. padding: 20px 0;
  466. justify-content: space-between;
  467. @media screen and (max-width: 1024px) {
  468. flex-direction: column;
  469. width: 90%;
  470. }
  471. figure {
  472. width: 60%;
  473. @media screen and (max-width: 1024px) {
  474. width: 100%;
  475. }
  476. }
  477. .description-container {
  478. width: 30%;
  479. @media screen and (max-width: 1024px) {
  480. width: 100%;
  481. }
  482. li {
  483. display: flex;
  484. justify-content: space-evenly;
  485. padding: 15px 0;
  486. address {
  487. font-size: $paragraph_size;
  488. color: $brown;
  489. font-family: open-sans;
  490. font-style: normal;
  491. line-height: 1.8;
  492. }
  493. label {
  494. color: $brown;
  495. font-weight: bold;
  496. font-size: $paragraph_size;
  497. }
  498. address,
  499. .contact-content {
  500. width: 70%;
  501. }
  502. .contact-content {
  503. display: flex;
  504. font-size: $paragraph_size;
  505. li {
  506. color: $brown;
  507. padding: 0 15px 0 0;
  508. i {
  509. font-size: 18px;
  510. }
  511. }
  512. }
  513. }
  514. }
  515. }
  516. }