BCB Bank static website
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

655 lines
9.0 KiB

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