style.scss 15 KB

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