style.scss 17 KB

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