style.scss 17 KB

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