style.scss 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625
  1. * {
  2. font-family: 微軟正黑體;
  3. }
  4. $Font-color: #fff;
  5. $title-color: #4b515e;
  6. $toggle: #9c857b;
  7. $process: #6f645a;
  8. @font-face {
  9. font-family: 追奇手寫體;
  10. src: url(./drechifont-proportional.ttf);
  11. font-weight: 900;
  12. }
  13. $destop: 1025px;
  14. body {
  15. height: 5000px;
  16. width: 100vw;
  17. .btn {
  18. width: 96vw;
  19. margin: 0 auto;
  20. .btn-main {
  21. box-shadow: 0 10px 9px rgba(0, 0, 0, 0.5);
  22. border: none;
  23. padding: 15px;
  24. background: rgb(64, 72, 84);
  25. color: $Font-color;
  26. font-size: 16px;
  27. font-weight: 600;
  28. width: 280px;
  29. border-radius: 30px;
  30. transition: 0.3s;
  31. &:hover {
  32. background-color: $toggle;
  33. width: 285px;
  34. font-size: 17px;
  35. }
  36. }
  37. }
  38. .title {
  39. font-weight: bolder;
  40. font-family: "Times New Roman", Times, serif;
  41. padding: 15px;
  42. font-size: 45px;
  43. color: $title-color;
  44. padding-left: 10vw;
  45. }
  46. .arrow {
  47. position: fixed;
  48. right: 30px;
  49. bottom: 30px;
  50. width: 30px;
  51. z-index: 10;
  52. }
  53. }
  54. // banner
  55. .banner {
  56. width: 100vw;
  57. position: relative;
  58. #text {
  59. text-align: center;
  60. .banner-slider {
  61. margin: 0 !important;
  62. padding: 0 !important;
  63. .banner1,
  64. .banner2,
  65. .banner3 {
  66. height: 100vh;
  67. background-size: cover;
  68. background-repeat: no-repeat;
  69. background-position: center;
  70. padding-right:0 !important;
  71. }
  72. .banner1 {
  73. background-image: url(./img/banner/00.webp);
  74. }
  75. .banner2 {
  76. background-image: url(./img/banner/002.webp);
  77. }
  78. .banner3 {
  79. background-image: url(./img/banner/003.webp);
  80. }
  81. }
  82. h1 {
  83. padding: 15px;
  84. color: $Font-color;
  85. font-family: 追奇手寫體;
  86. font-size: 72px;
  87. }
  88. .btn-main {
  89. box-shadow: 0 10px 9px rgba(0, 0, 0, 0.5);
  90. border: none;
  91. padding: 15px;
  92. background: rgb(64, 72, 84);
  93. color: $Font-color;
  94. font-size: 16px;
  95. font-weight: 600;
  96. width: 280px;
  97. border-radius: 30px;
  98. transition: 0.3s;
  99. &:hover {
  100. background-color: #9c857b;
  101. width: 285px;
  102. font-size: 17px;
  103. }
  104. }
  105. }
  106. .Navigation {
  107. width: 90vw;
  108. position: absolute;
  109. margin: 0 auto;
  110. top: 20px;
  111. z-index: 5;
  112. display: grid;
  113. grid-template-columns: 2fr 4fr;
  114. .logo {
  115. padding-top: 1.5vw;
  116. padding-left: 12vw;
  117. img {
  118. width: 120px;
  119. }
  120. }
  121. .link {
  122. text-align: right;
  123. padding: 30px;
  124. // padding-right: 150px;
  125. a {
  126. display: inline-block;
  127. text-decoration: none;
  128. color: $Font-color;
  129. // padding-right: 35px;
  130. letter-spacing: 1px;
  131. font-size: 0.9rem;
  132. font-weight: 600;
  133. cursor: pointer;
  134. padding: 15px;
  135. position: relative;
  136. :hover {
  137. opacity: 0.8;
  138. }
  139. &:after {
  140. content: "";
  141. display: block;
  142. width: 80%;
  143. height: 3px;
  144. background-color: #fff;
  145. position: absolute;
  146. left: 12%;
  147. bottom: 0;
  148. transition: all 0.3s;
  149. opacity:0;
  150. }
  151. &:hover:after {
  152. width: 80%;
  153. opacity: 1;
  154. }
  155. }
  156. }
  157. }
  158. hr {
  159. width: 85vw;
  160. position: absolute;
  161. top: 90px;
  162. left: 100px;
  163. height: 1px;
  164. z-index: 5;
  165. }
  166. }
  167. // content1
  168. #content1 {
  169. display: grid;
  170. grid-template-columns: 1fr 1fr;
  171. margin: 0 auto;
  172. padding-top: 150px;
  173. width: 90vw;
  174. position: relative;
  175. grid-gap: 30px;
  176. .hr2 {
  177. position: absolute;
  178. width: 32vw;
  179. height: 1px !important;
  180. left: 5vw;
  181. }
  182. .content1-left {
  183. width: 45vw;
  184. text-align: left;
  185. margin: 0px auto;
  186. padding-right: 50px;
  187. .contant-toggle {
  188. color: $toggle !important;
  189. }
  190. .contant-toggle2 {
  191. color: $title-color !important;
  192. }
  193. .title {
  194. margin: 0;
  195. padding: 10px;
  196. margin-bottom: 50px;
  197. font-weight: 900;
  198. font-size: 45px;
  199. font-family: "Times New Roman", Times, serif;
  200. color: $title-color;
  201. padding-left: 5vw;
  202. }
  203. .left {
  204. display: grid;
  205. grid-template-columns: 1.5fr 3fr;
  206. width: 37vw;
  207. .title1 {
  208. text-align: center;
  209. font-size: 90px;
  210. font-weight: 400;
  211. font-family: "Times New Roman", Times, serif;
  212. color: #8593a4;
  213. padding-left: 3vw;
  214. }
  215. .text1,
  216. .text2,
  217. .text3 {
  218. cursor: pointer;
  219. margin: auto 0;
  220. .text-1,
  221. .text-2,
  222. .text-3 {
  223. font-size: 23px;
  224. font-weight: bolder;
  225. color: $title-color;
  226. }
  227. }
  228. }
  229. }
  230. .content1-right {
  231. width: 35vw;
  232. text-align: center;
  233. .slick-dots {
  234. margin-bottom: 50px;
  235. ::before {
  236. color: #fff;
  237. }
  238. }
  239. img {
  240. width: 35vw;
  241. height: 40vw;
  242. object-fit: cover;
  243. }
  244. }
  245. }
  246. // service
  247. #service {
  248. width: 100vw;
  249. h1 {
  250. padding: 15px;
  251. padding-left: 10vw;
  252. margin-bottom: 80px;
  253. padding-top: 5vw;
  254. }
  255. .service-box {
  256. width: 80vw;
  257. margin: 0 auto;
  258. #service-text {
  259. display: grid;
  260. grid-template-columns: 1fr 1fr;
  261. margin: 3vw auto;
  262. width: 70vw;
  263. #text-left,
  264. #text-right {
  265. width: 30vw;
  266. text-align: left;
  267. display: grid;
  268. grid-template-columns: 1fr 1fr;
  269. .img-icon {
  270. width: 12vw;
  271. }
  272. }
  273. #text-right {
  274. padding-left: 1vw;
  275. }
  276. .icon-text {
  277. width: 25vw;
  278. margin-top: 15px;
  279. font-weight: 600;
  280. }
  281. img {
  282. width: 128px;
  283. height: 128px;
  284. // filter: invert(69%) sepia(15%) saturate(301%) hue-rotate(175deg) brightness(90%) contrast(85%);
  285. }
  286. .text-p {
  287. font-size: 18px;
  288. color: $title-color;
  289. }
  290. }
  291. #service-img {
  292. width: 75vw;
  293. display: grid;
  294. grid-template-columns: 1fr 1fr;
  295. grid-gap: 10px;
  296. img {
  297. width: 38vw;
  298. object-fit: cover;
  299. }
  300. }
  301. }
  302. .btn {
  303. text-align: center;
  304. margin-bottom: 100px;
  305. margin-top: 50px;
  306. }
  307. }
  308. // service-process
  309. #service-process {
  310. width: 100vw;
  311. background-color: #f7f7f7;
  312. padding-bottom: 150px;
  313. h1 {
  314. padding: 15px;
  315. margin-left: 10vw;
  316. padding-top: 100px;
  317. margin-bottom: 80px;
  318. }
  319. #process-box {
  320. display: grid;
  321. grid-template-columns: repeat(6, 1fr);
  322. width: 78vw;
  323. margin: auto;
  324. .box-text {
  325. font-family: 微軟正黑體;
  326. text-align: center;
  327. font-size: 18px;
  328. font-weight: 900;
  329. padding-right: 3vw;
  330. color: $process;
  331. }
  332. img {
  333. width: 180px;
  334. height: 180px;
  335. filter: invert(42%) sepia(12%) saturate(490%) hue-rotate(347deg) brightness(89%) contrast(86%);
  336. }
  337. }
  338. }
  339. // feedback
  340. #feedback {
  341. width: 100vw;
  342. padding-bottom: 200px;
  343. h1 {
  344. margin-top: 50px;
  345. margin-bottom: 50px;
  346. }
  347. #feedback-box {
  348. width: 80vw;
  349. margin: 0 auto;
  350. display: grid;
  351. grid-template-columns: repeat(3, 1fr);
  352. .box {
  353. width: 25vw;
  354. transition: 0.5s;
  355. text-align: center;
  356. padding-bottom: 1vw;
  357. img {
  358. width: 25vw;
  359. margin: 0 auto;
  360. object-fit: cover;
  361. transition: 0.5s;
  362. // &:hover {
  363. // width: 400px;
  364. // height: 200px;
  365. // }
  366. }
  367. p {
  368. text-align: center;
  369. font-size: 18px;
  370. font-weight: 600;
  371. margin: 10px;
  372. }
  373. }
  374. }
  375. }
  376. #contact-us {
  377. margin: 0 auto;
  378. width: 100vw;
  379. background: #eee;
  380. position: relative;
  381. hr {
  382. position: absolute;
  383. width: 500px;
  384. transform: rotate(90deg);
  385. top: 80vh;
  386. left: 33vw;
  387. }
  388. .contact-text {
  389. margin: 0 auto;
  390. width: 68vw;
  391. .text-p {
  392. font-size: 16px;
  393. font-weight: 600;
  394. }
  395. }
  396. .form-title {
  397. width: 70vw;
  398. margin: 0 auto;
  399. padding-top: 100px;
  400. margin-bottom: 120px;
  401. color: #5c5248;
  402. h1 {
  403. text-align: center;
  404. font-size: 32px;
  405. font-weight: 900;
  406. }
  407. }
  408. #contact-form {
  409. width: 75vw;
  410. display: grid;
  411. grid-template-columns: repeat(2, 1fr);
  412. margin-top: 10px;
  413. margin: 0 auto;
  414. #location,
  415. #type,
  416. #modal,
  417. #budget,
  418. #square,
  419. #style,
  420. #date,
  421. #email,
  422. #name,
  423. #phone,
  424. #gender {
  425. width: 100%;
  426. height: 50px;
  427. margin: 10px 0;
  428. padding-left: 10px;
  429. border: 1px solid rgba(0, 0, 0, 0.3);
  430. padding: 10px 15px;
  431. font-size: 16px;
  432. border-radius: 3px;
  433. appearance: none;
  434. background: url(./img/icondown.webp) 95% 50% no-repeat scroll transparent;
  435. background-size: 10px 10px;
  436. background-color: #fff;
  437. }
  438. #form-left {
  439. width: 28vw;
  440. margin-left: 3vw;
  441. #rooms,
  442. #livingroom,
  443. #bathroom {
  444. width: 28.5%;
  445. border: 1px solid rgba(0, 0, 0, 0.3);
  446. height: 50px;
  447. margin: 15px 0;
  448. padding-right: 50px;
  449. padding: 10px 15px;
  450. font-size: 16px;
  451. border-radius: 3px;
  452. appearance: none;
  453. background: url(./img/icondown.webp) 85% 50% no-repeat scroll transparent;
  454. background-size: 10px 10px;
  455. background-color: #fff;
  456. }
  457. #square,
  458. #date{
  459. background:none;
  460. background-color: #fff;
  461. }
  462. }
  463. #form-right {
  464. width: 29vw;
  465. margin-left: 5vw;
  466. #facebook {
  467. margin-top: 12px;
  468. width: 29vw;
  469. height: 50px;
  470. border: 1px solid #000093;
  471. text-align: right;
  472. padding-right: 50px;
  473. line-height: 50px;
  474. // background: url(./img/facebook.png) 10% 50% no-repeat scroll transparent;
  475. // background-size: 32px 32px;
  476. background-color: #fff;
  477. transition: 0.3s;
  478. position: relative;
  479. img {
  480. position: absolute;
  481. left: 50px;
  482. top: 7px;
  483. width: 32px;
  484. height: 32px;
  485. }
  486. &:hover {
  487. background-color: #2a4f91;
  488. color: #fff;
  489. img {
  490. filter: invert(100%) sepia(100%) saturate(19%) hue-rotate(334deg) brightness(106%)
  491. contrast(106%);
  492. }
  493. }
  494. }
  495. a {
  496. text-decoration: none;
  497. color: #ee751b;
  498. font-weight:900;
  499. }
  500. #checkbox {
  501. margin: 15px;
  502. }
  503. #email,
  504. #name,
  505. #phone{
  506. background: none;
  507. background-color: #fff;
  508. }
  509. }
  510. }
  511. .btn {
  512. margin: 50px auto;
  513. border: none;
  514. padding: 15px;
  515. background: #edbc96;
  516. color: #4b515e;
  517. font-size: 20px;
  518. width: 450px;
  519. border-radius: 10px;
  520. &:hover {
  521. color: #fff;
  522. background-color: #745c54;
  523. }
  524. }
  525. .form-btn {
  526. text-align: center;
  527. position: relative;
  528. width: 75vw;
  529. margin: 0 auto;
  530. #phone {
  531. position: absolute;
  532. left: 500px;
  533. }
  534. }
  535. }
  536. #footer {
  537. width: 100vw;
  538. background-color: #ebe6e2;
  539. color: #9f5000;
  540. text-align: center;
  541. font-size: 18px;
  542. line-height: 130px;
  543. a {
  544. text-decoration: none;
  545. color: #9f5000;
  546. }
  547. p {
  548. display: inline;
  549. }
  550. }
  551. .animation-h1 {
  552. animation-name: fade;
  553. animation-duration: 1s;
  554. animation-fill-mode: forwards;
  555. animation-delay: 0.5s;
  556. opacity: 0;
  557. @keyframes fade {
  558. from {
  559. transform: translateY(0px);
  560. }
  561. to {
  562. transform: translateY(20px);
  563. opacity: 1;
  564. }
  565. }
  566. }
  567. .animation-btn {
  568. animation-name: fade2;
  569. animation-duration: 1s;
  570. animation-fill-mode: forwards;
  571. animation-delay: 1s;
  572. opacity: 0;
  573. @keyframes fade2 {
  574. from {
  575. transform: translateY(0px);
  576. }
  577. to {
  578. transform: translateY(-10px);
  579. opacity: 1;
  580. }
  581. }
  582. }